SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 27 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

It describes
the process from request to response. We touch lightly on some of the coding aspects
and explain how to use some of the more common Joomla! elements.
The Application and Document
The application is a global object used to process a request. The two application
classes that we are interested in are JSite and JAdministrator. Joomla! uses JSite and
JAdministrator to process frontend and backend requests respectively. Application
classes extend the abstract base class JApplication; much of the functionality of JSite
and JAdministrator is the same.
The document is a global object used to buffer a response. There are a number of
different documents: HTML, PDF, RAW, feed, and error. The HTML document uses
the site templates and renders an XHTML page. The PDF document renders content
in as a PDF file. The RAW document enables components to output RAW data with
no extra formatting. The feed document is used to render news feeds. The error
document renders the error templates.
When we output data in our extensions, it is added to the document.


Pages:
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39