zend, codeIgniter or symfony2

Discussion for various published PHP frameworks, including Zend Framework, CodeIgniter, Kohana, CakePHP, Yii, Symfony, and others.

Moderator: General Moderators

Post Reply
cali_dotcom
Forum Commoner
Posts: 49
Joined: Fri Aug 22, 2008 7:28 pm
Location: Rancho Cucamonga, CA

zend, codeIgniter or symfony2

Post by cali_dotcom »

hi, i am about to rewrite an application that was written in zend 1.8. the owner complains that its quite slow so his default reaction is to rewrite it in any other framework of my choosing. the application is sometimes slow because they have not implemented any caching mechanism at all. i am a zend fan, although i think its way too big, but now im am forced to consider another framework. which of these frameworks do you guys prefer and why?
x_mutatis_mutandis_x
Forum Contributor
Posts: 160
Joined: Tue Apr 17, 2012 12:57 pm

Re: zend, codeIgniter or symfony2

Post by x_mutatis_mutandis_x »

I havent worked with third-party frameworks a lot because they provide you with a DB abstraction layer which I think is unnecessary and should be user-customizable. Whatever framework you choose it is important to note that, business logic/models (and preferably the presentation layer/view) must be agnostic to the framework. So if tomorrow you change your framework, you are not re-writing the code from ground zero.

Zend is prefered because it's not really a framework, its a library (so you can choose what components/apis you want to use and what you don't want to use), and it's developed and maintained by the PHP folks (atleaset a few of them are I'm sure). Any bugs, or anything new in PHP releases, zend should pick it up faster and incorporate changes in their framework accordingly.

Caching is a must for websites with huge content and pages and a good framework will provide you with that option. Although I do agree that using Zend framework your application can get slow without caching (assuming your code has no issues contributing to the slowness of your app). I would suggest identifying parts of your code where you think using Zend classes is an overkill and use native calls, or optimize the functions. But if all else fails and the owner doesn't want to use a cache provider, I would recommend using a lightweight framework (I'm guessing codeigniter compared to symphony).
annaharris
Forum Commoner
Posts: 30
Joined: Mon Mar 25, 2013 6:52 am

Re: zend, codeIgniter or symfony2

Post by annaharris »

Codelgnitor is pretty easy and user-friendly. So, i would prefer it.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: zend, codeIgniter or symfony2

Post by Christopher »

Zend is very modular and good if you want to extend it to create your own customized framework. CodeIgniter is the most lightweight and easiest to learn. Symfony2 is full-stack so the most integrated.
(#10850)
pbs
Forum Contributor
Posts: 230
Joined: Fri Nov 07, 2008 5:31 am
Location: Nashik, India
Contact:

Re: zend, codeIgniter or symfony2

Post by pbs »

Go for codeIgniter, it's easy to learn and simple
whatsup
Forum Newbie
Posts: 2
Joined: Tue Jun 04, 2013 4:21 pm

Re: zend, codeIgniter or symfony2

Post by whatsup »

I am no fan of frameworks - especially if you are beginning, avoid them.

However among them all I will always pick Zend, closer to the PHP development team.
ethansamuel17
Forum Newbie
Posts: 10
Joined: Thu Sep 18, 2014 1:08 am

Re: zend, codeIgniter or symfony2

Post by ethansamuel17 »

I usually use symphony, as it provides the best user friendly customization.
Post Reply