zend framework - Simplest model code -


I am experiencing a lot with the CakePHP framework, but I'm checking the Zend Framework for an application But will get traffic.

I'm going through a quick tutorial in the documentation and going to the "Create a Model and Database Table" page.

Me or all those model sections should be made in which it mentions, i.e.

Application / Model / DBTable / Guestbook.php application / model / GuestbookMapper.php application / Models / Guestbook .php

Coming from kppp it seems like lots of code have some functionality i would have thought of very basic and general.

Or can I just create application / model / Guestbook.php and extend it to Zend_Db_Table_Abstract?

Any help you can make your model after the DBTable class, although one of the benefits of datamapping is one.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -