CRUD Operations and the Bake Script
CHAPTER 2 Installing and Running CakePHP
A Simple Start: Running Cake on a Localhost Environment
Preparing the tmp Folder for Cake to Read and Write Temp Files
Changing the Security.salt Value
Entering MySQL Connection Settings
Designing Your Database Schema
CHAPTER 3 Creating a To-Do List Application
Designing and Creating the Database
What's Happening in This Model
What's Happening in This Controller
CHAPTER 4 Naming Files and Designing the Database
More Than One Word in the Name
Why Good Database Design Matters
Conventions for Establishing Table Associations
CHAPTER 5 Creating Simple Views and Baking in the Console
Adding Actions to the Controller
Configuring the Console's Profile to Run Bake
Using Bake to Generate CRUD Views
Considering Internationalization
Using Commands for Faster Baking
Filling Form Fields for Editing or Updating
Customizing the View File from Scratch
CHAPTER 7 Working with Controllers and Models
How Callback Actions Work in the Controller
Customizing the Controller for the Blog
Displaying the Most Recent Posts
Writing Custom Model Functions
CHAPTER 8 Implementing Ajax Features
Including the JavaScript Helper in the App Controller File
Making Helpers Available for the Whole Application
Working Ajax into the Controller
Using Other Ajax Helper Functions
Doing More with the Ajax Helper
Passing JavaScript with the Options Array
Installing jQuery and the Form Plugin
Creating the Posts Controller Text Action
Explain Every Helper Function?
Using the HTML Helper in the Default Layout
Using Outside Helper Functions
Linking Admin Actions and Views
Parsing Files with Extensions Other Than .php
CHAPTER 11 Components and Utilities
Localization and Internationalization
Using the Initialize and Startup Functions
Writing Vendor Files Instead of Components
Making No Assumptions for Third-Party Scripts
Installing a Third-Party Script
Instantiating and Running Textile
Using Other Frameworks with CakePHP
Installing a Third-Party Plugin
Naming Convention for Plugin Elements
Setting Up the Files and Folders
CHAPTER 14 DataSources and Behaviors
Extending the Model with DataSources and Behaviors
Using the Tree Behavior to Categorize Blog Posts
Using Other Tree Behavior Functions
Using the ACL and Translate Behaviors
Using the Containable Behavior
Attaching and Detaching Behaviors
CHAPTER 15 Wrapping Up the Application
Using the Pages Controller to Produce a Single View
Making an Action the Starting Point
Customizing the Overall Design
Running the Application on a Remote Host
APPENDIX A Installation Issues
Developing in a Localhost Environment
Using the Localhost First, Remote Last
Why Doing It All Remotely Is Bad
Where to Find Other MySQL Tools
Typical Settings When Running MySQL
3.144.128.57