Re: Symfony versus CakePHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Disclaimer: I have not used Zend Framework.  What I am about to say is based 
on a blog entry by someone whose name I forget so I can't go track it down 
now. :-)

CakePHP, Symfony, Drupal, etc. are "full stack" systems.  That is, they 
provide an integrated structure and you match your development to that 
structure.  That means doing things the system's way makes life quite 
straightforward, but going against the grain makes life quite difficult.

Zend Framework, ezComponents, etc. are "component" systems.  They're more of a 
collection of robust tools that you can put together your own way to build 
something without having a structure presented to you already.  That means 
you're not bound by a given structure, but you also don't have a structure to 
fall back on.  

Both are appropriate in different situations.

On Saturday 21 July 2007, AmirBehzad Eslami wrote:
> What is difference between Zend Framwork and other frameworks like
> CakePHP? I'm trying to develop a sample blog for educational
> purposes in Zend Framwork, but some times I feel that I'm learning
> a new language or a new programming paradigm.
>
> On 7/21/07, Larry Garfield <larry@xxxxxxxxxxxxxxxx> wrote:
> > Back in January I was looking for a framework for a project that ended up
> > being canceled anyway. :-)  I considered both CakePHP and Symfony, and
> > had decided on CakePHP for a very simple reason: It was smaller.  It was
> > pure PHP
> > while Symfony relied on Propel which in turn used YAML syntax to define
> > its
> > object model, which it then compiled to XML, which in turn was used to
> > generate both the SQL tables and the base classes in PHP.
> >
> > I saw no reason to learn Yet Another Markup Language (I can't take
> > seriously
> > any markup system that acknowledges that it serves no useful purpose) and
> > install/load/use a multi-meg system when Cake was far smaller, built its
> > classes off of the SQL directly, and didn't require me to learn still
> > more obscure syntax.
> >
> > Of course, I hate Rails-style code-generation frameworks anyway, so I'm
> > kinda
> > glad I never actually built that project. :-)  YMMV.
> >
> > On Friday 20 July 2007, Steve Finkelstein wrote:
> > > All,
> > >
> > > I'm terribly sorry if this is a redundant inquiry. I'm a rather
> > > inexperienced developer who's catching on quickly, and looking for a
> > > framework to build out a project I've been assigned. I'm more of a read
> > > a book and try things out type of learner.
> > >
> > > My question to those with more experience, what exactly is the
> > > difference between CakePHP and Symfony? I'm looking into both of them
> > > for a potential framework to make robust and scalable code. They both
> > > seem to try to obtain the same goals with their project, however
> > > Symfony has text written about it, etc.
> > >
> > > Anyway, thank you for any insight.
> > >
> > > - sf
> >
> > --
> > Larry Garfield                  AIM: LOLG42
> > larry@xxxxxxxxxxxxxxxx          ICQ: 6817012
> >
> > "If nature has made any one thing less susceptible than all others of
> > exclusive property, it is the action of the thinking power called an
> > idea, which an individual may exclusively possess as long as he keeps it
> > to himself; but the moment it is divulged, it forces itself into the
> > possession
> > of every one, and the receiver cannot dispossess himself of it."  --
> > Thomas
> > Jefferson
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php


-- 
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux