php and
administrator/index.php entry points respectively. When we create extensions
for Joomla!, we must never create any new entry points. By using the normal entry
points, we are guaranteeing that we are not circumventing any security or other
important procedures.
The Process
To help describe the way in which the frontend entry points process a request, we
use a series of flow charts. The processes involving the backend are very similar.
The first flow chart describes the overall process at a high level in seven generic
steps. The following six flow charts describe the first six of these generic steps in
detail. We do not look at the seventh step in detail because it is relatively simple and
the framework handles it entirely.
Chapter 2
[ 19 ]
Receive Frontend Request Load Core Build Application
Overall process as handled
by index.php
Loads required framework and
application class
Builds the application
JSite object
Getting Started
[ 20 ]
Initialize Application Route Application
Prepares the application Determines application route
Chapter 2
[ 21 ]
Dispatch Application Render Application
Executes the determined route through
a component
Renders the application (exact rendering
process depends on the document type)
Getting Started
[ 22 ]
URI Structure
During Joomla! installation, we send URIs (Uniform Resource Indicators) packed full
of useful query data.
Pages:
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41