Zend Form buidling

For programming and general questions on Zend Framework
Post Reply
denn7110
Posts: 22
Joined: Wed Oct 02, 2013 11:48 pm

Zend Form buidling

Post by denn7110 » Wed Feb 15, 2017 5:52 pm

What is your preferred way of building Zend Forms?

I am thinking of revamping my forms and I see that there are
  • Programmatic
  • via a Factory
  • Factory-backed (Mix of the above two approaches)
  • Annotation-Builder
(above are from https://docs.zendframework.com/zend-for ... nnotations)

I am liking the programmatic approach. I don't think Factory will work for me as great, but I am leaning towards Annotation-Builder approach as this seems to force me to create an object, marry that object to the form, specify all the parameters there via comments, and have ZF2 do the rest of the work.
Has anyone had problems with the AnnotationBuilder approach?

Post Reply