I have been using CakePHP for several projects now and have been quite satisfied with it, it’s Rails-like architecture and function similarity makes it quite a breeze and fun to learn. But it’s quite frustrating to learn at first, since I’ve started with high hopes and great expectations that it would be just as easy as Rails.. Well, I was wrong.
CakePHP has it’s differences with Rails, especially on object manipulation and activerecords. But it sure is easy to follow if you’re a PHP addict or a rails newbie.
From my own experience, I find that the tutorials from IBM is the easiest to follow. It straightly attack the common problem with a very good way of saying it. I really suggest you to read it after you’re finished with the original cake manual, well, at least the 15 minutes blog tutorial.
Here’s a brief explanation of the tutorial, taken directly from the IBM Developer Site:
- Part 1 focuses on getting CakePHP up and running, and the basics of
how to put together a simple application allowing users to register for an
account and log in to the application. -
Part 2 demonstrates how to use scaffolding and Bake to get a jump start
on your application, and using CakePHP’s access control lists (ACLs). -
Part 3 shows how to use Sanitize, a handy CakePHP class, which helps
secure an application by cleaning up user-submitted data. Part 3 also
covers the CakePHP Security component, handling invalid requests and
other advanced request authentication. -
Part 4 focuses primarily on the Session component of CakePHP,
demonstrating three ways to save session data, as well as the Request
Handler component to help you manage multiple types of requests
(mobile browsers, requests containing XML or HTML, etc). -
And Part 5 deals with caching, specifically view and layout caching, which
can help reduce server resource consumption and speed up your
application.
Owh and if you haven’t get cake, get them here!
——
Update!
CakePHP is undergoing a very big transition between version 1.1 and ver 1.2. I really suggest you try out 1.2 first since it’s already on the release candidate and will soon be launched. I myself are struggling with 1.1 and are quite stressful because of the lack of documentation and most of the bakers in the bakery are pointing at the 1.2 version.








August 30th, 2007 at 1:49 pm
And no title at all? Wow.. this must be the weirdest post
August 30th, 2007 at 2:54 pm
Ah betul.. gw lupa wakakaka.. Funny, Wordpress didn’t warn me about this…
August 30th, 2007 at 6:21 pm
Good posting bro,
met kenalan y.
August 31st, 2007 at 2:51 pm
met kenalan juga!
thx for visiting
September 22nd, 2007 at 8:35 am
I’m frustrated. Someone should write more solid examples using CakePHP 1.2…many differences. Blog example is too simple. IBM tutorial doesn’t work with 1.2.
September 22nd, 2007 at 8:48 am
Yup, i feel ur pain spheroid. Got most of ‘em from the bakery though. But judging from the 1.0 documentation, I guess it’s trial and error all over again…
November 8th, 2007 at 2:44 am
Cool…
November 17th, 2007 at 2:37 am
interesting
November 26th, 2007 at 2:16 pm
interesting
November 28th, 2007 at 5:51 pm
Nice!