Archived

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

From Joomla! Documentation

< Archived:Developing a MVC Component
m (→‎Contributors: clean up and recategorisation)
m (update)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This tutorial is for {{JVer|1.6}} {{JVer|1.7}} {{JVer|2.5}}
+
{{:J2.5:Developing a MVC Component}}
  
 
== Requirements ==
 
== Requirements ==
Line 15: Line 15:
  
 
Both are called ''com_componentname/componentname.php'' (the ''com_'' prefix is a historical trace)
 
Both are called ''com_componentname/componentname.php'' (the ''com_'' prefix is a historical trace)
 
{{:Developing a Model-View-Controller Component/2.5}}
 
  
 
== Contributors ==
 
== Contributors ==
Line 25: Line 23:
 
[[Category:Joomla! 1.7]]
 
[[Category:Joomla! 1.7]]
 
[[Category:Joomla! 2.5]]
 
[[Category:Joomla! 2.5]]
[[Category:Manual]]
 

Revision as of 14:49, 3 May 2013

This page has been archived. This page contains information for an unsupported Joomla! version or is no longer relevant. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.


This is a multi-part tutorial on how to develop a Model-View-Contoller Component for Joomla! 2.5. You can find the other parts of this tutorial on each page in the right sidebar under "Articles in this Series".

Read the Introduction or Skip to the first part of this tutorial.

Requirements[edit]

You need Joomla! 2.5 (with PHP, MySQL, Apache and Microsoft II) or greater for this tutorial.

Introduction[edit]

Joomla! 2.5 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)

Contributors[edit]