It is possible to make form and table (View) by both using zend_form with decorators, validators , filters etc, and we can also do this directly in view phtml file writing html as usual. I want to know which one is the best way to do in terms of
- Performance
- Time
- Simplicity
I am new to zend framework.
Can always be increased by caching, better machine.
Just learn your IDE, it will code the forms for you (macros, shortcuts, templates etc.)
Zend From usage couldn’t be simpler. You may even just create the form by writing plain text (ini syntax).
So, newer create forms in the view.
The best way:
In the model: