Skip to main content
  • Book
  • © 2004

PHP 5 Objects, Patterns, and Practice

Apress

Authors:

  • 9403 Accesses

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as 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 (18 chapters)

  1. Front Matter

    Pages N2-xvii
  2. Introduction

    1. Front Matter

      Pages 1-1
    2. PHP: Design and Management

      • Matt Zandstra
      Pages 3-8
  3. Objects

    1. Front Matter

      Pages 9-9
    2. PHP and Objects

      • Matt Zandstra
      Pages 11-14
    3. Object Basics

      • Matt Zandstra
      Pages 15-41
    4. Advanced Features

      • Matt Zandstra
      Pages 43-67
    5. Object Tools

      • Matt Zandstra
      Pages 69-91
    6. Objects and Design

      • Matt Zandstra
      Pages 93-113
  4. Patterns

    1. Front Matter

      Pages 115-115
    2. What Are Design Patterns? Why Use Them?

      • Matt Zandstra
      Pages 117-123
    3. Some Pattern Principles

      • Matt Zandstra
      Pages 125-136
    4. Generating Objects

      • Matt Zandstra
      Pages 137-161
    5. Designing for Object Relations

      • Matt Zandstra
      Pages 163-184
    6. Performing and Representing Tasks

      • Matt Zandstra
      Pages 185-218
    7. Enterprise Patterns

      • Matt Zandstra
      Pages 219-289
  5. Practice

    1. Front Matter

      Pages 291-291
    2. Good (and Bad) Practice

      • Matt Zandstra
      Pages 293-306
    3. An Introduction to PEAR

      • Matt Zandstra
      Pages 307-321
    4. Generating Documentation with phpDocumentor

      • Matt Zandstra
      Pages 323-337

About this book

PHP 5's object-oriented enhancements are among the most significant improvements in the 10+ year history of the language. This book introduces you to those features and the many opportunities they provide, as well as a number of tools that will help you maximize development efforts.

The book begins with a broad overview of PHP 5's object-oriented features, introducing key topics like class declaration, object instantiation, inheritance, and method and property encapsulation. You'll also learn about advanced topics including static methods and properties, abstract classes, interfaces, exception handling, object cloning, and more. You'll also benefit from an extensive discussion regarding object-oriented design best practices.

The next part of the book is devoted to a topic that is often a natural extension of any object-oriented introduction: design patterns. PHP 5 is particularly well-suited to the deployment of these solutions for commonly occurring programming problems. The author will introduce pattern concepts and show you how to implement several key patterns in your PHP applications.

The last segment introduces a number of great utilities that help you document, manage, test, and build your PHP applications, including Phing, PHPUnit2, phpDocumentor, PEAR, and CVS.

Authors and Affiliations

  • Brighton, UK

    Matt Zandstra

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

  • Book Title: PHP 5 Objects, Patterns, and Practice

  • Authors: Matt Zandstra

  • DOI: https://doi.org/10.1007/978-1-4302-0403-9

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Springer Book Archive

  • Copyright Information: Matt Zandstra 2004

  • eBook ISBN: 978-1-4302-0403-9Published: 01 March 2007

  • Edition Number: 1

  • Number of Pages: XVII, 456

  • Number of Illustrations: 60 b/w illustrations

  • Topics: Software Engineering/Programming and Operating Systems

Buy it now

Buying options

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

Tax calculation will be finalised at checkout

Other ways to access