Book description
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.
Table of contents
-
PHP Objects, Patterns, and Practice, Third Edition
- Copyright
- Contents at a Glance
- Contents (1/3)
- Contents (2/3)
- Contents (3/3)
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction to the Third Edition
- Part 1: Introduction
-
Part 2: Objects
- Chapter 2: PHP and Objects
- Chapter 3: Object Basics (1/6)
- Chapter 3: Object Basics (2/6)
- Chapter 3: Object Basics (3/6)
- Chapter 3: Object Basics (4/6)
- Chapter 3: Object Basics (5/6)
- Chapter 3: Object Basics (6/6)
- Chapter 4: Advanced Features (1/6)
- Chapter 4: Advanced Features (2/6)
- Chapter 4: Advanced Features (3/6)
- Chapter 4: Advanced Features (4/6)
- Chapter 4: Advanced Features (5/6)
-
Chapter 4: Advanced Features (6/6)
- Static Methods and Properties
- Constant Properties
- Abstract Classes
- Interfaces
- Late Static Bindings: The static Keyword
- Handling Errors
- Final Classes and Methods
- Working with Interceptors
- Defining Destructor Methods
- Copying Objects with __clone()
- Defining String Values for Your Objects
- Callbacks, Anonymous Functions and Closures
- Summary
- Chapter 5: Object Tools (1/6)
- Chapter 5: Object Tools (2/6)
- Chapter 5: Object Tools (3/6)
- Chapter 5: Object Tools (4/6)
- Chapter 5: Object Tools (5/6)
- Chapter 5: Object Tools (6/6)
- Chapter 6: Objects and Design (1/5)
- Chapter 6: Objects and Design (2/5)
- Chapter 6: Objects and Design (3/5)
- Chapter 6: Objects and Design (4/5)
- Chapter 6: Objects and Design (5/5)
-
Part 3: Patterns
- Chapter 7: What Are Design Patterns? Why Use Them? (1/2)
- Chapter 7: What Are Design Patterns? Why Use Them? (2/2)
- Chapter 8: Some Pattern Principles (1/3)
- Chapter 8: Some Pattern Principles (2/3)
- Chapter 8: Some Pattern Principles (3/3)
- Chapter 9: Generating Objects (1/5)
- Chapter 9: Generating Objects (2/5)
- Chapter 9: Generating Objects (3/5)
- Chapter 9: Generating Objects (4/5)
- Chapter 9: Generating Objects (5/5)
- Chapter 10: Patterns for Flexible Object Programming (1/4)
- Chapter 10: Patterns for Flexible Object Programming (2/4)
- Chapter 10: Patterns for Flexible Object Programming (3/4)
- Chapter 10: Patterns for Flexible Object Programming (4/4)
- Chapter 11: Performing and Representing Tasks (1/7)
- Chapter 11: Performing and Representing Tasks (2/7)
- Chapter 11: Performing and Representing Tasks (3/7)
- Chapter 11: Performing and Representing Tasks (4/7)
- Chapter 11: Performing and Representing Tasks (5/7)
- Chapter 11: Performing and Representing Tasks (6/7)
- Chapter 11: Performing and Representing Tasks (7/7)
- Chapter 12: Enterprise Patterns (1/11)
- Chapter 12: Enterprise Patterns (2/11)
- Chapter 12: Enterprise Patterns (3/11)
- Chapter 12: Enterprise Patterns (4/11)
- Chapter 12: Enterprise Patterns (5/11)
- Chapter 12: Enterprise Patterns (6/11)
- Chapter 12: Enterprise Patterns (7/11)
- Chapter 12: Enterprise Patterns (8/11)
- Chapter 12: Enterprise Patterns (9/11)
- Chapter 12: Enterprise Patterns (10/11)
- Chapter 12: Enterprise Patterns (11/11)
- Chapter 13: Database Patterns (1/8)
- Chapter 13: Database Patterns (2/8)
- Chapter 13: Database Patterns (3/8)
- Chapter 13: Database Patterns (4/8)
- Chapter 13: Database Patterns (5/8)
- Chapter 13: Database Patterns (6/8)
- Chapter 13: Database Patterns (7/8)
- Chapter 13: Database Patterns (8/8)
-
Part 4: Practice
- Chapter 14: Good (and Bad) Practice (1/2)
- Chapter 14: Good (and Bad) Practice (2/2)
- Chapter 15: An Introduction to PEAR and Pyrus (1/5)
- Chapter 15: An Introduction to PEAR and Pyrus (2/5)
- Chapter 15: An Introduction to PEAR and Pyrus (3/5)
- Chapter 15: An Introduction to PEAR and Pyrus (4/5)
- Chapter 15: An Introduction to PEAR and Pyrus (5/5)
- Chapter 16: Generating Documentation with phpDocumentor (1/3)
- Chapter 16: Generating Documentation with phpDocumentor (2/3)
- Chapter 16: Generating Documentation with phpDocumentor (3/3)
- Chapter 17: Version Control with Subversion (1/4)
- Chapter 17: Version Control with Subversion (2/4)
- Chapter 17: Version Control with Subversion (3/4)
- Chapter 17: Version Control with Subversion (4/4)
- Chapter 18: Testing with PHPUnit (1/6)
- Chapter 18: Testing with PHPUnit (2/6)
- Chapter 18: Testing with PHPUnit (3/6)
- Chapter 18: Testing with PHPUnit (4/6)
- Chapter 18: Testing with PHPUnit (5/6)
- Chapter 18: Testing with PHPUnit (6/6)
- Chapter 19: Automated Build with Phing (1/4)
- Chapter 19: Automated Build with Phing (2/4)
- Chapter 19: Automated Build with Phing (3/4)
- Chapter 19: Automated Build with Phing (4/4)
- Chapter 20: Continuous Integration (1/5)
- Chapter 20: Continuous Integration (2/5)
- Chapter 20: Continuous Integration (3/5)
- Chapter 20: Continuous Integration (4/5)
- Chapter 20: Continuous Integration (5/5)
- Part 5: Conclusion
- Index (1/6)
- Index (2/6)
- Index (3/6)
- Index (4/6)
- Index (5/6)
- Index (6/6)
Product information
- Title: PHP Objects, Patterns, and Practice, Third Edition
- Author(s):
- Release date: June 2010
- Publisher(s): Apress
- ISBN: 9781430229254
You might also like
book
PHP Objects, Patterns, and Practice, Second Edition
Backed by a tireless development community, PHP has been a model of language evolution over its …
book
PHP Objects, Patterns, and Practice, Fourth Edition
PHP Objects Patterns and Practice, Fourth Edition is revised and updated throughout. The book begins by …
book
PHP Objects, Patterns, and Practice, Fifth Edition
Aided by three key elements: object fundamentals, design principles, and best practices, you'll learn how to …
book
PHP Advanced and Object-Oriented Programming: Visual Quickpro Guide, Third Edition
Readers can take their PHP skills to the next level with this fully revised and updated …