News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lee Davis' Blog:
FormFactory - Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects
March 30, 2012 @ 10:43:57

Lee Davis has a recent post to his blog showing how you can combine the Zend_Form component of the Zend Framework with Doctrine to help directly "drive" your forms.

On a few of my previous projects I found myself creating more form classes than I'd like. And after the 30th one I figured there had to be a better way. I quickly realised that most of the elements within these forms shared similarities to the data type I would use on my database definitions. As I was using Doctrine at the time I figured I could not only drive my database from my mapping definitions, but my forms too.

He shows how post gets into more detail about using the project (configuring caching, other config options).

The project can be found here on github.

0 comments voice your opinion now!
formfactory zendframework zendform project mapping


blog comments powered by Disqus

Similar Posts

Federico Cargnelutti' Blog: Adding theme support to your Zend Framework application

Federico Cargnelutti's Blog: Review: Zend Framework 1.8 Web Application Development

Rob Allen's Blog: Translations of my Zend Framework Tutorial for ZF 1.10 & 1.11

Zend Developer Zone: Announcing February's ZF Bug Hunting Days

KillerPHP.com: The Zend Framework: Writing Object-Oriented PHP with Ease


Community Events











Don't see your event here?
Let us know!


security overview symfony2 example application facebook opinion install component composer language podcast release code framework hhvm unittest hack package introduction

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework