Basic forms with Symfony
April 30th, 2009
No comments
Our goal is to create a little crud that contains 4 fields
id (auto increment integer)
name (varchar 50)
value (double)
type (0 or 1)
What I will explain is how to change your fields in the form after creation with generation of a module. So we start with a clean module that contains 1 action class and 3 templates (new, edit and index) and 1 partial (form) that is included on the new and edit template.
We created this module not by hand but with the very easy command: symfony propel:generate-module.

Recent Comments