A
A
Anton2011-03-22 11:43:07
PHP
Anton, 2011-03-22 11:43:07

Comparing Zend Framework vs Symphony vs Codeigniter?

Greetings!
I turn to the habra community for help in comparing these 3 frameworks, because I personally had nothing to do with any of them.
I read the Internet the most "fresh" information is the winter-spring of 2010, from which I compiled a small comparative table, the table may not be entirely correct:
Zend Framework

  • A large number of modules and libraries
  • Developed by PHP core developers
  • Support for unit tests
  • Relatively low speed of working with libraries
  • Built-in JS framework DOJO and libraries for it

Symphony
  • More easy to learn
  • Lack of documentation in Russian
  • Sufficiently high core speed

codeigniter
  • The fastest of the

Also common to all is the use of OOP, the use of MVC, probably a large number of ready-made libraries
. I would like to see the comments of those who worked with these frameworks, clarify the pros and cons, difficulties in mastering and working, etc. etc.
Thank you!

Answer the question

In order to leave comments, you need to log in

13 answer(s)
G
g00d, 2011-03-22
@g00d

I myself work with Yii and for me it is all of the above frameworks, if it doesn’t pass, then it demonstrates a similar set of features.
But zend is actually something like enterprise solution, with all the goodies that it gives from zend server to zend ide, etc.
Zend is most often in demand in the West, including because of the reasons I have indicated. But he's monster-like.
It all depends on the tasks, if you can't describe exactly your goals and objectives, I don't think anyone's advice will be adequate :)
In short:
CI just switched to PHP 5 not long ago.
Symfony uses a terrible and mighty ORM (sing and doctrine) very resource intensive.
Zend is probably the most powerful.
But Yii has a possibly smaller set of libraries - although there are no problems using them from the zend framework :), the ORM in Yii is more “light”, and it has been on the 5th PHP for a long time (and in my opinion from the very first version). You already know my choice :), it's up to you.

L
Lev Lybin, 2011-03-22
@lybin

We use CakePHP , which is based on Ruby on Rails in style, for some reason few people know about it. The documentation isn't bad at all. Not difficult to learn. The Yii framework is also spreading, more than one organization is transferring its highly loaded projects to it, for example, I know that it is from the same Codeigniter.
Zend Framework and Symphony are heavy in my opinion and more conducive to the brand.

A
Anatoly, 2011-03-22
@taliban

To begin with, you decide for yourself what you need?

  • Learn just some kind of framework?
  • A framework with a bunch of modules?
  • Fast framework?
  • Flexible framework?
  • Reliable framework?
  • Good support?
  • Ease of learning a framework?

No one has all these qualities, but having decided for yourself which of them you need more, you will find your framework without any questions and quickly.

4
4pcbr, 2011-03-22
@4pcbr

I have been working with symfony for 4 years, I can say that it is developing very quickly. Be prepared for the fact that in a year and a half the selected branch will become unsupported.
The symfony community is much more democratic than Zend: there is no such strange bureaucracy with their proposals, so all changes are made quickly.
Symfony of the 1st branch (although who will write something on it now) worked very inaccurately with system calls, did not cache a bunch of stats once again, for example. In the second, the situation seems to have changed, judging by the very significant increase in speed.
Maybe I thought so, but in comparison, when writing code, symfony looks somehow more native than zend, which feels a bit angular. Although, this is just my personal opinion.

S
slik, 2011-03-22
@slik

I want to say a little about Zend. I have been working with him for the last 3 years. So that's what I want to say, I often see that they write how big it is, it is not suitable for projects with a heavy load. From my experience I can say with confidence:
Big? This is a framework - one of its purposes is a set of ready-made classes, you are not asked to use them all, besides autoload decides. Another question is when there is an optimization stage, who is stopping you from sharpening something for a specific project, even if it is the code of the framework itself, this is already a specific project and there are specific tasks, it is not necessary to use the universal option everywhere, and in my opinion this is rare in large projects at all can be done.
And moreover, all this is applicable to any framework, it depends on the person that it is preferable for him to supplement something or change and remove unnecessary things. I chose the second one for myself.
For your meeting (if I understand correctly that the choice is not for project development), it is worth noting ZF dev version 2.0 (infa is on wiki and gihub) I can’t say about other frameworks, but I think it’s more logical to consider dev versions of their pros and cons, well and of course perspective.

Z
zizop, 2011-03-22
@zizop

In Zend Framework, unlike other frameworks, more typical tasks are implemented, a huge number of modules, a well-established development process, and it has one more advantage.
You don't have to use the entire framework. You can take one class from it and use it calmly, and there will be no monstrosity. Symfony has just embarked on this journey by highlighting 5 components (http://components.symfony-project.org/). ZF has followed it from the very beginning. Try it and you will like it ;-)

M
MastaEx, 2011-03-22
@MastaEx

Somehow I already gave a comparison of frameworks from my bell tower, here it is .
Since then, the essence has not changed much. CodeIgniter switched to php5, except that everyone else has grown up. I'm still with Yii.

4
4pcbr, 2011-03-22
@4pcbr

Yes, 2nd
1.4 LTS, but it is morally obsolete: see only the topics of topics from the last conference
People at the conference said that they already use the 2nd branch in production, but you have to be prepared that some 2.1 will replace it, in about 3 months after obtaining stable status.

J
Jazzist, 2011-03-22
@Jazzist

Pros and cons are too subjective. Each of the three products you are considering is good for a certain class of tasks, so comparing them in such characteristics is pointless. I can be trusted
in this matter.

T
tigerman, 2011-03-22
@tigerman

You can wait for the release of Symfony2, to which you can already attach classes from ZF2. And you will be happy! ;)

V
Vladimir Chernyshev, 2011-03-22
@VolCh

sym f ony, Sym ph ony seems to be a CMS :)
And so, I like to use symfony2 as a framework, and ZF2 as a class library that is connected to the framework.

R
Renat Ibragimov, 2011-03-23
@MpaK999

Look already in the direction of Symfony2, RC was released recently.
1. Very flexible, almost everything can be disconnected and connected, the budle system is almost like in RoR 3
2. Documentation is not bad
3. Convenient debugging, the best I've seen so far
4. Namespace is the best I've seen, as it does not rely on junk , but only php 5.3 (a stone in Zend and CI, all the more)
take a look at FuelPHP, this is a breakaway from the developers of CodeIgniter, but already PHP 5.3 and sometimes combined with Kohana, fresh, although sometimes not as tasty as Symfony2

S
shagguboy, 2011-03-23
@shagguboy

Symphony 2 was released in early March. symfony.com/
is much faster than the first Symfony.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question