Jan 10
28
Creating Usable Forms With Zend Framework
Chris Hartjes writes a very nice article about how to make (re)usable zend_forms; After searching around online for some examples of building simple forms, I was dismayed to discover there were two different ways of building the form. I could (a) do it the long way and create specific instances of the form elements using Zend_Form_Element_X or (b) do it the short way and add them to the form by use of Zend_Form::addElement() and pass it the type of form element I want via an array. For reasons I cannot explain initially, I decided to do things the long way. Later on, I found out that doing it this way saved me from rewriting.
Via: Creating Usable Forms With Zend Framework.
Related posts:
- How to make POEdit detect source strings in Zend Framework You will notice that once you have started translating an...
- Tab Container Enabled Forms Nathan Garlington wrote a nice solution for Tab based forms;...
- Creating Custom Zend_Form Decorators Jon Lebensold post yet another excellent screen cast; This little...
- Zend Framework + Doctrine 1 Integration Benjamin Eberlei writes; Hello everyone, I completed a first version...
- Writing Composite Zend_Form Elements Jon Lebensold writes; This video should help you build your...

