Book Image

CakePHP 2 Application Cookbook

Book Image

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
Index

Introduction


The model layer is the driving factor behind applications in CakePHP. It offers a powerful abstraction of your database by exposing your tables as model objects, allowing the framework to make assumptions about your data structure through conventions and for you to work on a business-domain level instead of raw SQL.

In this chapter, we will take a look at the various aspects of the models and how to wield their power.