First Bite at CakePHP
I have been nibbling at CakePHP for a few days and I can say that it's indeed a powerful PHP framework.
As a long time user of both CodeIgniter and more recently, Kohana, development in CakePHP seems to be very quick as soon as you get the ropes.
Setting it up was the best. It nearly told me everything I needed to do to set it up. From the database schema up to the salt
Missed a method?
Error: The action index is not defined in controller UsersController Error: Create UsersController::index() in file: qwert/controllers/users_controller.php.
Missed a view?
Error: The view for UsersController::index() was not found. Error: Confirm you have created the file: /home/qwerty/devhow/views/users/index.ctp Notice: If you want to customize this error message, create qwerty/views/errors/missing_view.ctp
It took me a just several minutes to set up CRUD on CakePHP (w/o baking) which would often take longer using CodeIgniter. It then took me a few minutes to figure pagination out and set it up on a little project of mine, something I believe I probably can't do with CodeIgniter. Form validation worked like 'magic'.
It is a shame that I've just recently been nibbling at Cake. Probably because the CakePHP manual was not that newbie friendly a year ago but right now, as the IRC CakeBot says it, “Book is http://book.cakephp.org the answer to life, the universe and all your bun making needs”.
While I probably still and will be using CodeIgniter (we use it at work) and Kohana in the future, CakePHP would definitely be a handy tool to be added to my toolset to use for some project to come.
Categories: Web Development
Tags: cakephp
No Comments