商品描述
PHP 5's object-oriented enhancements are among the most significant improvements in the 10+ year history of the language. This book introduces you to those features and the many opportunities they provide, as well as a number of tools that will help you maximize development efforts.
The book begins with a broad overview of PHP 5's object-oriented features, introducing key topics like class declaration, object instantiation, inheritance, and method and property encapsulation. You’ll also learn about advanced topics including static methods and properties, abstract classes, interfaces, exception handling, object cloning, and more. You’ll also benefit from an extensive discussion regarding object-oriented design best practices.
The next part of the book is devoted to a topic that is often a natural extension of any object-oriented introduction: design patterns. PHP 5 is particularly well-suited to the deployment of these solutions for commonly occurring programming problems. The author will introduce pattern concepts and show you how to implement several key patterns in your PHP applications.
The last segment introduces a number of great utilities that help you document, manage, test, and build your PHP applications, including Phing, PHPUnit2, phpDocumentor, PEAR, and CVS.
商品描述(中文翻譯)
PHP 5 的物件導向增強功能是這門語言十多年歷史中最重要的改進之一。本書將介紹這些特性及其提供的許多機會,以及一些幫助您最大化開發工作的工具。
本書首先對 PHP 5 的物件導向特性進行廣泛的概述,介紹了類別宣告、物件實例化、繼承以及方法和屬性封裝等關鍵主題。您還將學習到包括靜態方法和屬性、抽象類別、介面、例外處理、物件克隆等進階主題。您還將受益於有關物件導向設計最佳實踐的廣泛討論。
本書的下一部分專注於一個通常是任何物件導向介紹的自然延伸主題:設計模式。PHP 5 特別適合用於解決常見的程式設計問題。作者將介紹模式概念,並向您展示如何在您的 PHP 應用程式中實現幾個關鍵模式。
最後一部分介紹了一些優秀的工具,幫助您記錄、管理、測試和構建您的 PHP 應用程式,包括 Phing、PHPUnit2、phpDocumentor、PEAR 和 CVS。