PHP Frameworks – So… many
December 26, 2010 § Leave a comment
In the older days, there used to be PHP4, which is responsible for producing so many developers writing so much of procedural code that despite PHP5 being around for several years, we still see people going back to PHP4 in the form of frameworks such as CodeIgniter.
I think PHP is the only scripting language that can boast of the largest number of frameworks. Every other day, literally, a new one comes up. The numbers have gone to the extent that now we have sites comparing PHP frameworks and listing top 10 PHP frameworks.
Originally, the credit should go to .NET Framework to trigger the birth of large number of PHP frameworks, which in spirit is what Open Source is all about. You come with a better idea and there you go with a new framework. Then there are other factors to conceptualize the birth of a new framework such as performance, size, toolkit, ease of use, speed to build, ajax, coding style and so on.
There is probably another reason for these frameworks to come up on top of PHP rather than natively – PHP still remains largely democratic in nature if I may choose the word from geopolitics. This leaves PHP in a state where it all depend on you if you want to go for procedural code or objective-oriented style code. It doesn’t seem to be taking sides to push OOP or MVC style of coding. So where frameworks help is in taking sides on behalf of the developers to provide a more focused & modern coding approach pioneered by Ruby on Rails (RoR) and .NET.
So when a PHP framework creates its own coding syntax, enforces OOP, brings in MVC design pattern and a large library of plugins, you grow out of procedural PHP and feel in the league of modern frameworks and scripting languages. At the same time, you are spoiled by the choice without switching to any other scripting language. And may PHP comes with its own native framework in the future. We are waiting…. for more.