PHP精髓编写高效的PHP代码.pdf
这本书由8章组成,每章都有一个主题;第 1 章重申了面向对象编程的核心概念和技术,以确保缺乏基础知识的开发人员能够正确理解它们;第2章总结了PHP开发的基本概念和技术各种与数据库相关的最佳实践,如数据持久化、数据存储、MySQL使用、PDO、数据库设计等;第 3 章详细解释了 API 以及如何使用它;第4章总结了常用的PHP开发各种设计模式及其使用原则;第5章讲解如何编写安全的PHP代码,总结分析PHP开发中的各种常见安全问题;第 6 章侧重于基准测试、系统测试、数据库,从文件系统等方面讨论 PHP 应用程序的性能问题;第7章讲解PHP的自动化测试,包括单元测试、数据库测试、负载均衡测试等;第 8 章总结了 PHP 开发实践中与质量保证相关的最佳实践,包括质量衡量、编码标准、源代码管理、自动化部署等。此外,本书还解释了 PEAR、PECL 和 PHP 标准库。(The book consists of eight chapters, each with a theme; Chapter 1 reiterates the core concepts and technologies of object-oriented programming to ensure that developers who lack basic knowledge can correctly understand them; Chapter 2 summarizes the basic concepts and technologies of PHP development and various database related best practices, such as data persistence, data storage, MySQL use, PDO, database design, etc; Chapter 3 explains the API and how to use it in detail; Chapter 4 summarizes the commonly used PHP development design patterns and their application principles; Chapter 5 explains how to write safe PHP code, summarizes and analyzes various common security problems in PHP development; Chapter 6 focuses on benchmark, system test and database, and discusses the performance of PHP applications from the aspects of file system; Chapter 7 explains the automatic testing of PHP, including unit testing, database testing, load balancing testing, etc; Chapter 8 summarizes the best practices related to quality assurance in PHP development practice, including quality measurement, coding standards, source code management, automatic deployment, etc. In addition, the book also explains pear, PECL and PHP standard libraries.)
页:
[1]