The Best PHP Framework (for me)
I am PHP programmer since 2003. I do master PHP in 4 years, exactly in 2007. hahaha … be master 24 hours? you can if you're amazing genius. In one day you just could understand several languange component. Back to topic, what is the best php framework?
I trying dozens of PHP framework like Prado, Code Igniter, Symfony. Zend Framework, CakePHP, Seagull, Arkeous, Solar, P4A, WACT, Adroit, Qcodo, and so on so forth … this is amazing, everyone wants to create a Framework in PHP. The most overrated promotion is the MVC (Modal View Controller), MVC is about architecture. You must imagine, where you should put the Modal, View, and Controller. Connect it together using classes and display it by View. After that you will be introduced with Plug-in, Library, and Helper. Don't forget the core class of each PHP Framework.
PHP is not event driven language, the nature of PHP is the best feature that used by developers expansively. The PHP and ASP had same style, ASP.NET is different. ASP do had Class like PHP. I mastering ASP since 1998.
The good reason to have framework, you had a bunch of library that could be used on the projects, but agains don't take much hope because you need to learn. The footprint of most PHP Framework is huge. I really consider to project size, the bigger means more complicated. The smaller means simplicity could be achieved without degrading the power of the application.
I try one by one, use it and I get the best PHP framework that I really recommended to use but you need to learn to use it. It makes you head dizzy with the concation in object since PHP use -> as the operator. The lack of polymorphism in PHP method does give impact to the PHP Framework, since you can't do this
class Test
{
function __constructor() {}
function __constructor($param1) { }
function __constructor($param1, $param2) { }
}
Okay, the best Framework are (yes, they are) PRADO and Code Igniter … 🙂
Why? you might ask, PRADO use amazing concept derived from ASP.NET architecture. They work like charm, but the authorization modules is a true nightmare. Event Driven, Code Behind concept, and many features that nearly same experience like ASP.NET does. The theme module is cool, you put all css and js then PRADO will do the rest, no single code you need to write in application to load the css and js location.
Code Igniter have small footprint around 900kb, compare to others, CI is the winner for MVC fight. I like the MVC of CI since the documentation is easy to follow and understand. Ofcourse typography has some role to make documentation is easy to read. The lack are they don't support authorization or ACL internally, need hard way to make a master template (you need to write a class and make it hard to trace), you will confused to put your CSS, JavaScript, and all supporting materials.
Wanna try more? I bet you won't. Find the perfect PHP Framework to you, I never found the perfect one but nearly perfect like PRADO and Code Igniter. The disadvantage is one, you may forget how to access a database using mysql_ native command in PHP. hahaha.
I hope I could introduce how to setup this things. I am finding time to create heavy weight tutorial.
Sorry, comments are closed