Book Image

CakePHP 2 Application Cookbook

By : James Watts, Cake Software Foundation, Inc.
Book Image

CakePHP 2 Application Cookbook

By: James Watts, Cake Software Foundation, Inc.

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
Index

Introduction


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/.