Quick links: Content - sections - sub sections
EN FR

Trace: jevent 1.4.x 1.1.x 1.2.x 1.1.x 1.0 application-creation hall-of-fame hall-of-fame 1.2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
it:manuale-1.1:principles [2010/02/15 16:19] – created aiacoponiit:manuale-1.1:principles [2010/02/15 16:55] (current) aiacoponi
Line 1: Line 1:
 ~~LANG:FR@fr:manuel-1.1:principes~~ ~~LANG:FR@fr:manuel-1.1:principes~~
  
-Here are some explanations on how the framework can work and on the main objects that you will have to use.+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.
  
-The framework is based on this principle: each url is corresponding to an action. 
  
 +===== Passaggi dell'esecuzione =====
  
 +{{http://jelix.org/images/schema_logic.png}}
  
-===== Executions steps ===== +  - Il server web riceve una richiesta HTTP 
- +    * se non diversamente specificato nell'URL della richiesta, viene eseguito lo script @@F@index.php@@. 
-{{http://jelix.org/images/schema_logic.png}}+    * questo script crea una istanza dell'oggetto @@C@jRequest@@ e del coordinatore @@C@jCoordinator@@ 
 +    * l'oggetto @@C@jRequest@@ analizza il contenuto della richiesta HTTP ed estrae le informazioni da essaTra queste ci sono, ad esempio, l'URL da richiamare ed i dati inviati con il metodo POST.  
 +    * in particolare @@C@jRequest@@ determina il nome dell'azione da eseguire ed il modulo in cui essa si trova.
  
-  - The web server receives an HTTP request 
-    * The entry point is executed by the server when a url indicates it. It's @@F@index.php@@ by default. 
-    * This script instantiates a @@C@jRequest@@ object and a @@C@jCoordinator@@ coordinator. 
-    * The @@C@jRequest@@ object then analyzes the content of the http request to be able to extract data from it. These data can be in the url and/or in the body of the request (POST method for example).  
-    * In particular @@C@jRequest@@ determines the name of the action to be executed and the name of the concerned module. 
   - The action parameter contains the controller name and the method to be executed. This controller is thus instanciated and the method executed. The method retrieves request parameters in order to know what to do.   - The action parameter contains the controller name and the method to be executed. This controller is thus instanciated and the method executed. The method retrieves request parameters in order to know what to do.
   - the method executes business processes, et retrieves eventually some results which will be used for the response   - the method executes business processes, et retrieves eventually some results which will be used for the response

it/manuale-1.1/principles.1266250747.txt.gz · Last modified: 2010/02/15 16:19 by aiacoponi

Recent changes RSS feed Creative Commons License