Matt Zandstra Yahoo公司的高級程序員,曾從事過教師等工作,著有Sams Teach Yourself PHP in 24 Hours等書,還為Linux Magazine、IBM DeveloperWorks、Zend.com和bdz-consult.com寫過PHP方麵的文章。
This book takes you beyond the PHP basics to the enterprise development practices used by professional programmers. Updated for PHP 5.3 with new sections on closures, namespaces, and continuous integration, this edition will teach you about object features such as abstract classes, reflection, interfaces, and error handling. You'll also discover object tools to help you learn more about your classes, objects, and methods. Then you'll move into design patterns and the principles that make patterns powerful. You'll learn both classic design patterns and enterprise and database patterns with easy-to-follow examples. Finally, you'll discover how to put it all into practice to help turn great code into successful projects. You'll learn how to manage multiple developers with Subversion, and how to build and install using Phing and PEAR. You'll also learn strategies for automated testing and building, including continuous integration. Taken together, these three elements--object fundamentals, design principles, and best practices--will help you develop elegant and rock-solid systems. What you'll learn * Learn to work with object fundamentals: writing classes and methods, instantiating objects, and creating powerful class hierarchies using inheritance. * Master advanced object-oriented features, including static methods and properties. * Learn how to manage error conditions with exceptions, and create abstract classes and interfaces. * Understand and use design principles to deploy objects and classes effectively in your projects. * Learn about design patterns, their purpose and structure, and the underlying principles that govern them. * Discover a set of powerful patterns that you can deploy in your own projects. * Learn about the tools and practices that can guarantee a successful project including unit testing; version control; build, installation, and package management; and continuous integration. Who this book is for This book is suitable for anyone with at least a basic knowledge of PHP who wants to use its object-oriented features in their projects. Those who already know their interfaces from their abstracts may well still find it hard to use these features in their projects. These users will benefit from the book's emphasis on design. They will learn how to choose and combine the participants of a system, how to read design patterns, and how to use them in their code. Finally, this book is for PHP coders who want to learn about the practices and tools (version control, testing, continuous integration, etc.) that can make projects safe, elegant, and stable. Table of Contents * PHP: Design and Management * PHP and Objects * Object Basics * Advanced Features * Object Tools * Objects and Design * What Are Design Patterns? Why Use Them? * Some Pattern Principles * Generating Objects * Patterns for Flexible Object Programming * Performing and Representing Tasks * Enterprise Patterns * Database Patterns * Good (and Bad) Practice * An Introduction to PEAR and Pyrus * Generating Documentation with phpDocumentor * Version Control with Subversion * Testing with PHPUnit * Automated Build with Phing * Continuous Integration * Objects, Patterns, Practice
發表於2024-12-23
PHP Objects, Patterns and Practice, Third Edition 2024 pdf epub mobi 電子書 下載
看到有人說這本書沒有達到書名的目標,可能“深入”這個詞讓他産生的誤解瞭吧,這本書更像一本實實在在的PHP進階指南。 本書全文分為三個方麵:PHP麵嚮對象思想,PHP設計模式,PHP實踐。這三個方麵對於初級PHP工程師進階來說都是很重要的內容。 PHP OOP,一般非直接通過PHP入門...
評分全麵深入地剖析瞭麵嚮對象的PHP編程與設計,更深一層的瞭解瞭PHP,是本不錯的書。但是如果是想學習更多編程語言的話這本書就有缺陷瞭,我知道的一網站還不錯裏麵講到很多編程語言izixue.com/?fromuid=161,有興趣的話可以看看去。
評分讀第一遍讀到數據庫模式, 感覺吃不消瞭, 所以跳過去直接讀後麵的實踐部分. 目前在讀第二遍, 希望這次能吃透作者講的數據庫模式. 這絕對是一本每讀一遍都會受益一便的好書, 雖然書中講的各種模式目前看來沒有應用到工作中的機會, 但是通過作者的講解, 你會看到這些模式一旦應用...
評分全麵深入地剖析瞭麵嚮對象的PHP編程與設計,更深一層的瞭解瞭PHP,是本不錯的書。但是如果是想學習更多編程語言的話這本書就有缺陷瞭,我知道的一網站還不錯裏麵講到很多編程語言izixue.com/?fromuid=161,有興趣的話可以看看去。
評分設計模式一直以來很難懂,之前遇到很大的瓶頸,買迴來這本書,讀起來基本一目十行,不是因為內容太簡單,而是該做的我都已經做過瞭,隻是在模式上認識還不夠清晰,概念體係不完整,所以想看書補補,覺得這本書設計模式部分寫的非常好。甚至這本書應該隻保留對象和設計模式部分...
圖書標籤: programming php PHP 程序猿 CompSci
PHP Objects, Patterns and Practice, Third Edition 2024 pdf epub mobi 電子書 下載