-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it HTTP or not? #27
Comments
That's a really good question. I had not considered anything besides HTTP when I wrote the paper, since it was based on things I was seeing in HTTP-related applications. However, I can see where it might be reasonable to say that ADR applies to client/server interactions, where a client sends a bundle/batch/package/collection of "request" information, and the server sends back a bundle/batch/package/collection of "response" information. Does that help to answer your question? |
Hi here, I try to zoom out from your interesting proposition (as @sagikazarmark does with HTTP that's why I write here) and I think you aim to find the right way to organize anything with a Request/Response structure. If I understand correctly, MVC is adapted to persistent logic : turn ON -> use it -> turn OFF. Times involved are generaly at human scale, like a desktop application, a video game, a football match, ... If yes, so is your ADR good enough to organize any R/R behavior, like... SQL ? So in fine, can my cool ADR-website, polled by HTTP, poll my brand new ADR-database-FW by SQL ? Maybe I zoomed-out too much, BUT I feel like I need to give those thoughts to you. |
Hey @pmjones,
ADR is quite impressive, congratulations.
I especially liked the part which tries to compare ADR to other patterns.
One question came to my mind (and I am not a regular reddit reader, so I ask it here): ADR is web specific (replacement/refinement, whatever MVC). Does this also mean the responder (and routing BTW) should be HTTP specific?
Most MVC frameworks out there have HTTP specific foundation, which is fine, but in some cases it would be better to say Requests and Responses have nothing to do with HTTP. They CAN be from/sent to HTTP, but for internal requests, console requests HTTP makes no sense.
So my question: is ADR bound to HTTP?
Thanks in advance.
The text was updated successfully, but these errors were encountered: