Joomla! views, formats & layouts
This is very specific to Joomla! installations and might not be for everyone.
I often have to remind myself about Joomla components and how to call them in their variious guises. Heres an aide memoire...
The calling options...
http://mysite.com/index.php?option=com_mycomponent …
&view=myview&layout=mylayout&format=myformat
The component directory structure...
Joomla
/components
/com_mycomponent
/models
myview.php
/views
/myview
/tmpl
default.php
mylayout.php
view html.php
view myformat.php
controller.php
mycomponent.php
Footnote:
templates come into the equation somewhere but that's for another day