Difference between revisions of "Developing a MVC Component/Introduction"

From Joomla! Documentation

< J2.5:Developing a MVC Component
Line 1: Line 1:
== Attention ==
== Attention ==

Revision as of 20:57, 20 November 2010


Do not try to learn from these Tutorials. Most of the code does not work because Joomla 1.6 has changed. For example the class JQuery now is called JDatabaseQuery.

Instead you can still use the Tutorial for Version 1.5. It works fine in 1.6 too. here - Template:Future


You need Joomla! 1.6 or greater for this tutorial.


Joomla! 1.6 is constructed using three different applications:

  • installation (used for installing Joomla)
  • administrator (used for managing content)
  • public (used for displaying content)

The installation application is used once. The administrator and public are used through the concept of components. Each component has two entry points:

  • one is located in the components directory (it is used for displaying content)
  • one is located in the administrator/components directory (it is used for managing content)

Both are called com_componentname/componentname.php (the com_ prefix is a historical trace)

Developing the component