[nycphp-talk] Advice on OOP & Frameworks

Guilherme Blanco guilhermeblanco at
Sun Aug 23 11:36:26 EDT 2009

It really depends on what you plan to do.
I'd suggest you Symfony and Zend Framework, but each have different
approaches and different purposes.

Symfony is de-facto a framework. This means all CRUD stuff is
automagically generated to you. I'd suggest you to use Doctrine as ORM
tool to use as part of model layer. It's a great framework, extremely
easy to get basic stuff running, but quite difficult if you require a
higher level of granularity.

Zend Framework is a class library that can easily act as a MVC
framework. This means you're able to create any type of application
using a standard and WELL organized way to build it. I'd suggest you
to use it for not CRUD applications (which means admin with list, add,
remove, edit for each entity). It is quite easy to change source to do
what you want,but it may also require little more efforts to get
things done first.

I have karma on both projects and I already used both frameworks. On
current project, I work with Zend Framework.


On Sun, Aug 23, 2009 at 12:18 PM, Ajai Khattri<ajai at> wrote:
> On Sun, 23 Aug 2009, lists at wrote:
>> I've just purchased my first book on PHP Object-Oriented Programming and
>>  have also been looking at all the frameworks that abound. I'm unsure of
>> where to go from here.
> [snip]
>> Would CodeIgniter fit the bill? I have no idea how to judge which
>> framework might be best for me, and don't want to waste time learning
>> one that I'm going to outgrow 12 months from now. Should I even be
>> thinking about frameworks at this point, or would I be better off
>> reading through & understanding the OOP book first?
> I think many of us have come to that same fork in the road when making the
> move into frameworks. When I got into frameworks, I did read books on PHP
> OOP (the No Starch book is good). Since most frameworks use OOP and since
> they show no sign in going away, it is well worth reading up on OOP. Also,
> a book on design patterns probably would be useful too.
> As to what framework is good, that is a very subjective question. But with
> your newly acquired OOP knowledge you will be in a much better place to
> judge how they work and which ones you're comfortable with. Basically, the
> best thing to do would be to look at a tutorial/demo for each one, follow
> each one, work through and see which one makes the most sense for *you*.
> Other things to consider: how much documentation is there? are they easy
> to read? are there any books? what are the mailing lists like? how active
> is development of the framework? in short, how good is the community
> around the framework?
> Im not going to recommend any single one but Zend, CakePHP and symfony are
> pretty popular. When I made my choice, it was the excellent documentation
> and community that helped me decide.
> --
> Aj.
> _______________________________________________
> New York PHP User Group Community Talk Mailing List

Guilherme Blanco - Web Developer
CBC - Certified Bindows Consultant
Cell Phone: +55 (16) 9215-8480
MSN: guilhermeblanco at
São Paulo - SP/Brazil

More information about the talk mailing list