I’m currently working with Zend Framework for the first-time, i’ve been contemplating how to produce complex form structures without a load of bulky of HTML.
My question is whether it would be a good idea to store the form schema in an XML file, then use a Model in Zend to parse it & pass to a viewer that could load form as HTML i.e. using form helper/ placeholders?
Let me know if this makes sense! & if there is a simpler/ better option!
Thanks,
Adam
Check out
Zend_Form.http://framework.zend.com/manual/en/zend.form.html
You can generate Zend_Form instances from XML files, ini files, or arrays which would be essentially what you need.