PHP Frameworks


Originally from http://kiri.dmt-uts.net

I conducted some research during the past fortnight or so into different PHP Frameworks, of which CodeIgnitor, Laravel and CakePHP are only a few amongst the several I looked at. They seemed to be the preferred ones used in the industry, however.

You may question why I would use a Framework and I guess there are several reasons, one being that PHP in itself has a great deal of quirks and exhibits some odd behaviour, and this can often be fixed through using a framework which will make the experience much more consistent. But since PHP is such a widely used language, it's more than likely it will be here to stay and there is no time like the present to get involved with PHP.

As many sources have said, it depends on the purpose and the user experience you are looking for. Although all three frameworks mentioned are great frameworks in their own right, they serve different purposes, different audiences and have very different systems and levels of difficulty. There is never one right answer, but only a solution that assists in solving the problem.

For me, although I can see there are many more benefits of Laravel over Codeigniter right now, I'm sticking with CodeIgniter since I currently have the support network to help me out with it, though this doesn't necessarily make it the better choice, just suitable for the situation. Laravel is the recommended framework of choice amongst developers, but there are arguments on both sides. I'll assess this in more detail later.

       Condo, B. 2013, 'I've evaluated PHP frameworks, and the answer is Laravel', Mavrck, weblog, viewed 24 March 2013, <mavrck.com/blog/2013/01/ive-evaluated-php-frameworks-and-the-answer-is-laravel/>.
       Kalexiko 2013, 'Goodbye to CodeIgniter: Hello to Laravel?', Kalexiko Blog, weblog, viewed 24 March 2013, <http://www.kalexiko.com/blog/goodbye-to-codeigniter-hello-to-laravel/>.
       nerdmom 2013, 'Comparing Laravel, CodeIgniter, and CakePHP', A Nerdy Mom!, weblog, viewed 24 March 2013, <https://nerdmom.wordpress.com/2012/08/02/comparing-laravel-codeigniter-cakephp/>.