图书标签: PHP
发表于2024-12-24
PHP Objects, Patterns, and Practice pdf epub mobi txt 电子书 下载 2024
The 5th edition of this popular book has been fully updated for PHP 7, including replacing the PEAR package manager with Composer, and new material on Vagrant and PHP standards. It provides a solid grounding in PHP's support for objects, it builds on this foundation to instill core principles of software design and then covers the tools and practices needed to develop, test and deploy robust code.
PHP Objects, Patterns, and Practicebegins by covering PHP's object-oriented features. It introduces key topics including class declaration, inheritance, reflection and much more.
The next section is devoted to design patterns. It explains the principles that make patterns powerful. The book covers many of the classic design patterns and includes chapters on enterprise and database patterns.The last segment of the book covers the tools and practices that can help turn great code into a successful project. The section shows how to manage multiple developers and releases with git, how to manage builds and dependencies with Composer. It also explores strategies for automated testing and continuous integration.Taken together these three elements: object fundamentals, design principles, and best practice will help the reader develop elegant and rock solid systems.PHP Objects, Patterns, and Practice:Describes and demonstrates PHP's built-in object-oriented featuresBreaks down the principles of object-oriented design, explaining key design patterns using practical examples.Discusses the tools and practices necessary for developing, testing and deploying exemplary applications.What You'll Learn:How to work with object fundamentals: writing classes and methods, instantiating objects, creating powerful class hierarchies using inheritance.Master advanced object-oriented features, including static methods and properties, managing error conditions with exceptions, and creating abstract classes and interfaces.Learn about the new object-oriented features introduced by PHP 7 and why they matter for your code.Understand and use design principles to deploy objects and classes effectively in your projects.Learn about design patterns, their purpose, 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 systems. They 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.
From the Back Cover
The 5th edition of this popular book has been fully updated for PHP 7, including replacing the PEAR package manager with Composer, and new material on Vagrant and PHP standards. It provides a solid grounding in PHP's support for objects, it builds on this foundation to instill core principles of software design and then covers the tools and practices needed to develop, test and deploy robust code. PHP Objects, Patterns, and Practice begins by covering PHP's object-oriented features. It introduces key topics including class declaration, inheritance, reflection and much more. The next section is devoted to design patterns. It explains the principles that make patterns powerful. The book covers many of the classic design patterns and includes chapters on enterprise and database patterns. The last segment of the book covers the tools and practices that can help turn great code into a successful project. The section shows how to manage multiple developers and releases with git, how to manage builds and dependencies with Composer. It also explores strategies for automated testing and continuous integration.Taken together, these three elements: object fundamentals, design principles, and best practice, will help the reader develop elegant and rock solid systems.
Read more
About the Author
Matt Zandstra has worked as a web programmer, consultant, and writer for over two decades. He is the author of SAMS Teach Yourself PHP in 24 Hours (three editions) and a contributor to DHTML Unleashed. He has written articles for Linux Magazine, Zend, IBM DeveloperWorks, and php|architect Magazine, among others.Matt was a senior developer/tech lead at Yahoo and API tech lead at LoveCrafts. Matt works as a consultant advising companies on their architectures and system management, and also develops systems primarily with PHP, and Java. Matt also writes fiction.
Read more
另外一本是PHP in Action。 PHP架构中常用的设计模式不多,书中基本都谈到了。我觉得学习设计模式最好是和框架一起进行,一个是理论,一个是实践,而且流行的框架基本代表了设计的最新思想,设计模式没有好坏之分,所以有空都应该学学。
评分读第一遍读到数据库模式, 感觉吃不消了, 所以跳过去直接读后面的实践部分. 目前在读第二遍, 希望这次能吃透作者讲的数据库模式. 这绝对是一本每读一遍都会受益一便的好书, 虽然书中讲的各种模式目前看来没有应用到工作中的机会, 但是通过作者的讲解, 你会看到这些模式一旦应用...
评分每个段落先提出问题, 给出实现, 并讨论成效, 对于OO入门有一定帮助,能够帮助开拓思路,对OO老鸟有参考价值,可以换换空气,让脑子清空一下,听听别人说什么,对开发新程序有一定作用 内容并不能说新颖,毕竟内容已经是2007的了,不过设计模式并不会随着技术的改进而有多少变化,毕竟理...
评分另外一本是PHP in Action。 PHP架构中常用的设计模式不多,书中基本都谈到了。我觉得学习设计模式最好是和框架一起进行,一个是理论,一个是实践,而且流行的框架基本代表了设计的最新思想,设计模式没有好坏之分,所以有空都应该学学。
评分设计模式一直以来很难懂,之前遇到很大的瓶颈,买回来这本书,读起来基本一目十行,不是因为内容太简单,而是该做的我都已经做过了,只是在模式上认识还不够清晰,概念体系不完整,所以想看书补补,觉得这本书设计模式部分写的非常好。甚至这本书应该只保留对象和设计模式部分...
PHP Objects, Patterns, and Practice pdf epub mobi txt 电子书 下载 2024