cakephp or zend? with advantage and disadvantages for both

Hi e's

I want to start php development with the other framework. Currently i am using PEAR for my applications.

I have searched for various search in web and finally stuck to zend and cakephp.

So i want know that what are the advantages and disadvantages of both over each other.

i am experienced developer, but i am taking a care for selecting the framework for my development, that's why i am here.

Thanks
Addy
LVL 12
Avinash ZalaWeb ExpertAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

adbrettCommented:
I personally use CakePHP for all of my development projects at work and at home.  CakePHP takes care of a lot of things for you and is ready to go "out-of-the-box", so to speak, so you can get on with coding your app right away.  Zend is more of a library of useful classes, much like PEAR, and you can pick and choose which you use, but you have more work to do to "get it up and running".

Hope this helps.
0
xardas2010Commented:
While zend is just a BIG library, cake brings it's "bake" that can save you a lot of time and you will never have to write queries ever again, even when you will need huge recursive selects. For example, if you want to select a category with all it's products and all the images for the products, with the "Containable behaviour" you will only write something like this:

$category = $this->Category->find('first', array('conditions' => array('Category.id' => $id), 'contain' => array('Product' => 'Image')));

the result will be:

array('Category' => array('id' => 1, 'name' => 'Categoru'),
          'Product' => array(0 => array('id' => 1, 'name' => 'product name', 'Image' => array(etc....)),
                                        1 => array('id' => 2, 'name' => 'product name 2', 'Image' => array(etc....))));

The reason why to choose cake are more than this. The fact is that on the other side, zend has a lot of usefull libraries, but it's not such of a framework as cake is.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Avinash ZalaWeb ExpertAuthor Commented:
hi,
your information helps me to take decision.

Thanks
Addy
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.