mmmm….. Cake
October 25, 2005
I’ve been hearing this Ruby on Rails buzz for a while now and finally decided to have a go. I installed Ruby on my machine, installed Rails Gems but i completely lost track after that. Maybe I didnt read the docs properly. Anyway, I really dont want to learn another programming language at the moment. I’m in love with PHP and i’m very happy.
But couple of weeks ago I heard about Cake, not the ones you bake, but a development framework for PHP that works like Rails. I decided to give it a shot.
Here’s what they have to say about Cake.
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 started reading the tutorials in the Cake Wiki. The first Tutorial goes like this: Create a database, make a new model, controller and view and write about 10 lines of code. Done!
OMFG. You gotta be kidding me! … that was my first expression. I continued reading and tried to understand how Cake works and I must say, I’m Impressed. I been using my own framework which is basically Smarty, PEAR::DB and about 50 self-written classes tightly bonded togather. I’ve used that to develop all my past projects.
There’s something I didnt like about Cake. Cake lacks templating capabilities and its not possible to separate HTML from PHP. It also doesnt support DB abstraction. I’m saying these becuase i’m coming from a PEAR::DB + Smarty environment.
Cake has not had a major stable release so Im not jumping on Cake at the moment but i’ll keep an eye on it. Looks really delicious!








November 15, 2005 at 3:09 pm
Apparently, symfomy has all the stuff you couldn’t find on Cake…
If you try it, give us an overview too!
March 13, 2007 at 6:08 pm
Well, I think CodeIgniter rocks especially for it’s simplicity and short learning curve. Why not give it a try?