万本电子书0元读

万本电子书0元读

顶部广告

CakePHP 2 Application Cookbook电子书

售       价:¥

52人正在读 | 0人评论 9.8

作       者:James Watts

出  版  社:Packt Publishing

出版时间:2014-08-06

字       数:176.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

CakePHP 2 Application Cookbook

Table of Contents

CakePHP 2 Application Cookbook

Credits

Foreword

About the Authors

About the Reviewer

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Lightning Introduction

Introduction

Listing and viewing records

Getting ready

How to do it...

How it works...

See also

Adding and editing records

Getting ready

How to do it...

How it works...

See also

Deleting records

Getting ready

How to do it...

How it works...

See also

Adding a login

Getting ready

How to do it...

How it works...

See also

Including a plugin

Getting ready

How to do it...

How it works...

See also

2. Advanced Routing

Introduction

Adding a prefix

Getting ready

How to do it...

How it works...

Handling languages

Getting ready

How to do it...

How it works...

See also

Custom route class

Getting ready

How to do it...

How it works...

There's more...

See also

Dispatch filter

Getting ready

How to do it...

How it works...

There's more…

3. HTTP Negotiation

Introduction

Parsing extensions

Getting ready

How to do it...

How it works...

See also

Processing Ajax requests

Getting ready

How to do it...

How it works...

See also

Building a response

Getting ready

How it works...

Uploading a file

Getting ready

How to do it...

How it works...

There's more…

Using a detector

Getting ready

How to do it...

How it works...

See also

Working with cookies

Getting ready

How to do it...

How it works...

Cache control

Getting ready

How to do it...

How it works...

See also

Error handling

Getting ready

How to do it...

How it works...

See also

4. API Strategies

Introduction

RESTful resources

Getting ready

How to do it...

How it works...

See also

Exposing a web service

Getting ready

How to do it...

How it works...

See also

Consuming a service

Getting ready

How to do it...

How it works...

See also

Authentication API

Getting ready

How to do it...

How it works...

See also

API versioning

Getting ready

How to do it...

How it works...

There's more...

See also

5. Using Authentication

Introduction

The HTTP authentication

Getting ready

How to do it...

How it works...

See also

Custom authorize class

Getting ready

How to do it...

How it works...

See also

Facebook authentication

Getting ready

How to do it...

How it works...

See also

Custom RBAC

Getting ready

How to do it...

How it works...

See also

Working with ACL

Getting ready

How to do it...

How it works...

See also

6. Model Layer

Introduction

Has and belongs to many (HABTM)

Getting ready

How to do it...

How it works...

See also

Joining through

Getting ready

How to do it...

How it works...

See also

Containing models

Getting ready

How to do it...

How it works...

See also

Custom finders

Getting ready

How to do it...

How it works...

See also

On-the-fly associations

Getting ready

How to do it...

How it works...

See also

Using transactions

Getting ready

How to do it...

How it works...

See also

7. Search and Pagination

Introduction

Pagination

Getting ready

How to do it...

How it works...

See also

Basic search and filter

Getting ready

How to do it...

How it works…

See also

The Search plugin

Getting ready

How to do it...

How it works...

See also

Advanced search

Getting ready

How to do it...

How it works...

See also

8. Events System

Introduction

Listeners and subscribers

Getting ready

How to do it...

How it works...

See also

Event-driven process

Getting ready

How to do it...

How it works...

See also

Event stacking

Getting ready

How to do it...

How it works...

See also

Managing event priorities

Getting ready

How to do it...

How it works...

See also

9. Creating Shells

Introduction

Console API

How to do it...

How it works...

See also

Import parser

Getting ready

How to do it...

How it works...

See also

Running cron shells

Getting ready

How to do it...

How it works...

See also

Using the I18n shell

Getting ready

How to do it...

How it works...

See also

10. View Templates

Introduction

Using blocks

Getting ready

How to do it...

How it works...

Building an XML view

Getting ready

How to do it...

How it works...

See also

Generating a PDF

Getting ready

How to do it...

How it works...

Writing some PDF content to a file

See also

Translations

Getting ready

How to do it...

How it works

There's more...

See also

View caching

Getting ready

How to do it...

How it works...

See also

The AssetCompress plugin

Getting ready

How to do it...

How it works...

See also

11. Unit Tests

Introduction

Dependency Injection

Getting ready

How to do it...

How it works...

See also

Creating a fixture

Getting ready

How to do it...

How it works...

Mock objects

Getting ready

How to do it...

How it works...

See also

Stub method configuration

Getting ready

How to do it...

How it works...

See also

Model unit testing

Getting ready

How to do it…

How it works…

See also

12. Migrations

Introduction

Schema handling

Getting ready

How to do it...

How it works...

See also

Syncing changes

Getting ready

How to do it...

How it works...

See also

The Migrations plugin

Getting ready

How to do it...

How it works...

See also

Injecting data

Getting ready

How to do it...

How it works...

See also

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部