Cargando…

CakePHP 2 Application Cookbook.

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

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Watts, James
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2014.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • 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 Strategies Introduction; 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 System Introduction; 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 Asset Compress plugin; Chapter 11: Unit Tests; Introduction; Dependency Injection; Creating a fixture; Mock objects; Stub method configuration; Model unit testing; Chapter 12: Migrations
  • Introduction Schema handling; Syncing changes; The Migrations plugin; Injecting data; Index