Best Practices of Plone Development
Best Practices of Plone Development
Best Practices of Plone Development
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
1.4 Form Controller 1 BEST PRACTICES FOR PLONE DEVELOPMENT<br />
1.4 Form Controller<br />
1.4.1 CMFFormController<br />
• New form handling/dispatching system<br />
• Provides “controller” <strong>of</strong> MVC paradigm<br />
– Validation<br />
– Dispatching<br />
• More flexible than simple marshalling<br />
1.4.2 Dispatching / Actions<br />
• Template/Script<br />
– Which script/template this affects<br />
– eg “document_edit_form”<br />
• Status<br />
– What status this affects<br />
– “success”, “failure”<br />
– Can emit your own<br />
23