Is CakePHP the Answer to Ruby On Rails?

August 9th, 2005 | by Mike |

Ruby on Rails is the shiniest, newest thing in the world of web development (my books should be coming soon from Amazon), because it allows the programmer to do away with hundreds of lines of code to do basic database driven website stuff. For example, a simple blog that has adding, editing and deleting entries can take 10 times the amount of code in PHP as it can in a Ruby on Rails version. So does this mean the end to our beloved PHP? Not if CakePHP has anything to do with it.
Here are CakePHP’s features:

Features

* compatibile with PHP4 and PHP5
* supplies integrated CRUD for database and simplified querying so you shouldn’t need to write SQL for basic operations (although some familiarity with SQL is strongly recommended)
* request dispatcher with good-looking, custom URLs
* fast, flexible templating (PHP syntax with helper methods)
* works from a website subdirectory, with very little Apache configuration involved (requires .htaccess files and mod_rewrite to work; these are available on most web servers)

Hmm. I’m going to have to give this a try. I still plan on using Ruby on Rails, but this could be nice for those large PHP projects most developers have lying around. Has anyone out there used CakePHP yet?

Viewing 4 Comments

 
close Reblog this comment
blog comments powered by Disqus