作者简介 洛克哈特,开发了Slim框架,这是一个PHP微型框架,适合快速开发Web应用和API。乔希还是“PHP之道”的发起人和当前的维护者。乔希·洛克哈特是New Media Campaigns的开发者,这个机构位于北卡罗来纳州卡勃罗市,提供多方面的服务,包括Web设计、开发和营销。他热衷于使用HTML、CSS、PHP、JavaScript、Bash和各种内容管理框架开发应用。
目录 Preface
Part Ⅰ. Language Features
1.The New PHP
Past
Present
Future
2.Features
Namespaces
Why We Use Namespaces
Declaration
Import and Alias
Helpful Tips
Code to an Interface
Traits
Why We Use Traits
How to Create a Trait
How to Use a Trait
Generators
Create a Generator
Use a Generator
Closures
Create
Attach State
Zend OPcache
Enable Zend OPcache
Configure Zend OPcache
Use Zend OPcache
Built-in HTTP server
Start the Server
Configure the Server
Router Scripts
Detect the Built-in Server
Drawbacks
Whats Next
Part Ⅱ.Good Practices
3.Standards
PHP-FIG to the Rescue
Framework Interoperability
Interfaces
Autoloading
Style
What Is a PSR?
PSR-1: Basic Code Style
PSR-2: Strict Code Style
PSR-3: Logger Interface
Write a PSR-3 Logger
Use a PSR-3 Logger
PSR-4: Autoloaders
Why Autoloaders Are Important
The PSR-4 Autoloader Strategy
How to Write a PSR-4 Autoloader (and Why You Shouldnt)
以下为对购买帮助不大的评价