Views are files that render the final output for a user to possibly be consumed by a service. They can be plain text, HTML, XML, JSON, or even a format that you define for your application. In CakePHP, these files are stored in a directory, which by convention is named after the controller it belongs to, with the .ctp
extension in app/View/
.
CakePHP 2 Application Cookbook
CakePHP 2 Application Cookbook
Overview of this book
Table of Contents (20 chapters)
CakePHP 2 Application Cookbook
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Free Chapter
Lightning Introduction
Advanced Routing
HTTP Negotiation
API Strategies
Using Authentication
Model Layer
Search and Pagination
Events System
Creating Shells
View Templates
Unit Tests
Migrations
Index
Customer Reviews