- Created on Tuesday, 31 May 2011 10:33
- Written by Andrew Eddie
I've just added five new videos for subscribers to Learn the Art of Joomla to the Joomla 1.6 component section. Each video covers an aspect of preparing the backend edit form that allows you to add and edit data in Joomla components.
Lesson 2.17 Backend edit form introduction and adding an item sub-controller
This lesson introduces the topic of backend edit forms in Joomla. It looks at the respective parts that need to be added, in particular the item sub-controller that handles the tasks associated with adding, editing (or cancelling and edit) and saving data.
Lesson 2.18 Adding the backend item model
This lesson looks at the model that is required to support the typical backend edit form in Joomla. It looks in detail that the JModelAdmin class and critical methods that must be provided.
Lesson 2.19 Adding the backend XML form
This lesson adds the XML specification that drives not only the display of the edit form in a Joomla component, but also it's validation and filtering of posted values. In particular, it looks at how to handle complex data types (fields within fields) that you would typically use for item parameters.
Lesson 2.20 Adding the backend edit view
This lesson looks at the view class and the layouts that are typically used in a backend edit form. It introduces the concept of sub-layouts and how they are loaded by the master layout file, as well as how the rich JForm API is used to display fields on the edit page.
Lesson 2.21 Exploring the result - adding and editing data
This final lesson in the block looks add the results of adding the list and edit pages, exploring how the data is added and edited, and how data can change between saves. It also looks at how Joomla handles complex pluralisation of text strings, account for cases where nothing is processed, one thing is processed or more than one thing is being referred to.comments powered by Disqus