CakePHP Application Development

More Information
  • Develop well-structured applications faster, using CakePHP's MVC
  • Install and set up CakePHP
  • Create and configure your database to build a bookmark manager interface step by step
  • Build a model that that integrates with your database and provides basic features to your application: inserts, updates, deletes, searches, and relationships
  • Create views that present the user interface in an attractive, organized, and maintainable way
  • Develop controllers to interact with model classes, use callback functions, and create reusable components
  • Prototype applications fast using scaffolding to auto-generate user interface code
  • Create custom user interfaces using layouts, elements, helper classes, and CakePHP's FormHelper
  • Build complex data models with multiple related tables, using Cake associations
  • Enhance your data models by adding new functionalities like user authentication and data validation
  • Automate repetitive tasks and speed up development using shells
  • Reduce the amount of code you write yourself using Bake to automatically generate essential code based on your database design
  • Add interactivity using JavaScript and AJAX
  • Work with user pages, search, pagination, and RSS

Cake is a rapid development framework for PHP that uses well-known design patterns and provides a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss of flexibility. It means you can code faster, your code is better, and it makes writing Web 2.0-style apps a snap.

This book offers step-by-step instructions to learn the CakePHP framework and to quickly develop and deploy web-based applications. It introduces the MVC pattern and coding styles using practical examples. It takes the developer through setting up a CakePHP development and deployment environment, and develops an example application to illustrate all of the techniques you need to write a complete, non-trivial application in PHP. It aims to assist PHP programmers to rapidly develop and deploy well-crafted and robust web-based applications with CakePHP.

  • Develop cutting-edge Web 2.0 applications, and write PHP code in a faster, more productive way
  • Walk through the creation of a complete CakePHP Web application
  • Customize the look and feel of applications using CakePHP layouts and views
  • Make interactive applications using CakePHP, JavaScript, and AJAX helpers
  • Ready for the forthcoming release of CakePHP 1.2
Page Count 332
Course Length 9 hours 57 minutes
ISBN 9781847193896
Date Of Publication 14 Jul 2008


Ahsanul Bari

Ahsanul Bari is a web application developer from Dhaka, Bangladesh. After graduating from North South University with a bachelor's degree in Computer Science, he has been involved in developing various web applications for local businesses. At a very early stage of his career he felt the need for tools and techniques to build structured and maintainable web applications. That is when he found out about CakePHP. It was love at first sight and he decided to use CakePHP for his future projects. He never had to look back, and from then on he has been heavily using CakePHP for all kinds of projects. Most notably, using CakePHP, he developed an ERP solution for companies involved in urban and land development.

Apart from that, he has also 'irregularly' contributed to the CakePHP Documentation Team. He is also an 'irregular' blogger ( and Just when people start to think that he has given up blogging, he is known to write a post from nowhere! Among his friends and colleagues, he is known as a fanboy for CakePHP.

Currently he is working at Trippert Labs, where he has been involved in making a travel-based blogging system,

Anupom Syam

Anupom Syam is a web application developer from Dhaka, Bangladesh. He started programming back in 1998 in C when he was a high school kid. In his early university years, he met Java and fell in love immediately. Through the years he has become proficient in various aspects of Java (ME, SE, and EE). Early in his career he was engaged mainly in building localized mobile applications. Over time his interest in web technologies grew and he did not hesitate to jump onto the Web 2.0 bandwagon. Over the last five years he has been working with different startups and building web/mobile applications. He currently works as a Development Engineer at Trippert, Inc. where he has been involved in developing a travel-based blogging system (which is developed using CakePHP) as the lead back-end programmer.

He loves to build rich-client web apps with JavaScript/AJAX in the front end and CakePHP/RoR/MySQL in the back end. He still uses Java heavily for his personal fun-time projects. He also maintains blogs: and Besides programming he is interested in many things, ranging from the most recent scientific discoveries to ancient Vedic philosophies.