Difference between revisions of "Framework (CMS 1.5 and 1.6)"
From Joomla! Documentation
(Added class list.) |
m (Added link for JDocumentXML) |
||
Line 103: | Line 103: | ||
* [[JDocumentPDF]] | * [[JDocumentPDF]] | ||
* [[JDocumentRaw]] | * [[JDocumentRaw]] | ||
+ | * [[JDocumentXML]] (1.6 onwards) | ||
+ | |||
===Environment=== | ===Environment=== | ||
* [[JBrowser]] | * [[JBrowser]] |
Revision as of 17:12, 1 November 2008
A software framework is a reusable design for a software system (or subsystem). This is expressed as a set of abstract classes and the way their instances collaborate for a specific type of software. Software frameworks can be object-oriented designs. Although designs don't have to be implemented in an object-oriented language, they usually are. A software framework may include support programs, code libraries[1], a scripting language[2], or other software to help develop and glue together the different components of a software project. Various parts of the framework may be exposed through an application programming interface (API).
- From Wikipedia
Joomla! Framework[edit]
Joomla! 1.5 is a three tiered system. The bottom tier is the framework level and consists of the libraries and plugins (formerly known as mambots). The second tier is the application level and consists of the JApplication class. Currently there are four[3] applications that ship with Joomla: JInstallation, JAdministrator and JSite. The application acts as the main controller for the page.
The third tier is the extension level. This level is where all component, module, and template logic is executed and rendered.
Application Constants[edit]
Each application type defines several constants:
JPATH_ROOT The path to the installed Joomla! site JPATH_SITE The path to the installed Joomla! site JPATH_CONFIGURATION The path to folder containing the configuration.php file JPATH_ADMINISTRATOR The path to the administrator folder JPATH_XMLRPC The path to the XML-RPC Web service folder JPATH_LIBRARIES The path to the libraries folder JPATH_PLUGINS The path to the plugins folder JPATH_INSTALLATION The path to the installation folder JPATH_THEMES The path to the templates folder JPATH_CACHE The path to the cache folder JPATH_COMPONENT The path to the current component being executed
These constants are defined in _path_/includes/defines.php
Packages and Classes[edit]
The classes in the Joomla! Framework are loosely grouped into several different packages.
Application[edit]
- JApplication
- JApplicationHelper
- JMenu
- JPathway
- JRouter
- JController
- JComponentHelper
- JModel
- JView
- JModuleHelper
Base[edit]
Cache[edit]
- JCache
- JCacheStorage
- JCacheCallback
- JCacheOutput
- JCachePage
- JCacheView
- JCacheStorageApc
- JCacheStorageEaccelerator
- JCacheStorageFile
- JCacheStorageMemcache
- JCacheStorageXCache
- JFTP
Client[edit]
Database[edit]
- JDatabase
- JRecordset
- JTable
- JDatabaseMySQL
- JDatabaseMySQLi
- JTableARO
- JTableAROGroup
- JTableCategory
- JTableComponent
- JTableContent
- JTableMenu
- JTableMenuTypes
- JTableModule
- JTablePlugin
- JTableSection
- JTableSession
- JTableUser
Document[edit]
- JDocument
- JDocumentRenderer
- JDocumentError
- JDocumentFeed
- JDocumentRendererAtom
- JDocumentRendererRSS
- JDocumentHTML
- JDocumentRendererComponent
- JDocumentRendererHead
- JDocumentRendererMessage
- JDocumentRendererModule
- JDocumentRendererModules
- JDocumentPDF
- JDocumentRaw
- JDocumentXML (1.6 onwards)
Environment[edit]
Error[edit]
Event[edit]
Filesystem[edit]
Filter[edit]
HTML[edit]
- JEditor
- JHTML
- JPagination
- JPane
- JParameter
- JToolBar
- JHTMLBehavior
- JHTMLContent
- JHTMLEmail
- JHTMLForm
- JHTMLGrid
- JHTMLImage
- JHTMLList
- JHTMLMenu
- JHTMLSelect
- JElement
- JElementCalendar
- JElementCategory
- JElementEditors
- JElementFileList
- JElementFolderList
- JElementHelpsites
- JElementHidden
- JElementImageList
- JElementLanguages
- JElementList
- JElementMenu
- JElementMenuItem
- JElementPassword
- JElementRadio
- JElementSection
- JElementSpacer
- JElementSQL
- JElementText
- JElementTextarea
- JElementTimezones
- JElementUserGroup
- JButton
- JButtonConfirm
- JButtonCustom
- JButtonHelp
- JButtonLink
- JButtonPopup
- JButtonSeparator
- JButtonStandard
Installer[edit]
- JInstallerHelper
- JInstaller
- JInstallerComponent
- JInstallerLanguage
- JInstallerModule
- JInstsallerPlugin
- JInstallerTemplate
Language[edit]
Mail[edit]
Plugin[edit]
Registry[edit]
Session[edit]
- JSession
- JSessionStorage
- JSessionStorageApc
- JSessionStorageDatabase
- JSessionStorageEaccelerator
- JSessionStorageMemcache
- JSessionStorageNone
- JSessionStorageXcache
Template[edit]
This package is deprecated. Template extensions are part of the Document package now.
- JTemplate
- patTemplate_Function_Sef
- patTemplate_Function_Translate
- patTemplate_Modifier_SEF
- patTemplate_Modifer_Translate
User[edit]
Utilities[edit]
See also[edit]
- ↑ PHP libraries bundled with Joomla!
- ↑ JavaScript libraries bundled with Joomla!
- ↑ The fourth, "hidden" application is the XMP-RPC server.