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.
Next revision | Previous revision | ||
it:manuale-1.1:principles [2010/02/15 16:19] – created aiacoponi | it:manuale-1.1:principles [2010/02/15 16:55] (current) – aiacoponi | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~LANG: | ~~LANG: | ||
- | Here are some explanations on how the framework | + | In questo paragrafo viene spiegato il funzionamento del framework |
+ | 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' | ||
+ | {{http:// | ||
- | ===== Executions steps ===== | + | - Il server web riceve una richiesta HTTP |
- | + | * se non diversamente specificato nell' | |
- | {{http:// | + | * questo script crea una istanza dell' |
+ | * l' | ||
+ | * in particolare @@C@jRequest@@ determina il nome dell' | ||
- | - 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 |