Professional PHP5 (Programmer to Programmer Series)


What is this book about?

With the release of PHP 5 and the Zend Engine 2, PHP finallygraduates from it earliest days as a lightweight scripting syntaxto an powerful object oriented programming language that can holdits own against the Java and .NET architectures that currentlydominate corporate software development. This book has a pragmaticfocus on how to use PHP in the larger scheme of ...

See more details below
Other sellers (Paperback)
  • All (27) from $1.99   
  • New (8) from $7.99   
  • Used (19) from $1.99   
Sending request ...


What is this book about?

With the release of PHP 5 and the Zend Engine 2, PHP finallygraduates from it earliest days as a lightweight scripting syntaxto an powerful object oriented programming language that can holdits own against the Java and .NET architectures that currentlydominate corporate software development. This book has a pragmaticfocus on how to use PHP in the larger scheme of enterprise-classsoftware development.

What does this book cover?

Unlike Java or .NET, there is little discussion of theapplication of design patterns, component architectures, andbest-practices to the development of applications using PHP.Software written in the absence of this sort of higher-orderarchitecture will never be able to match the robust frameworks thatJava and .NET ship with out of the box. This book addresses thisissue by covering the following material: 

  • Part 1 discusses the OO concepts that were initiallyexplored in Beginning PHP 5 and a demonstration of how toimplement them in PHP 5. This section also covers UML modeling andprovides a brief introduction to project management techniques thatare covered in more depth in Part 4.
  • Parts 2 and 3 present objects and object hierarchiesthat, when completed, comprise a robust toolkit that developerswill be able to reuse on future projects. These chapters aredesigned to arm the professional PHP developer with the sort ofconstructs that are available out of the box with platforms such asJava and .NET — from simple utility classes likeCollection and Iterator, to more complex constructs likeModel/View/Controller architectures and state machines.
  • Part 4 shows how to use the toolkit from Parts 2 and 3to create real-world applications. We look at the development of arobust contact management system that will leverage the componentryand concepts already discussed and introduce project management andsoftware architecture concepts that enable developers to accuratelyidentify business requirements, design scalable, extensibleplatforms, and handle change management effectively. It covers thewaterfall and spiral project management paradigms and include adiscussion on eXtreme Programming and other approaches to softwaredevelopment.
  • The Appendices include an extended discussion on theeffective use of CVS, introduce the Zend Studio IDE and relatedtools, and discuss performance tuning and scalability.
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
What words come to mind when you think of PHP? Easy? Convenient? How about “enterprise-ready”? Object-oriented PHP5 can hold its own in projects where you might otherwise use Java, C#, or C++. So far, few PHP programmers are making the most of all that power. Be one of them -- with Professional PHP5.

This book’s authors are pioneers in enterprise PHP development: one is building an ERP system with 300,000-plus lines of object-oriented PHP code. Software like that demands thoughtful design, careful architecture, and best-practice coding: exactly what this book teaches.

Part I introduces PHP5 objects, laying the groundwork both for experienced PHP programmers who are new to object-orientation and longtime object-oriented programmers working with PHP for the first time. Right upfront, chapters on UML modeling and design patterns tell you: This is not your father’s PHP.

Next, the authors walk through PHP’s growing “toolkit” of reusable objects and object hierarchies that make it far easier to build industrial-strength software. The first group are relatively simple: collection classes, generic objects, database abstraction layers, logging and debugging tools, and a built-in SOAP interface for XML-based communications. As your comfort grows, you move on to components for simplifying authentication, performing unit testing, even constructing Model/View/Controller applications.

A section-long case study uses these components, while covering issues that range far beyond coding: requirements, architecture, extensibility, scalability, project management. The authors even show how PHP5 fits with both agile and conventional methodologies. No, you haven’t strayed into a J2EE or .NET book: This is today’s PHP. Bill Camarda, from the January 2005 Read Only

From the Publisher
“…really useful…well laid out…” (, October 2005)
Read More Show Less

Product Details

  • ISBN-13: 9780764572821
  • Publisher: Wiley
  • Publication date: 11/28/2004
  • Series: Programmer to Programmer Series
  • Edition number: 1
  • Pages: 668
  • Product dimensions: 7.44 (w) x 9.12 (h) x 1.39 (d)

Table of Contents


1. Introduction to Object-Oriented Programming.

2. Unified Modeling Language (UML).

3. Putting Objects to Work.

4. Design Patterns.


5. Collection Class.

6. CollectionIterator Class.

7. GenericObject Class.

8. Database Abstraction Layers.

9. Factory Interface.

10. Event Driven Programming.

11. Logging and Debugging.

12. SOAP.


13. Model, View, Controller (MVC).

14. Communicating with Users.

15. Sessions and Authentication.

16. Unit Testing Framework.

17. Finite State Machine and Custom ConfigurationFiles.


18. Project Overview.

19. Project Management Methodologies.

20. Planning the System.

21. Systems Architecture.

22. Assembling the Sales Force Automation Toolkit.

23. Quality Assurance.

24. Deployment.

25. Designing and Developing a Robust ReportingPlatform.

26. Where Do We Go From Here?


Appendix A: Why Version Control Is a Good Thing™.

Appendix B: PHP IDEs.

Appendix C: Performance Tuning PHP.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)