ballhogjoni Posted March 19, 2013 Share Posted March 19, 2013 So I want to make CRUD easier. Right now we use the zend framework and the devs before me setup persisters with store (save) functions. The problem is that they hard coded the fields in the store functions. So when I add a field to the db I also have to go in and update the code with the new field. To me this is bad programming because you have things like activerecord. If ZF 1.12.3 doesn't use AR then what other alternatives do I have to clean this up a bit? Quote Link to comment https://forums.phpfreaks.com/topic/275884-does-zend-framework-1123-use-activerecord/ Share on other sites More sharing options...
ignace Posted March 19, 2013 Share Posted March 19, 2013 Zend_Db_Table_Row is an AR. Quote Link to comment https://forums.phpfreaks.com/topic/275884-does-zend-framework-1123-use-activerecord/#findComment-1419679 Share on other sites More sharing options...
ballhogjoni Posted March 20, 2013 Author Share Posted March 20, 2013 awesome thanks. that led me to Zend_Db_Table which is what i'm looking for. Also nice to hear about the Table Data Gateway that Zend_Db_Table uses. Quote Link to comment https://forums.phpfreaks.com/topic/275884-does-zend-framework-1123-use-activerecord/#findComment-1419832 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.