Actions

J2.5

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

From Joomla! Documentation

< J2.5:Developing a MVC Component
m (Undo revision 106715 by Johan.e.hogdahl (talk) please make clearer with steps, reverting)
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
+
{{:J2.5:Developing a MVC Component}}
== Attention ==
+
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 - http://docs.joomla.org/Developers#Components
+
{{future|1.6}}
+
  
 
== Requirements ==
 
== Requirements ==
You need Joomla! 1.6 or greater for this tutorial.
+
You need Joomla! 2.5 (with  PHP, MySQL, Apache and Microsoft II) or greater for this tutorial.
  
 
== Introduction ==
 
== Introduction ==
Joomla! 1.6 is constructed using three different applications:
+
Joomla! 2.5 is constructed using three different applications:
 
* installation (used for installing Joomla)
 
* installation (used for installing Joomla)
 
* administrator (used for managing content)
 
* administrator (used for managing content)
Line 21: 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 the component ==
 
{{Chunk:Developing a Model-View-Controller (MVC) Component for Joomla!1.6 - Contents}}
 
  
 
== Contributors ==
 
== Contributors ==
Line 29: Line 20:
  
 
[[Category:Development]]
 
[[Category:Development]]
[[category:Joomla! 1.6]]
+
[[Category:Joomla! 1.6]]
[[category:Manual]]
+
[[Category:Joomla! 1.7]]
 +
[[Category:Joomla! 2.5]]

Revision as of 08:11, 6 January 2014


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

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

Introduction

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