Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by David Golding
Beginning CakePHP: From Novice to Professional
Title Page
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
CHAPTER 1: Introduction
From Novice to Professional
Why Cake?
Summary
PART 1: Getting Started
CHAPTER 2: Installing and Running CakePHP
A Simple Start: Running Cake on a Localhost Environment
Running the Setup Routines
Summary
CHAPTER 3: Creating a To-Do List Application
Exploring the MVC Structure
Designing and Creating the Database
Creating Models
Creating Controllers
Launching the Application
Creating the Scaffolding
Summary
PART 2: Developing CakePHP Applications
CHAPTER 4: Naming Files and Designing the Database
Convention Over Configuration
MVC Default Behaviors
Naming Conventions
Poorly Designed Databases
Table Associations
Beyond the Scaffold
Summary
CHAPTER 5: Creating Simple Views and Baking in the Console
Introducing Layouts
Creating Individual Views
Using Bake to Create Views
Editing Baked Views
Using Commands for Faster Baking
Customizing Views
Summary
CHAPTER 6: Customizing Views
Handling User Interactions
Writing Individual View Files
Using Other Helpers
Summary
CHAPTER 7: Working with Controllers and Models
Building an Extensive Blog
Working with Actions
Customizing the Controller for the Blog
Creating a Model for the Blog
Writing Custom Model Functions
Trimming Results
Summary
CHAPTER 8: Implementing Ajax Features
How Ajax Works
Preparing the Ajax Helper
Adding Comments to the Blog
Working Ajax into the View
Working Ajax into the Controller
Using Other Ajax Helper Functions
Doing More with the Ajax Helper
Uploading Files with jQuery
More Ajax Features
Summary
PART 3: Advanced CakePHP
CHAPTER 9: Helpers
Installing Helpers
Using Cake's Built-in Helpers
Using Other Built-in Helpers
Creating Custom Helpers
Customizing Helper Variables
Summary
CHAPTER 10: Routes
The Basic Route
Arguments
Reverse Routing
Admin Routing
Route Parameters
Parsing Files with Extensions Other Than .php
Summary
CHAPTER 11: Components and Utilities
Why Use Components?
Using Built-in Components
Utility Classes
Third-Party Components
Creating Custom Components
Summary
CHAPTER 12: Vendors
Using Vendors
Making No Assumptions for Third-Party Scripts
Installing a Third-Party Script
Using Other Frameworks with CakePHP
Summary
CHAPTER 13: Plugins
Installing a Third-Party Plugin
Creating Custom Plugins
The Calendar Plugin
Summary
CHAPTER 14: DataSources and Behaviors
Extending the Model with DataSources and Behaviors
Working with DataSources
Working with Behaviors
Summary
CHAPTER 15: Wrapping Up the Application
Designing the Home Page
Generating Dynamic Navigation
Customizing the Overall Design
Debugging the Application
Running the Application on a Remote Host
Summary
PART 4: Appendixes
APPENDIX A: Installation Issues
Developing in a Localhost Environment
Setting Up a Localhost
Running MySQL
APPENDIX B: How CakePHP Compares with Other Frameworks
PHP Frameworks
Using the Various Frameworks
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset