Free Sample
+ Collection

Instant CakePHP Starter

Mark Robert Henderson

Learn everything you need to develop a feature-rich CakePHP app, from installation to deployment
RRP $12.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782162605
Paperback76 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Focus on an iterative practical approach to learn the myriad features of CakePHP
  • Learn about Models, Views, and Controllers as well as scaffolding, themes, behaviors, and routing
  • Scaffold and generate your application code using the command-line “bake” tool almost exclusively

Who This Book Is For

This book is for those who have experience in writing HTML/CSS, and a little bit of JavaScript and PHP, and want to learn the basics of CakePHP in an engaging manner.

Table of Contents

Chapter 1: Instant CakePHP Starter
So, what is CakePHP?
Quickstart – building a web application
Top 6 features you'll want to know about
People and places you should get to know

What You Will Learn

  • Install the development version of CakePHP
  • Deploy the development code to a live production server, using AppFog
  • Use the command line “bake” tool to auto-generate Models, Views, and Controllers
  • Set up a JSON service for JavaScript and other clients to consume
  • Define your database schema in code and use the “cake” command line tool to generate and execute the SQL automatically
  • Create and update themes, which are pluggable versions of the Views you know and love

In Detail

CakePHP is an exciting tool focused on writing web applications in PHP in a simple and fast way that requires less code. You can rapidly build prototypes using code generation and scaffolding. It doesn't require any complicated XML or YAML files. You just need to set up your database and you're ready to bake!

Instant CakePHP Starter contains several tutorials that together build a powerful and engaging application, and in the process teaches you many features of CakePHP, both common and obscure. It is not simply a listing and explanation of features you could get from reading the online documentation. This book is an exploration of the experience of installing, building, and deploying a CakePHP application in a step by step way.

This book begins by installing CakePHP locally, and then deploying your application to production.

We move on by scaffolding our application using the wonderful command-line tool that is packaged with CakePHP, bake. With our code generated for us, we install a theme to instantly update the look of the app, iterating over it a few times to add URLs, an installable JavaScript component, and a JSON service.

We conclude with a discussion of the community. In short, Instant CakePHP Starter is a kick start to your experience with both CakePHP and its community.


Read More

Recommended for You

CakePHP 2 Application Cookbook
$ 29.99
CakePHP 1.3 Application Development Cookbook
$ 23.99
Magento PHP Developer’s Guide
$ 26.99
WordPress Responsive Theme Design Essentials
$ 16.00
CodeIgniter 1.7 Professional Development
$ 23.99