10 Awesome CakePHP Tutorials
Posted by JP on June 26th, 2010 in Coding | 17 Comments
Finding decent tutorials for the rapid development PHP framework CakePHP can be a tedious task due to tutorials for this framework being pretty scarce in general.
Today I've compiled a list of 10 awesome tutorials for CakePHP that can be useful for beginners to experts.
1. Getting Started With CakePHP
CakePHP is an open-source framework for PHP intended to make developing, deploying and maintaining applications much easier. CakePHP offers many useful design patterns, such as the Model-View-Controller pattern, seen in other popular frameworks like Ruby On Rails.
This guide will attempt to point you in the right direction so you can get started with CakePHP and eventually develop your own applications using it.
Read the article: Getting Started With CakePHP
2. How to Bake a New Project in CakePHP
In this tutorial you'll learn how to make use of CakePHP's "bake" feature to create applications via the command console in a matter of seconds!
Read the article: How to Bake a New Project in CakePHP
3. Installing CakePHP on Shared Hosting
I recently installed CakePHP on my hosted web but couldn't get it to work quite right. After a few hours mucking around I've managed to get what I think is the correct installation. Please feel free to comment and correct me where I have made mistakes.
Read the article: Installing CakePHP on Shared Hosting
4. Integrating Facebook Connect with CakePHP
I wanted to be able to leverage all of the advantages of using Cake’s built in Auth component in my latest application; problem was that the application needed to allow for both normal user accounts and Facebook Connect generated user accounts. I struggled for a while to find the most seamless approach, and then it clicked — dynamically set Auth->fields.
Read the article: Integrating Facebook Connect with CakePHP’s Auth component
5. CakePHP URL Shortener Service Tutorial
If you have just woken up from a 10 year long coma, you might realise that the internet has been dumbed down to 140 characters and services that offer “URL Shortening” are quite widely used. The writer of this tutorial will show you how to create your very own URL Shortener Service using CakePHP like bit.ly or owl.ly to shorten URLs so you can insert them to fit within your 140 chars max tweets.
Read the article: CakePHP URL Shortener Service Tutorial
6. Create a DVD Catalog App using CakePHP
This is the first article in a series that James Fairhurst will use to document the process of creating a fully featured web application in CakePHP. All of the series are available on his website to make this awesome app.
Read the article: Create a DVD Catalog Application using CakePHP
7. Build a Photo Gallery Using CakePHP and Flickr
Want to share your Flickr photostream with the world, but only once you've given it a nice, customized touch? Look no further than CakePHP -- and a few lines of code -- to pull off some magic! In this article, we'll use the Flickr API and CakePHP to take the images we've loaded onto Flickr and use them to build our own, non-Flickr web gallery.
Read the article: Build a Photo Gallery Using CakePHP and Flickr
8. File uploader with CakePHP
An all around general purpose file uploader for CakePHP. Packaged as a stand alone plugin with file validation, file scanning and support for a wide range of basic mime types.
Class Features:
- Automatically sets all ini settings required for file uploading
- Support for a wide range of mime types: text, images, archives, audio, video, application
- Logs all internal errors that can be retrieved and displayed
- and many more...
Read the article: File upload with CakePHP
9. CakePHP RSS Feed Datasource
We are releasing our RSS datasource to CakePHP developers for CakePHP Development. We know there are others out there, but what we like about ours is that it supports the following:
- Built-in Pagination
- Sorting
- Content filtering
Read the article: Read the article: CakePHP RSS Feed Datasource
10. Creating PDF files with CakePHP and TCPDF
With CakePHP 1.2 creating PDFs with CakePHP has just gotten a lot easier. This tutorial shows how to combine CakePHP and the powerful TCPDF for easy PDF file creation.
Read the article: Creating PDF files with CakePHP and TCPDF
Free CakePHP eBook
Super Awesome Advanced CakePHP Tips
CakePHP 1.3 Application Development Cookbook
If you're going to read one CakePHP book, CakePHP 1.3 Application Development Cookbook should be it. It goes in detail from the basics up until the advanced stuff.



Jul 01, 2010 at 3:47 pm
great collection, thanks, I have just started learning CakePHP and I hope these will tuts help
Jul 01, 2010 at 7:21 pm
Glad you like it. I’m still learning CakePHP myself but some of these tutorials have helped me out a lot in understanding CakePHP.
Jul 26, 2010 at 4:00 pm
We appreciate the inclusion, JP!
Aug 03, 2010 at 6:02 am
Great! thank you for sharing.
Nov 02, 2010 at 5:17 am
Hey they seem to be nice… dont we have something like Learn cakephp in 10mins? :P
Apr 05, 2011 at 5:27 am
his is a great tutorial! However, I wanted a way to use the auth controller and have multiple forms of authentication. I think my method is sound but would like some other eyes on it.
Jun 15, 2011 at 10:28 am
One more video tutorial:
http://www.youtube.com/watch?v=eOM3Uykkrcs
Jun 17, 2011 at 4:42 am
@Rustik: It’s a pity that the development for CakePHP has stopped :( I really thought the framework had a lot of potential.
I’m currently learning Ruby on Rails, so I might post some tutorials /posts about it in the near future.
Jun 24, 2011 at 3:21 pm
@JP Whattttt ??????? they stopped developing CakePHP ??????????
what are your sources please ?
Jun 24, 2011 at 4:02 pm
@JP @Mohamed @Rustik CakePHP development has not stopped, so don’t spread outright lies. Take a look at the recent commits yourself: https://github.com/cakephp/cakephp/commits/master
Jun 24, 2011 at 5:07 pm
@Jose: 2 years at 1.3 seems pretty dead to me bro… maybe they finally got some people working on it but other frameworks are constantly releasing updates, etc.
Another reason I said that was because a couple of months ago I read that the lead developers for CakePHP have stopped working on the project so I pretty much figured it was dead :p
Jun 24, 2011 at 10:46 pm
You seem to have missed, the two 2.0 release’s we’ve done. While they were dev and alpha releases, I think they still count. Furthermore, your math is incorrect. 1.3.0 was released on Apr 25 2010, which makes it 1 year and 2 months old. I don’t think that really qualifies as 2 years either. In any case CakePHP is far from dead, and is an active and growing project :)
Jun 24, 2011 at 10:53 pm
@Mark: That’s awesome news man :) Glad to know it’s still alive then. I refused to learn any other PHP frameworks back when I started out, always thought it had way more potential than CodeIgniter and the other big PHP frameworks.
Keep up the good work and work hard on releasing v2!
Sep 29, 2011 at 1:22 am
great tutorials for learning cake php.thanks
Mar 16, 2012 at 9:37 am
thanks for the links, great collection.
Mar 27, 2012 at 6:20 am
We have published a plenty of CakePHP tutorials at http://www.startutorial.com.
Let us know if they could help CakePHP beginner.
Regards
XD
Apr 19, 2012 at 4:24 am
It helped a lot, great post thanks for sharing!!!!!!!!!