CakePHP

I’ve used CakePHP on a few medium sized custom PHP projects, during that time I wrote some tutorials on stuff I’d learnt. I enjoyed working with CakePHP, it has a great community and has a very short learning curve. You can quickly get up to speed with cake and prototype an idea making it a powerful tool.

How to create an API for your app with versioning (Part 1/3)
Api for your application (Part 2/3)
API error handling (Part 3/3)
A series of articles taking you through the process of creating an API for your CakePHP application which can be versioned and does not require a lot of code duplication.

Admin routing
Quick tip for setting up admin routing

Tansactions and saveall
Using transactions to help maintain data integrity when saving multiple models in the controller.

Paginate multiple data sets
A solution for paginating multiple data sets on the same page, the solution has some limitations.

Deployment errors
A note on common deployment errors.

Multiple file uploads using jQuery
An example of creating a basic file upload mechanism then extending it with AJAX.

Using a fallback AJAX failure mechanism with jQuery
Using jQuery to catch all AJAX related errors and handle them in a uniform way.

Session expire bug
A bug with sessions expiring before an AJAX request is completed.

Was this article useful?

rss feed icon

Email this article to yourself or...

rss feed icon

Subscribe to the RSS feed for more useful articles and tips.

Share this article with others

  • del.icio.us
  • Twitter
  • Reddit
  • StumbleUpon
  • Facebook
  • Digg
  • sam

    I like cakePHP

  • This

    this is test

  • Sdfs

    sfasdfasdfasd