In questo paragrafo viene spiegato il funzionamento del framework ed i principali oggetti che avrete occasione di utilizzare. Il framework è basato sul principio che ad ogni azione corrisponda un URL.
index.php.jRequest e del coordinatore jCoordinatorjRequest analizza il contenuto della richiesta HTTP ed estrae le informazioni da essa. Tra queste ci sono, ad esempio, l'URL da richiamare ed i dati inviati con il metodo POST. jRequest determina il nome dell'azione da eseguire ed il modulo in cui essa si trova.jResponse object which is setup with data or else (initialization of templates etc..).jResponse object, launch the generation of the final document (html page, pdf..) and then send it to the browser.
In general, you won't have to use a jRequest or jCoordinator object.
On the other hand, you will have to create a jController object to include the code of an action to it. This object proposes methods to get parameters extracted by jRequest, but also to get a jResponse object. You thus will have to handle this jResponse object to specify the data to send to the browser, in the code of the action, in addition to handling the “business” objects.
Let's see now a description of each object of the core.