[_] Zend Vs Cake
Jon Bennett
jmbennett at gmail.com
Mon Jul 14 11:44:35 BST 2008
Hi Phil, > I'm currently playing with an app using CodeIgniter. I started with CakePHP (having not > used either before) but found the docs for CodeIgniter clearer by a country mile. hmm, have you seen http://book.cakephp.org/ - I'm not sure how http://codeigniter.com/user_guide/general/models.html could be considered more complete or clearer than http://book.cakephp.org/view/66/models - aside from the fact that models in CI are not nearly as powerful, hence don't require so much explanation ;) Also, CI, Zend and Symfony are backed by commercial entities - cakephp is entirely community/donation driven, so perhaps it's not surprising that it's taken longer to get the docs up to speed. > CodeIgniter comes with a library for accessing your database via ActiveRecord out of the > box (as well as some alternatives), which is more than enough for most people I suspect. well, ime, even the most simple project includes a db and some linked tables. for a simple blog app, you'd need a few db tables, chained via foreign keys, such as: Post -> Category -> -> Posts -> User -> -> Group why write 5 data retrieval calls when you can define these connections once and make a single call? > They both look nice, but at the end of the day, you're still writing PHP ;) yeah, but less if you use cakephp :p jb -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett