Click here to Skip to main content
15,890,336 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: plugin Pin
Albert Holguin8-Oct-13 7:44
professionalAlbert Holguin8-Oct-13 7:44 
QuestionDesing Layer Pin
Mahdi_kishislan8-Sep-13 18:59
Mahdi_kishislan8-Sep-13 18:59 
AnswerRe: Desing Layer Pin
Eddy Vluggen9-Sep-13 3:00
professionalEddy Vluggen9-Sep-13 3:00 
QuestionBespoke webserver structure ? Pin
purplehorace5-Sep-13 23:40
purplehorace5-Sep-13 23:40 
AnswerRe: Bespoke webserver structure ? Pin
jschell6-Sep-13 8:48
jschell6-Sep-13 8:48 
GeneralRe: Bespoke webserver structure ? Pin
purplehorace6-Sep-13 9:14
purplehorace6-Sep-13 9:14 
GeneralRe: Bespoke webserver structure ? Pin
Keld Ølykke8-Sep-13 6:01
Keld Ølykke8-Sep-13 6:01 
GeneralRe: Bespoke webserver structure ? Pin
jschell8-Sep-13 8:13
jschell8-Sep-13 8:13 
purplehorace wrote:
Ok so I understand that it needs the normal 80 port to host the web/http requests and an additional port/socket to send/receive the data.


It only needs one port. It can be any port but 80 is the normal one.

purplehorace wrote:
I dont understand how the java side of things hook into the server


It doesn't have to be java and a C++ implementation would have much less overhead because the java VM by itself is not trivial where a bare bones http responder is.

But if you want to do java then...
1. Java app starts
2. It opens a TCP server socket (port 80), google for examples.
3. It does not 'do' anything associated with html directly because it doesn't need to. You can write a very minimal request parser and, as I already said, you return a http response that you have hard coded.


purplehorace wrote:
flow for the graphing ho


What "graphing"? That isn't a minimal process.

If you want to create an entire functioning http server then do so. You might look into tomcat. However that isn't going to be minimal.


purplehorace wrote:
I would like to make it so that the rendering of the graph is platform agnostic, so it can be rendered on an android device/OSX device/Windows


That however has nothing to do with achieving a minimalistic server. It has everything to do with what is in the html response. And you can do it either with the minimum version or with a full blown monster. Or fail with both as well if you don't be careful. And a minimalistic http response is more likely to actually work than attempting to put a bunch of enhancements in the response.
QuestionHow to organize folders Pin
theitmueller3-Sep-13 20:07
theitmueller3-Sep-13 20:07 
AnswerRe: How to organize folders Pin
Bernhard Hiller3-Sep-13 22:56
Bernhard Hiller3-Sep-13 22:56 
AnswerRe: How to organize folders Pin
Keld Ølykke8-Sep-13 5:51
Keld Ølykke8-Sep-13 5:51 
AnswerRe: How to organize folders Pin
jschell8-Sep-13 8:37
jschell8-Sep-13 8:37 
QuestionQuestions Regarding OOPs Pin
userBeginner27-Aug-13 4:14
userBeginner27-Aug-13 4:14 
AnswerRe: Questions Regarding OOPs Pin
NotPolitcallyCorrect27-Aug-13 4:41
NotPolitcallyCorrect27-Aug-13 4:41 
AnswerRe: Questions Regarding OOPs Pin
Richard MacCutchan27-Aug-13 4:51
mveRichard MacCutchan27-Aug-13 4:51 
GeneralRe: Questions Regarding OOPs Pin
BotCar27-Aug-13 21:19
BotCar27-Aug-13 21:19 
GeneralRe: Questions Regarding OOPs Pin
Richard MacCutchan27-Aug-13 21:50
mveRichard MacCutchan27-Aug-13 21:50 
GeneralRe: Questions Regarding OOPs Pin
BotCar27-Aug-13 21:58
BotCar27-Aug-13 21:58 
GeneralRe: Questions Regarding OOPs Pin
Albert Holguin8-Oct-13 7:46
professionalAlbert Holguin8-Oct-13 7:46 
Questionwebservices architectures Pin
topcatalpha26-Aug-13 3:53
topcatalpha26-Aug-13 3:53 
AnswerRe: webservices architectures Pin
Richard MacCutchan26-Aug-13 4:11
mveRichard MacCutchan26-Aug-13 4:11 
QuestionDon't want the DAL layer to be referenced in the UI or UT layer Pin
benndonwload23-Aug-13 5:01
benndonwload23-Aug-13 5:01 
AnswerRe: Don't want the DAL layer to be referenced in the UI or UT layer Pin
benndonwload23-Aug-13 11:27
benndonwload23-Aug-13 11:27 
AnswerRe: Don't want the DAL layer to be referenced in the UI or UT layer Pin
jschell23-Aug-13 13:30
jschell23-Aug-13 13:30 
GeneralRe: Don't want the DAL layer to be referenced in the UI or UT layer Pin
benndonwload23-Aug-13 18:06
benndonwload23-Aug-13 18:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.