I'm new to Joomla and I'm developing a component which includes the creation and submission of a form. The form submission example at http://docs.joomla.org/Developing_a_Model-View-Controller_Component/2.5/Example_of_a_frontend_update_function is very useful, but the warning on top of the page suggesting the example does "not adhere to best practices and do not make optimal use of the flexibility provided by Joomla." and "This code is not harmful and can be used in components, but could be written in a simpler and more maintainable way" is suggesting there is a better and simpler way.
Any suggestions? I hope my question is not too general but as a Joomla starter I just try to apply the best practises from the start...
Appreciate your help