Archive for June, 2009
Creating simple, extendible CRUD, using Zend Framework
Posted by ryan in Zend Framework, php on June 15, 2009
The Form
Creating a nice, easy to maintain form, starts with a form class. Creating your forms procedurally in your controller/actions is horrid. please don’t do it.
To start with creating your form classes, you need your own namespace in your library. If you don’t have this, register one. This can be done by adding an _initAutoloading method to your Bootstrap. below is a short example. its not comprehensive (you can also do this in your ini i believe, but I use php configuration files similar to DASPRiD’s, and i’m not trying to show how to set up autoloading here.) Read the rest of this entry »
