Discovering CakePHP


I have been looking for a rapid development framework for PHP for a little while now and stumbled upon CakePHP. The CakePHP web site describes the frame work as follows:

Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

I am currently using the framework on a production project and have been very happy with the way everything is organized and how it all relates. It is starting to make sense to me and I am very happy so far with my choice. Everyone says the framework is basically Rails for PHP (ever heard of Ruby on Rails?). Since I have never programmed in Ruby (nothing extravagant anyway), nor used the Rails framework with Ruby, I cannot validate this comment but will take everyone’s word for it.

I have had some people ask me (you know who you are) and seen others asked in the #cakephp IRC channel on irc.freenode.net why people don’t just use Ruby on Rails. My answer to that is simple, to me anyway: I have been using PHP since around late 1999 and have been happy with it ever since. My code is getting better and better, more efficient, better organized, etc. I don’t have time right now in my life to learn a new programming language and a development framework. I need to use something now that will allow me to turn out applications and robust dynamic sites with the quickness.

One thing I really like about CakePHP is the user/developer community. There is a lot of user contributed code available for use at the CakePHP Bakery. The range of examples and working applications on that site is enormous (huge-mongous?). I have found a lot of examples that I have been able to include into the site I am currently working on and some things I hope to implement after launch.

Again, I have been very happy with my CakePHP experiences thus far and hope that trend continues. I will be blogging about my experiences, and possibly be making notes in my blog for my own future reference, from here on. If you’re a PHP developer and are itching to try something new to develop sites and applications quicker and with more reusable code, I would give CakePHP a try. It may be worth it in the long run.

Until next time…

2 Responses to “Discovering CakePHP”

    a gravatar
  1. Cocoa Crusty » Blog Archive » Using Lightbox with CakePHP Says:

    [...] on how to get Lightbox incorporated into my CakePHP framework (for more information on CakePHP, read this or visit http://www.cakephp.org). I have used Lightbox in a project for my day job before but not when [...]

    From United States using WordPress WordPress 2.2
  2. a gravatar
  3. Cocoa Crusty » Blog Archive » Using phpThumb() within CakePHP Says:

    [...] am doing a Web project using the CakePHP framework for my “day job”. I have said it before, and I’ll say it again, I love the user community and the user contributed code that CakePHP [...]

    From United States using WordPress WordPress 2.2

Leave a Reply


 

Categories