【内容简介】 PHP这门编程语言正在经历一场复兴,虽然这点 从网上各种过时PHP教材还很难看出来。在这本《现代 PHP(影印版)(英文版)》的实用指导的帮助下,读者 会看到PHP已经变成一门功能齐全、成熟的编程语言, 包括支持面向对象、命名空间以及一套不断扩大的可 复用组件代码库。 作者洛克哈特是“PHP The Right Way”的创始 人(这是一项广受欢迎的运动,旨在鼓励PHP*佳实践 ),他用实例阐述了这门编程语言中的新特性。你将学 到各种*佳实践,包括应用架构以及规划、数据库、 安全、测试、调试和应用部署。如果你已有PHP基础并 且想提升技能,这就是你该看的书。
【目录】 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 What's 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 Shouldn't) 4.Components Why Use Components? What Are Components? Components Versus Frameworks Not All Frameworks Are Bad Use the Right Tool for the Job Find Components Shop Choose Leave Feedback Use PHP Components 5.Good Practices Part Ⅲ.Deployment, Testing, and Tuning 6.Hosting 7.Provisioning 8.Tuning 9.Deployment 10.Testing 11.Profiling 12.HHVMand Hack 13.Community A.Installing PHP B.Local Development Environments Index
以下为对购买帮助不大的评价