10 Awesome CakePHP Tutorials
Posted by JP on June 26th, 2010 in Coding | 4 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




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.