PHP Objects, Patterns and Practice

Computers / Programming Languages / PHP, Computers / Web / Web Programming, Ebook

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.

What you’ll learn

  • Learn to work with object fundamentals: writing classes and methods, instantiating objects, and creating powerful class hierarchies using inheritance.
  • Master advanced object-oriented features, including static methods and properties.
  • Learn how to manage error conditions with exceptions, and create abstract classes and interfaces.
  • Understand and use design principles to deploy objects and classes effectively in your projects.
  • Learn about design patterns, their purpose and structure, and the underlying principles that govern them.
  • Discover a set of powerful patterns that you can deploy in your own projects.
  • Learn about the tools and practices that can 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 projects. These users 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.

Table of Contents

  1. PHP: Design and Management
  2. PHP and Objects
  3. Object Basics
  4. Advanced Features
  5. Object Tools
  6. Objects and Design
  7. What Are Design Patterns? Why Use Them?
  8. Some Pattern Principles
  9. Generating Objects
  10. Patterns for Flexible Object Programming
  11. Performing and Representing Tasks
  12. Enterprise Patterns
  13. Database Patterns
  14. Good (and Bad) Practice
  15. An Introduction to PEAR and Pyrus
  16. Generating Documentation with phpDocumentor
  17. Version Control with Subversion
  18. Testing with PHPUnit
  19. Automated Build with Phing
  20. Continuous Integration
  21. Objects, Patterns, Practice
Download Now Read Online

Php Objects Patterns And Practice

Download Now Read Online

Languange Used : en
Release Date : 2016-12-19
Publisher by : Apress

Aided by three key elements: object fundamentals, design principles, and best practices, you'll learn how to d

Php Objects Patterns And Practice

Download Now Read Online

Author by : Matt Zandstra
Languange Used : en
Release Date : 2008-04-05
Publisher by : Apress

At last – a second edition of this classic web development work. PHP Objects, Patterns, and Practice shows y

Learning Php Design Patterns

Download Now Read Online

Author by : William Sanders
Languange Used : en
Release Date : 2013-02-11
Publisher by : "O'Reilly Media, Inc."

Build server-side applications more efficiently—and improve your PHP programming skills in the process—by

Php Solutions

Download Now Read Online

Author by : David Powers
Languange Used : en
Release Date : 2014-12-12
Publisher by : Apress

This is the third edition of David Powers' highly-respected PHP Solutions: Dynamic Web Design Made Easy. This

Php Advanced And Object Oriented Programming

Download Now Read Online

Author by : Larry Ullman
Languange Used : en
Release Date : 2012-09-13
Publisher by : Peachpit Press

Readers can take their PHP skills to the next level with this fully revised and updated PHP Advanced: Visual Q

Php Objects Patterns And Practice Fifth Edition

Download Now Read Online

Author by : Matt Zandstra
Languange Used : en
Release Date : 2016
Publisher by :

Written with an emphasis on design, and including many best practices and tools, this practical book aims to h

Design Patterns In Php And Laravel

Download Now Read Online

Author by : Kelt Dockins
Languange Used : en
Release Date : 2016-12-27
Publisher by : Apress

Learn each of the original gang of four design patterns, and how they are relevant to modern PHP and Laravel d

Leave a Reply