10 Awesome CakePHP Tutorials

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.

Related Articles



Tags: ,

36 Comments

  1. 1 dilsayar says:
    Jul 01, 2010 at 3:47 pm

    great collection, thanks, I have just started learning CakePHP and I hope these will tuts help

  2. 2 JP says:
    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.

  3. 3 Emil says:
    Jul 26, 2010 at 4:00 pm

    We appreciate the inclusion, JP!

  4. 4 mehmet says:
    Aug 03, 2010 at 6:02 am

    Great! thank you for sharing.

  5. 5 Keval Domadia says:
    Nov 02, 2010 at 5:17 am

    Hey they seem to be nice… dont we have something like Learn cakephp in 10mins? :P

  6. 6 hasan ahmed says:
    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.

  7. 7 Rustik says:
    Jun 15, 2011 at 10:28 am

    One more video tutorial:
    http://www.youtube.com/watch?v=eOM3Uykkrcs

  8. 8 JP says:
    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.

  9. 9 Mohamed says:
    Jun 24, 2011 at 3:21 pm

    @JP Whattttt ??????? they stopped developing CakePHP ??????????
    what are your sources please ?

  10. 10 Jose Gonzalez says:
    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

  11. 11 JP says:
    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

  12. 12 Mark Story says:
    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 :)

  13. 13 JP says:
    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!

  14. 14 daniel jones says:
    Sep 29, 2011 at 1:22 am

    great tutorials for learning cake php.thanks

  15. 15 samir says:
    Mar 16, 2012 at 9:37 am

    thanks for the links, great collection.

  16. 16 XuDing says:
    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

  17. 17 sathish says:
    Apr 19, 2012 at 4:24 am

    It helped a lot, great post thanks for sharing!!!!!!!!!

  18. 18 sammy jaryal says:
    Aug 03, 2012 at 8:20 am

    great explaination of topics thanks.

  19. 19 Ravi Bhadauria says:
    Oct 13, 2012 at 2:25 am

    @JP I think development of cakePHP is continue; the latest version is 3.0 and supports php 5.4.

    plz correct it if I am wrong.

  20. 20 Jonas Barnett says:
    Nov 27, 2012 at 5:45 am

    CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.

  21. 21 Marco says:
    Nov 28, 2012 at 5:35 am

    Hi to all, i suggest you a tutorial about sending mail as models with a custom datasource:

    – from a tweet –
    CakePHP Tutorial – send a form mail with a custom datasource [http://bit.ly/11aofLD] #CakePHP #Tutorial #mail #datasource

  22. 22 52.co.nz says:
    Jan 21, 2013 at 12:06 am

    My developer is trying to convince me to move to .net from PHP.

    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been
    using WordPress on numerous websites for about a year and am worried about switching to
    another platform. I have heard great things about blogengine.

    net. Is there a way I can import all my wordpress posts into
    it? Any help would be really appreciated!

  23. 23 ashit kumar says:
    Jan 27, 2013 at 11:25 am

    great tut

  24. 24 alcohol bac calculator says:
    Apr 23, 2013 at 7:44 pm

    It’s remarkable to go to see this website and reading the views of all mates about this piece of writing, while I am also keen of getting know-how.

  25. 25 http://huyfoto.wordpress.com says:
    Aug 07, 2013 at 4:06 pm

    Please let me know if you’re looking for a article author for your site. You have some really great articles and I think I would be a good asset. If you ever want to take some of the load off, I’d love to write some material for your blog in exchange for a link back to mine.
    Please send me an email if interested. Thanks!

  26. 26 Himanshu says:
    Aug 24, 2013 at 2:23 am

    Iam trying to use mail functionality in cakephp to mail multiples peoples, whose status_id is 1 in database, but iam getting error always.. can anybody guide me,by writing the code….

  27. 27 Shantae Bechard says:
    Sep 22, 2013 at 4:43 pm

    After examine a couple of of the blog posts on your website now, and I really like your method of blogging. I bookmarked it to my bookmark website listing and will probably be checking back soon. Pls take a look at my web page as effectively and let me know what you think.

  28. 28 Samsung FullHD TV says:
    Mar 10, 2014 at 6:15 am

    Awesome! Its in fact remarkable piece of writing, I have got much clear idea regarding from
    this paragraph.

  29. 29 mobile games says:
    Apr 14, 2014 at 12:10 pm

    Do you have a spam problem on this blog; I also am a blogger, and I was curious about your situation; many of us have created some nice practices and we are looking to swap methods with others, be
    sure to shoot me an email if interested.

  30. 30 download walk of shame says:
    Apr 23, 2014 at 1:50 pm

    I visited multiple web pages except the audio quality for audio songs present at this website is truly excellent.

    my webpage: download walk of shame

  31. 31 hungry shark evolution cheats says:
    May 05, 2014 at 2:23 pm

    My coder is trying to persuade me to move to .net from PHP.

    I have always disliked the idea because of the
    costs. But he’s tryiong none the less. I’ve been using WordPress on various websites for about a year and am nervous about switching to another platform.
    I have heard good things about blogengine.net. Is there a way I can transfer all my wordpress content
    into it? Any kind of help would be really appreciated!

    My web blog hungry shark evolution cheats

  32. 32 sims freeplay hack says:
    May 13, 2014 at 8:02 am

    I got this web page from my buddy who told me about this web site and now this time I am visiting this web site and reading very informative content at
    this time.

    Feel free to visit my web site … sims freeplay hack

  33. 33 spilleautomater says:
    May 19, 2014 at 5:02 am

    Its like you read my mind! You seem to know a lot about this,
    like you wrote the book in it or something. I think that you can do
    with a few pics to drive the message home a little bit, but
    instead of that, this is wonderful blog. A great read. I will certainly be back.

    Look into my blog post; spilleautomater

  34. 34 rea says:
    May 28, 2014 at 8:48 am

    Quality articles is the important to be a focus for
    the users to visit the website, that’s wnat this web page is providing.

  35. 35 Fran says:
    Jun 20, 2014 at 4:15 am

    What’s up Dear, are you truly visiting this site regularly, if so
    then you will absolutely get fastidious know-how.

  36. 36 ausband law firm says:
    Jul 19, 2014 at 5:38 am

    Once you find thee righ attorney, you will need to contact them and make
    an appointment to sit down and discuss your case.
    Once you hire a Los Angeles personal injury lawyer,
    our duties would not end there. Pain and Suffering: This is the basis of a personal injury claim.

Leave a Comment