Overview
The Application package includes libraries that are closely tied with the main application object. The main classes of the application package are listed below.
 Joomla Framework Application Package
JApplicationThis class represents the Joomla application and is implemented as a factory class providing all application held objects. The front-end JSite class, the admin JAdministrator class and the installation program JInstallation class all extend the JApplication class. The class contains instances of: the registry (application persistent store); language object; session object; user object; pathway object; and the base URL (which is now derived and not in persistent store). JEventDispatcherThis is the Joomla! event dispatcher class. It implements the Observable and Singleton design patterns. It registers event handlers and triggers events. JPathWay Instances of this class manage pathways (BreadCrumbs). Environment Folder JBrowser Browser class, provides capability information about the current web client. Browser identification is performed by examining the HTTP_USER_AGENT environment variable provided by the web server. JRequest This class serves to provide the Joomla Framework with a common interface to access request variables. This includes $_POST, $_GET, and naturally $_REQUEST. Variables can be passed through an input filter to avoid injection or returned raw. JSession Static class for managing HTTP sessions. It provides access to session-state values as well as session-level settings and lifetime management methods. Based on the standard PHP session handling mechanism, it provides many more advanced features such as database container, idle and expire timeouts, etc. JURI This class serves two purposes. First to parse a URI and provide a common interface for the Joomla Framework to access and manipulate a URI. Second to attain the URI of the current executing script from the server regardless of server. The class is a Singlton. Extension Folder JModuleHelper Instances of this class hold data on available modules JPlugin Instances of this class hold data on available plugins JPluginHelper Instances of this class hold data on available plugins User Folder JAuthenticate This is the authorization class and it provides an interface for the Joomla authentication system. This is a singleton class. The login and logout functionality are included. JAuthorizationThe class that handles all access authorization. JUser This class handles all application interaction with a user. The class is a singleton.
|