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. Youll also discover object tools to help you learn more about your classes, objects, and methods.
Then youll move into design patterns and the principles that make patterns powerful. Youll learn both classic design patterns and enterprise and database patterns with easy-to-follow examples.
Finally, youll discover how to put it all into practice to help turn great code into successful projects. Youll learn how to manage multiple developers with Subversion, and how to build and install using Phing and PEAR. Youll also learn strategies for automated testing and building, including continuous integration.
Taken together, these three elementsobject fundamentals, design principles, and best practiceswill help you develop elegant and rock-solid systems.
- 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 &l3*