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: ,

67 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.

  37. 37 Best Northern Kentucky Roofing says:
    Aug 06, 2014 at 10:11 pm

    Obtainig a feeling for how willing the arrchitect is to work
    inside your design requests is also important. You can aoso sdarch on the Google to know mmore abiut the alternatives, get answers
    to your price, and work relevant concerns.
    An attached or semi-attached breakfast room is also a popular design.

    Feel free to visit mmy webpage; Best Northern Kentucky Roofing

  38. 38 http://youtu.be/ says:
    Aug 06, 2014 at 10:26 pm

    In conditioned water, the calcium ions remain suspended iin tthe water as small
    particles, buut tueir propensity to form limescale is reduced.
    Sure, as with anything, people take advantage of a system, and there are
    pan-handlers that go home to nice houses. ” Add candles and stoke the fireplace (even if you have to go so far as a fireplace screensaver if you are fireplace-less.

    Feel free to surf to my web site :: cincinnati roofing contractors (http://youtu.be/)

  39. 39 Recommended Cincinnati Roofer says:
    Aug 10, 2014 at 11:55 pm

    They’re just fire confirmation tiles and in addition carry a good rating for any exact same.
    You can also search on the Google tto know more about the alternatives, get answers
    to your price, and work relevant concerns. 3) What kind of customer guarantee does the home improvement company give.

    Also visit myy weblog :: Recommended Cincinnati Roofer

  40. 40 Brigette says:
    Aug 11, 2014 at 3:08 pm

    Hi this is kind of of off topic but I was
    wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding know-how so I wanted
    to get guidance from someone with experience. Any help
    would be enormously appreciated!

  41. 41 Cincinnati Roofer says:
    Aug 14, 2014 at 8:14 am

    Therefore, their physical offices should be accessible and
    professional. To make itt easy, Warren County residents with expired oor unused prescription drugvs can drop
    them off fro 9 a. Caution should bee exercised in any flood,don’t fall victim to complacency.

    Look into my web blog … Cincinnati Roofer

  42. 42 Clash of Clans Andriod says:
    Aug 18, 2014 at 6:18 am

    you’re in point of fact a just right webmaster.
    The website loading speed is incredible. It sort of feels that
    you’re doing any distinctive trick. In addition,
    The contents are masterpiece. you have performed a wonderful job in this subject!

  43. 43 pomada hemorroidas says:
    Aug 18, 2014 at 10:50 pm

    Thanks on your marvelous posting! I seriously enjoyed reading it, you
    may be a great author. I will make sure to bookmark your blog and will
    eventually come back later in life. I want to encourage one
    to continue your great writing, have a nice holiday weekend!

  44. 44 Dino Storm Hack says:
    Aug 21, 2014 at 2:06 pm

    This is really interesting, You’re a very skilled blogger.
    I have joined your feed and look forward to seeking more of your great post.

    Also, I’ve shared your site in my social networks!

    Here is my web-site; Dino Storm Hack

  45. 45 car finance poor credit rating says:
    Aug 22, 2014 at 12:28 am

    I will immediately seize yoir rss feed as I can not find your e-mail subscription link or newsletter service.
    Do you’ve any? Please let me realize so that I may subscribe.
    Thanks.

    Look at my page; car finance poor credit rating

  46. 46 es.pinterest.com says:
    Aug 25, 2014 at 11:31 am

    Nice blog here! Also your website quite a bit up fast!
    What web host are you the usage of? Can I am getting your
    affiliate hyperlink on your host? I desire my web site loaded up
    as fast as yours lol

  47. 47 Josephine says:
    Aug 26, 2014 at 8:32 am

    What’s up, after reading this awesome paragraph
    i am as well happy too share my know-how here with colleagues.

    my web blog;web page – Josephine -

  48. 48 Kathie says:
    Sep 01, 2014 at 10:07 pm

    Buenas he disdrutado con tu artículo no te conocía a partir de hoy.
    Mi más sincera felicitación tienes una web fantástica Gracias por compartir
    con todos.

  49. 49 Kid Shoes says:
    Sep 04, 2014 at 5:02 am

    Hmm it looks like your ebsite ate myy first comment (it
    was super long) so I guess I’ll juust sum it upp
    what I wrot aand say, I’m thoroughly enjoying your blog.

    I too am an aspiring blog blogger but I’m still new to everything.
    Do you have any recommendation for first-time blog writers?
    I’d really appreciate it.

  50. 50 Exhibition Stands says:
    Sep 04, 2014 at 7:56 am

    Great post. I was checking constantly this blog and I’m impressed!
    Very useful info specially the last part :) I care for such info a lot.
    I was looking for this particular information for a long time.
    Thank you and best off luck.

  51. 51 buy olive trees says:
    Sep 05, 2014 at 1:54 pm

    you’re really a excellent webmaster. The site loading
    velocity is amazing. It sort of feels that you are doing any unique
    trick. Moreover, The contents aree masterpiece. you have done a fantastic job on this subject!

  52. 52 Mailing Bags says:
    Sep 05, 2014 at 3:21 pm

    Incredible! This blog looks exactly like my olld one!

    It’s on a totally different topic but it has pretty much the same layout and
    design. Wonderful choice of colors!

  53. 53 read article says:
    Sep 06, 2014 at 5:16 am

    read article hello! , I enjoy the publishing consequently a great deal! percent we all connect much more about this page on Google? We require a expert for this place to uncover our challenge. Maybe that is definitely an individual! Looking forward to peer you.

  54. 54 Bare Minerals says:
    Sep 10, 2014 at 9:19 pm

    Hi, i think that i saw you visited myy blog thus i
    came to “return the favor”.I am attempting too
    find things to enhance my website!I suppose
    its ok to use some of your ideas!!

    Stop byy my web-site Bare Minerals

  55. 55 Exhibition Stand Design says:
    Sep 15, 2014 at 7:04 am

    Hello to every body, it’s my firstt go to see of this website; this weblog includes aesome and acctually
    good material in support of visitors.

  56. 56 Propecia hair loss treatment says:
    Sep 16, 2014 at 1:12 am

    Excellent post but I was wondering if youu could write a litfe more
    on this topic? I’d be very grateful if you could elaborate a little bit further.
    Thank you!

    My website: Propecia hair loss treatment

  57. 57 Skinny Love lyrics genius says:
    Sep 20, 2014 at 1:15 pm

    It’s an remarkable paragraph in favor of all the online viewers; they will get advantage from it I am sure.

  58. 58 the linden method explained says:
    Sep 21, 2014 at 1:22 am

    If you have been feeling tired and rundown lately, and seem to be gaining weight for no apparent
    reason, then it is time for a change. There are hundreds to choose from, allowing you the choice
    of matching the type with your own health and fitness goals.
    Assuming that you aren’t a super-taught individual, you will have some major snags
    adding on control over your zealous urges towards consuming distinctive
    sustenances.

    Here is my webpage the linden method explained

  59. 59 postage Bags Wholesale says:
    Sep 21, 2014 at 1:27 am

    Hello it’s me, I am also vissiting this web page daily, thios web site is genuinely good and the viewers are actually sharing good thoughts.

  60. 60 visit says:
    Sep 21, 2014 at 10:56 am

    What really can rot a uncertain relationship is loud music early in the morning.

  61. 61 Wilfred says:
    Sep 22, 2014 at 12:58 am

    Hey, I think your blog might be having browser cpmpatibility issues.
    Whenn I look at your blog site in Firefox, it looks fine but when opening in Internet Explorer, it
    has somne overlapping. I just wanted to give you a quick heads up!
    Other then that, wonderful blog!

    Alsso visit my website Sildenafil (Wilfred)

  62. 62 uk envelope sizes postage says:
    Sep 23, 2014 at 10:44 am

    Link exchange is nothing else except it is only placing the other person’s webpage link
    on your page at suitable place and other person will also do similar in support of you.

  63. 63 Ward says:
    Sep 23, 2014 at 6:08 pm

    Wonderful blog! I found it while searching on Yahoo News.

    Do yoou have any tips on how tto get listed in Yahoo News?
    I’ve been tryhing for a whule but I never seem to get there!
    Many thanks

    Also visit my site orquestas de colombia (Ward)

  64. 64 red envelope uk says:
    Sep 24, 2014 at 8:55 pm

    What’s Happening i’m new to this, I stumbled upon this I have discovered It
    positively usefdul and it hhas aided me out loads.
    I’m hoping to give a contribution & help other customers like
    its aided me.Great job.

    My web blog … red envelope uk

  65. 65 tammy says:
    Sep 26, 2014 at 4:15 pm

    Hi, I do think this is a great website.

  66. 66 promotion sbobet says:
    Sep 29, 2014 at 12:53 pm

    I don’t even understand how I stopped up here, however I believed this put up was
    great. I do not recognise who you’re however certainly you’re going
    to a famous blogger in the event you are not already.
    Cheers!

  67. 67 order butalbital apap says:
    Sep 30, 2014 at 6:43 pm

    Great perform! This can be a type of facts that are supposed to often be embraced online. Disgrace on yahoo because of setting this particular upload superior! Can happen in excess of as well as talk to my website order butalbital apap. Thank you so much Implies)

Leave a Comment