Your first bite of CakePHP
Fabio Cevasco has written another introductory article about CakePHP, this time on sitepoint.com. It is a good read for newbies, but if you have already done your first steps with CakePHP you probably know the things explained in the article.




Yes, I agree… I wrote this a few months ago actually (and kept updating it with the help of the CakePHP guys) and it got published as a featured article just yesterday…
Nonetheless, as a newbie baker, I appreciate Fabio’s efforts.
Sure, his recent article resembles the ‘Blog tutorial’ in the manual, but for a newbie, this is very useful. The manual is useful, but lacks of examples, and is sometimes confusing.
I’m trying to improve with CakePHP, and I’m eager to find code samples.
And in fact, when Fabio feels like writing more advanced tutorials, I would certainly be his guest ! ;-)
@Guy: If you miss examples in the manual, please open doc tickets on http://trac.cakephp.org . As the people working on the manual are no newbies it is good to hear what newbies miss. So let us know what we can improve!
Hello,
I’m new to CakePHP, on my first cake setup, i tried to follow the tutorial and create files as stated but it seems I can’t access the page that I’m suppose to access like app/views/users/register.thtml. Its giving me this error below:
Not Found
The requested URL /cake/users was not found on this server.
I already created the controller(app/controllers/users_controller) and the model (app/models/user.php) for this one. Maybe I miss something out.
Your help is greatly appreciate. Thank you very much.
Wendell
@Wendell: Sounds like a mod_rewrite issue, have a look at the section “Configuring Apache and mod_rewrite” in the manual.
HTH
@cakebaker: Thank you for your response. Yes you are right, the problem is related to mod_rewrite and it is okay now.
Though, I have encountered another issue and this is related to Captcha. I can’t get the Captcha image to display, I tried to implement this captcha component class under this article
http://bakery.cakephp.org/articles/view/captcha-component-with-phpcaptcha
and it seems not to be working on my side. I’m using Apacher 2.x, PHP 5.x and CakePHP 1.2alpha.
Or is there other way to use Captcha in CakePHP 1.2alpha? or can you suggest any good implemention or tutorial about captcha?
I really appreciate your help.
– Wendell
@Wendell: I don’t have any experience with Captchas, but you could try http://bakery.cakephp.org/articles/view/integrate-cakephp-with-kcaptcha
Good luck!