CakePHP vs Zend Framework vs Symfony

I used CakePHP in a Telecom project as a core GUI to my shell, which deals with 32E1 per chasis as a service of 24/24/7 mobile/land line.

  • Solaris 10 Sparc architectures core
  • SS7/ISDN/VoIP protocols on DSP level using ADA language
  • Cisco AS5400 maintain by cakephp
  • Other servers i686 used for replication realtime master data
  • The software is for enterprise level, was the greatest solution i made and awarded too

Its now 4 years nothing i am afraid yet, and making it more better and better as a kernel release.

Note: I was using java/python but finally i never used them anymore, when i faced ADA or C has only preprocessing and pointer’s.

  • I love learning and doing things on my own way, and find my own points too. I have never faced a single problem in cakePHP.

Question: What makes Zend, Symfony so popular yet? (:

Thanks in advance

I think it’s all a matter of preference. One likes CakePHP more, someone else likes Symfony, it’s all about the way YOU like to program.

Me myself for example, I don’t like any of the frameworks, it’s just not the way that I like to write code so I took some time to build my very own, that does everything the way I want and is completely modelled after how I like to program :slight_smile:

Usually it’s performance, cakePHP teds to be slow… (then again they all slow :p)

The first framework I ever tried was CakePHP and I liked it. It was easy to use and I could get things done in it. However, what put me off it was the fact that it maintained backward compatibility with PHP4. If it was strictly a PHP5 framework I would have stuck with it. I eventually chose symfony as my web development framework.

Mine’s not slow, fortunately :wink:

backward compatibility with PHP4

That’s the reason I’ve never bothered either. But I think it’s a selling point for them.

How is it a selling point? I doubt any PHP4 users know enough about OOP to use a framework. I also used to use Cake, but got sick of it not adapting to the times (2006 times… which it STILL isn’t caught up to!).

Down with Cake

So supporting a PHP version that is full of security holes that will never ever be fixed is a selling point? :slight_smile:

I agree with Ruben K.

It is about YOU actually. But from our perspective as we develop with Zend in our company (H2B) it is much more flexible and extensible. BUT of course it is almost the hardest one to use.

Why is it popular for us ? We are used to program in OOP fashion so that it is easier for us to develop.

For instance we have our own ajax validator tools and to do a validation we extend the Zend_Form class with H2B_Jquery_Form, and we just continue to create our form objects with that.;

As an example;

$this->addElement(new …Textbox…); // adds an element to form
or we switch to ajax validation with;
$this->addElementJQuery(new …Textbox…); // adds an element to form with jquery validation

and that is it, the textbox is now validated with jquery while writing to a textbox.

  1. @aaronfalloon:

When the kernel of PHP is burned as 5.2.12 ? How it’s possible Cakephp will use PHP 4 compile/build method? example: echo “Cakephp”; will it will use php 4? or it will use php 5.2.12?

[shamun@www ~]$ php -v
PHP 5.2.12 (cli) (built: Jan 31 2010 11:31:11)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
[shamun@www ~]$
  1. @Yakari:

PHP users can use in cakePHP also OOP not for $.ajax or extJS, I have used Python/PHP/PHP-gtk2 using QT/Gtk+ and Glade2/3.

  • I have seen porta billing largest telecom software, written with pure PHP (they didnt even touched zend a single line)
  • Google itself, are they somehow using Zend or Symfony?
  • I have personally used some other ISDN switch management software, i don’t see no frameworks even applied, or even thinking of.

a small summary could it be?:

Is it like that? A public website should use or focus on zend or symfony or cakephp, because of the SEO? But a local network/restricted releases, software/intranet/solutions development must not depends on those frameworks?

if i have to write “Hello, computer, do you read me?” why should i load a giant framework? i can simply use 1 single line.

I still don’t get it, there is no benchmarks? nobody with years and years of experience, never tried to prove it, like a research level? nothing? Don’t get me wrong, just giving nonsense comments like per lament and politics, doesn’t solve anything right.?

Here are my two cents

The beauty of frameworks can be seen when you are developing in a team or you are running your own development firm. As the developers usually join and leave organizations quite frequently (at least in this part of world) therefore to keep a consistency and be able to provide support to your old projects, one needs to implement some standard way of programming. Frameworks help a lot in maintaining the standard throughout the organization.

@shamun

As I said before it is about you to select a framework or not. If you think that it will help you complete your tasks faster, better, stronger, more secure you choose it. For instance I dont want my programmers to deal with everything from the data source level to presentation level but I want them to deal with their own task.

As an example we have a DBA who create databases and procedures views etc. and sometimes same DBA writes the models to our framework. Other programmers takes the design and converts it into a valid xhtml css site. Different programmers from those two take those xhtml and models and creates the site from it.

This is how we split tasks and we use zend because we can create our own framework on top of it very easy and now we have experience on it. that is it.

If in the past we started using CakePHP that I would say we use CakePHP, and it is popular for us because bla bla bla.

Opposed to Ruben K., I consider frameworks are good :slight_smile: I think they help implementing lots of standard things much faster than you can do without them.
And performance… Choose your framework carefully, study it thoroughly and configure it properly :slight_smile:
Regarding the preferences, I chose Yii a year and a half ago and never regret about it. I have a blog post written a year ago explaining why I did that and how I evaluated the frameworks. Maybe you’ll find it useful.

I have been juggling around frameworks also. I was going to post a new thread until I saw this.

I have one I wrote for myself that I did for learning purposes and still use it, I actually prefer it.

I am not a fan of Symfony or Zend, the learning curves are big and I am picky about what goes where. I guess I’m old fasioned and prefer unzipping a file, and starting a project that way (Although, I think you can do that easily with Symfony Sandbox).

I didn’t like how Zend named all their classes, they start getting very long – but It does make sense. If they make use of class aliases it might be nicer, but I still dislike the directory structure very much.

For Symfony, I liked it somewhat. But trying to learn it is difficult as they want to force using the CLI on you with their strange “Propel” commands, and long doctrine and YAML stuff. I also dislike their directory structures. Since half of this stuff needs to be organized a way you like so you can get from A to B to work on a project efficiently.

The one I did like is CodeIgniter. I might be considered a newbie for it but I found it very easy to get started and customize things fast. I don’t use CodeIgniter for anything yet but I play around with it time to time. It’s very small and has a lot of things that are easy to use and reconfigure. I like the way they organized all the folders and name things, it just makes more sense to me :\

I have never tried CakePHP, probably won’t as I like CI and my own framework. I am not interested to relearn an entire system because it’s popular, I haven’t understood much benefit from ditching one and going to another, I suppose it’s what suites you.