Skip to main content
  • Book
  • © 2013

PHP Objects, Patterns, and Practice

Apress

Authors:

  • PHP Objects, Patterns, and Practice is designed to help readers develop elegant and rock-solid systems through mastery of three key elements: object fundamentals, design principles, and development best practice.

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (23 chapters)

  1. Front Matter

    Pages i-xxvii
  2. PHP: Design and Management

    • Matt Zandstra
    Pages 1-6
  3. Objects

    • Matt Zandstra
    Pages 7-10
  4. Object Basics

    • Matt Zandstra
    Pages 11-36
  5. Advanced Features

    • Matt Zandstra
    Pages 37-80
  6. Object Tools

    • Matt Zandstra
    Pages 81-110
  7. Objects and Design

    • Matt Zandstra
    Pages 111-130
  8. What Are Design Patterns? Why Use Them?

    • Matt Zandstra
    Pages 131-138
  9. Some Pattern Principles

    • Matt Zandstra
    Pages 139-152
  10. Generating Objects

    • Matt Zandstra
    Pages 153-174
  11. Patterns for Flexible Object Programming

    • Matt Zandstra
    Pages 175-194
  12. Performing and Representing Tasks

    • Matt Zandstra
    Pages 195-226
  13. Enterprise Patterns

    • Matt Zandstra
    Pages 227-276
  14. Database Patterns

    • Matt Zandstra
    Pages 277-320
  15. Good (and Bad) Practice

    • Matt Zandstra
    Pages 321-326
  16. An Introduction to PEAR and Pyrus

    • Matt Zandstra
    Pages 327-350
  17. Generating Documentation with phpDocumentor

    • Matt Zandstra
    Pages 351-364
  18. Version Control with Git

    • Matt Zandstra
    Pages 365-382
  19. Testing with PHPUnit

    • Matt Zandstra
    Pages 383-408
  20. Automated Build with Phing

    • Matt Zandstra
    Pages 409-430

About this book

PHP Objects Patterns and Practice, Fourth Edition is revised and updated throughout. The book begins by covering PHP's object-oriented features. It introduces key topics including class declaration, inheritance, reflection and much more. These provide the fundamentals of the PHP's support for objects. It also introduces some principles of design. This edition introduces new object relevant features such as traits, reflection extension additions, callable type hinting, improvements to exception handling, and many smaller language enhancements.

The next section is devoted to design patterns. These describe common problems and their solutions. The section describes the design principles that make patterns powerful. It 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 build and install using Phing and PEAR. It also explores strategies for automated testing and build. 

In addition to discussing the latest developments in build, test, and continuous integration, this section keeps pace with best practice in version control by focusing on Git, increasingly the developer's system of choice.

Taken together these three elements: object fundamentals, design principles, and best practice will help the reader develop elegant and rock solid systems.

PHP Objects and Patterns:

  • Describes and demonstrates PHP's built-in object-oriented features
  • Breaks 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.

About the author

Matt Zandstra has worked as a web programmer, consultant, and writer for nearly 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.com, IBM DeveloperWorks, and php|architect Magazine, among others. 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.

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access