API Guides: Difference between revisions

From Joomla! Documentation

No edit summary
Robbiej (talk | contribs)
included link to cache API
Line 6: Line 6:


* Ajax handling within Joomla Components is described in [[JSON Responses with JResponseJson]]. Ajax can also be used within Joomla Modules and Plugins as described in [[Using Joomla Ajax Interface]].
* Ajax handling within Joomla Components is described in [[JSON Responses with JResponseJson]]. Ajax can also be used within Joomla Modules and Plugins as described in [[Using Joomla Ajax Interface]].
* [[Cache Basic API Guide|Cache]] - how to use callback cache within your code.
* [[Categories and CategoryNodes API Guide|Categories]] Using the <tt>Categories</tt> and <tt>CategoryNode</tt> classes to access data relating to Joomla categories
* [[Categories and CategoryNodes API Guide|Categories]] Using the <tt>Categories</tt> and <tt>CategoryNode</tt> classes to access data relating to Joomla categories
* CSS can be added as described in [[Adding JavaScript and CSS to the page]]
* CSS can be added as described in [[Adding JavaScript and CSS to the page]]

Revision as of 12:35, 24 March 2020

This page contains an index to the set of Joomla API Guides. These guides aim to help you understand how to use these Joomla functions in your own Joomla extensions.

Each API guide includes sample code which you can copy and install in your own development environment. Generally these code samples are written to be included and installed as Joomla module, so if you're not familiar with Joomla module development you may find going through the short series Creating a Simple Module useful.

Around Joomla 3.8 the Joomla development team began changing the naming convention of Joomla classes to use namespaces, so that for example JFactory changed to Factory in the Joomla\CMS namespace. As you read existing Joomla code and documentation you may find the classes following either the new or the old naming standard. You can find the mapping between the two naming conventions in the libraries/classmap.php file in your Joomla instance.