In CakePHP, automatic code generation is called Baking. An entire application can be generated with all CRUD operations from a few database tables without writing a single line of code. Baking is a great relief for lazy programmers. Moreover, it can be used to generate a basic skeleton application to get up and running. The bake script can be run from the command line. We will now see how a database can be configured using the 'bake' routine.
CakePHP Application Development
By :
CakePHP Application Development
By:
Overview of this book
<p>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.<br /><br />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.</p>
Table of Contents (18 chapters)
CakePHP Application Development
Credits
About the Authors
About the Reviewer
Preface
Free Chapter
Introduction to CakePHP
A Quick Installation
A Quick App
Controllers: Programming Application Logic
Models: Accessing Data
ORM: Modelling the Table Relationship
Views: Creating User Interfaces
Using Shells: Get Further, Faster
Making Quickwall: The Basics
Quickwall: User Authentication
Quickwall: JavaScript and AJAX
Quickwall: Making It Better
Index
Customer Reviews