Book Image

CakePHP 2 Application Cookbook - Third Edition

By : Watts
Book Image

CakePHP 2 Application Cookbook - Third Edition

By: Watts

Overview of this book

If you are a CakePHP developer looking to ease the burden of development, then this book is for you. As a headfirst dive into the framework, this collection of recipes will help you get the most out of CakePHP, and get your applications baked in no time. Even if you're not familiar with the framework, we'll take you from basic CRUD building to useful solutions that will aid in getting the job done quickly and efficiently.
Table of Contents (14 chapters)
13
Index

Introduction

Working with the database that powers your application can become a task in itself. Luckily, CakePHP provides a set of tools to easily handle your database schema and migrations.

In this chapter, we'll look at how simple it is to build and maintain your database while keeping your schema changes up to date with your code base.

Note

Note that even if you use the schema and migrations plugin tool, you should take regular and automated backups of your live databases and store the backups on another host to avoid any loss in case of a server crash. The tools described in this chapter will help you save the changes you perform on your database schema, but you'll need to provide additional backup and recovery procedures, just in case of any issues.