CakePHP 2 application cookbook : over 60 useful recipes for rapid application development with the CakePHP framework /
Saved in:
Author / Creator: | González, Jorge. |
---|---|
Imprint: | Birmingham, UK : Packt Pub., 2014. |
Description: | 1 online resource (1 volume) : illustrations |
Language: | English |
Subject: | |
Format: | E-Resource Book |
URL for this record: | http://pi.lib.uchicago.edu/1001/cat/bib/11304654 |
Table of Contents:
- Cover; Copyright; Credits; Foreword; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Lightning Introduction; Introduction; Listing and viewing records; Adding and editing records; Deleting records; Adding a login; Including a plugin; Chapter 2: Advanced Routing; Introduction; Adding a prefix; Handling languages; Custom route class; Dispatch filter; Chapter 3: HTTP Negotiation; Introduction; Parsing extensions; Processing Ajax requests; Building a response; Uploading a file; Using a detector; Working with cookies; Cache control; Error handling
- Chapter 4: API StrategiesIntroduction; RESTful resources; Exposing a web service; Consuming a service; Authentication API; API versioning; Chapter 5: Using Authentication; Introduction; The HTTP authentication; Custom authorize class; Facebook authentication; Custom RBAC; Working with ACL; Chapter 6: Model Layer; Introduction; Has and belongs to many (HABTM); Joining through; Containing models; Custom finders; On-the-fly associations; Using transactions; Chapter 7: Search and Pagination; Introduction; Pagination; Basic search and filter; The Search plugin; Advanced search
- Chapter 8: Events SystemIntroduction; Listeners and subscribers; Event-driven process; Event stacking; Managing event priorities; Chapter 9: Creating Shells; Introduction; Console API; Import parser; Running cron shells; Using the I18n shell; Chapter 10: View Templates; Introduction; Using blocks; Building an XML view; Generating a PDF; Writing some PDF content to a file; Translations; View caching; The AssetCompress plugin; Chapter 11: Unit Tests; Introduction; Dependency Injection; Creating a fixture; Mock objects; Stub method configuration; Model unit testing; Chapter 12: Migrations
- IntroductionSchema handling; Syncing changes; The Migrations plugin; Injecting data; Index