Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:features [2008/12/22 17:24] – goofy | en:features [2008/12/22 17:29] – goofy |
---|
{{http://jelix.org/images/schema_logic.png}} | {{http://jelix.org/images/schema_logic.png}} |
| |
- an HTTP request calls Jelix. Jelix creates an instance of a jRequest object which contains datas of the request. It then create an instance of your controller which corresponds to the asked action. | - An HTTP request calls Jelix. Jelix creates an instance of a jRequest object which contains datas of the request. It then creates an instance of your controller which corresponds to the asked action. |
- A method in the controller is executed. It retrieves request parameters in order to know which process to run. | - A method in the controller is executed. It retrieves request parameters in order to know which process to run. |
- Then the method execute business processes and retrieves eventually some results which will be used for the response | - Then the method executes business processes and retrieves eventually some results which will be used for the response |
- The method of the controller create an instance of a jResponse object which is setup with datas or else (initialization of templates etc..). | - The method of the controller creates an instance of a jResponse object which is setup with data or anything else (initialization of templates etc..). |
- Jelix gets this jResponse object, launch the generation of the final document (html page, pdf..) and then sends it to the browser. | - Jelix gets this jResponse object, launches the generation of the final document (html page, pdf..) and then sends it to the browser. |
| |
| |
====== Your first application ====== | ====== Your first application ====== |
Read the [[en:tutorials:minitutorial|mini tutorial]] | Read the [[en:tutorials:minitutorial|mini tutorial]] |