At last – a second edition of this classic web development work. PHP Objects, Patterns, and Practice shows you how to meld the power of PHP with the sound enterprise development techniques embraced by professional programmers. Going well beyond the basics of object-oriented development, you'll learn about advanced topics such as working with static methods and properties, abstract classes, interfaces, design patterns, exception handling, and more. You'll also be exposed to key tools such as PEAR, CVS, Phing, and phpDocumentor. PHP is the most popular web development language in the world. With corporate adoption on the rise, this fully updated and enhanced edition is an essential text for webmasters.
Aided by three key elements: object fundamentals, design principles, and best practices, you'll learn how to develop elegant and rock solid systems using PHP. 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. What You'll Learn 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. Discover a set of powerful patterns that you can deploy in your own projects. 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.
Written with an emphasis on design, and including many best practices and tools, this practical book aims to help readers develop elegant and rock-solid systems through mastery of three key elements: object fundamentals, design principles, and development best practice. --
Backed by a tireless development community, PHP has been a model of language evolution over its 10+ year history. Borne from a contract developer's pet project, these days you'll find PHP powering many of the world's largest web sites, including Yahoo!, Digg, EA Games, and Lycos. PHP Objects, Patterns, and Practice, Second Edition shows you how to meld the power of PHP with the sound enterprise development techniques embraced by professional programmers. Going well beyond the basics of object-oriented development, you'll learn about advanced topics such as working with static methods and properties, abstract classes, interfaces, design patterns, exception handling, and more. You'll also be exposed to key tools such as PEAR, CVS, Phing, and phpDocumentor.
This book introduces the programmer to patterns: how to understand them, how to use them, and then how to implement them into their programs. This book focuses on teaching design patterns instead of giving more specialized patterns to the relatively few.
Database Interactions in Object-oriented Applications
Author: Clifton Nock
Publisher: Addison-Wesley Professional
bull; The patterns presented in this book are platform and product independent bull; Provides answers to data challenges in architecture, resource, input and output, cache, and concurrency bull; Defines a consistent vocabulary that readers can use to discuss data access issues
Two Sun Microsystems experts bring together today's best pattern-based techniques and demonstrate pattern use for a variety of business systems. This practical guide features proven techniques for all types of patterns, from system architecture to single classes.
Kerievsky lays the foundation for maximizing the use of design patterns by helping the reader view them in the context of refactorings. He ties together two of the most popular methods in software engineering today--refactoring and design patterns--as he helps the experienced developer create more robust software.