PHP Frameworks

PHP Frameworks are the tools which helped developers focus on their task (i.e. business logic) more and less worried about structural behavior of the application. But for most of the developers it is difficult to choose one of the Frameworks available for the application, so as I have been in dilema when it comes to selection of a Framework.

I have come across to Zend Framework (Older version) when I first got a chance to work on any PHP Framework. As they described it as [“use-at-will” design], we have used some of the components rather than whole framework, it is claimed to be the most popular used framework. My growing opinion was a bit different though, it really is a big Framework with lots of configuration required and very heavy for the application.

Then I have gone through the YII framework but could not hold onto it, the key feature I endorse upon was ORM but I won't able to use it in professional application. I had to switch to the framework about which people around me insisted to use and talked so much about the abilities, flexibility and lightness of it i.e. CodeIgniter. It has simple and comprehensive documentation. After using it in professional application, I have found the limitations it offers to developer while focusing on the application layer of the task, sometimes it really irritates. Then I have been informed about the new Framework which uses HMVC (Hierarchical MVC) design pattern, this has been the most talked framework in our circle nowadays. Before making any comments on it, let me clear that I have not used it at all, following is only my observation from the documentation and discussions we had. It seems to me the more complete framework which offers most demanded features along with the flexibility to do things in your own way. ORM is the most attractive feature to me in any Framework, it offers ORM with HMVC but relatively documentation was not at its best. I am talking about "Kohana" (claimed as "The Swift PHP Framework"), this is my new choice for the professional applications.

I don't know when I will change my opinion about Kohana but it must be after I use it properly. Here I want to mention the checklist which should be considered once selecting a Framework for an application, which should be a question of many in early days. I look for following few things when selecting a Framework:
  • Design Pattern (MVC/HMVC)
  • ORM available (specifically with Lazy Loading)

Comments

Popular posts from this blog

Setup Varnish 4 with Wordpress W3 Total Cache on CentOS 6

Upgrade Magento from 1.7 to 1.9