PHP Request/Response Model
Posted: Tue Nov 07, 2006 1:18 pm
i cannot find a decent tutorial and i am pretty sure i know what it is. i have one currently but imo nothing is every good enough so i decided to look around and i can't find diddly
a Request/Response Model would be something that grabs whatever the user just did and responds to it. so (client) Request -> (system) Response. now, i have an HTTP class that handles POST/GET. i planned to change it some more once i finish my forms generator/validator class. i planned to have that as part of my R/R Model as well
i'm ramblining. i guess i'm just looking for is to learn more about Request/Response Models and how they can relate to a framework (controller -> handler). also, i learned about AJAX awhile back and that it's an asynchronous system that does things behind the scenes so i don't have to refresh. as i understand it at least. i like this and would like to impliment it if i can.
___________
i'm thinking AJAX will handle this but is there a way to do this without AJAX. that is my first question. and secondly are there any libraries that handle it that can do it with PHP, have decent tutorials and licences are commercial free. that second one is a must. i don't mind re-writing it down the line but for right now to show off i want that licence.
thank you for your help
a Request/Response Model would be something that grabs whatever the user just did and responds to it. so (client) Request -> (system) Response. now, i have an HTTP class that handles POST/GET. i planned to change it some more once i finish my forms generator/validator class. i planned to have that as part of my R/R Model as well
i'm ramblining. i guess i'm just looking for is to learn more about Request/Response Models and how they can relate to a framework (controller -> handler). also, i learned about AJAX awhile back and that it's an asynchronous system that does things behind the scenes so i don't have to refresh. as i understand it at least. i like this and would like to impliment it if i can.
___________
i'm thinking AJAX will handle this but is there a way to do this without AJAX. that is my first question. and secondly are there any libraries that handle it that can do it with PHP, have decent tutorials and licences are commercial free. that second one is a must. i don't mind re-writing it down the line but for right now to show off i want that licence.
thank you for your help