Good news! Our friend site will continue updating latest books at

Object-Oriented PHP

It can be tough to learn the concepts of object-oriented programming with a language like C++. Fortunately, PHP’s simple object model makes it an ideal language for learning about object-oriented programming.

For the uninitiated, this guide to the latest version of PHP offers a speedy introduction to object-oriented programming, including a thorough explanation of classes as well as coverage of constructors, destructors, inheritance, polymorphism, and interfaces. In this easy-to-follow, example-filled guide, new concepts are coupled with fully-functional, ready-to-use PHP classes (all available for download from the book’s companion website,

You’ll learn to:

  • Promote code reuse by creating your own classes and using built-in classes
  • Customize and improve classes through inheritance
  • Simplify database access by developing MySQL database and result set classes
  • Incorporate an RSS reader into your site using only four lines of code
  • Use XML easily with an object-oriented approach
  • Employ PHP to autogenerate documentation for your code
  • Make thumbnail images on the fly
  • Replace clumsy error trapping with exception handling
  • Take full advantage of advanced OO features in PHP
  • Incorporate AJAX into your OO PHP code

Object-Oriented PHP will show you how to maximize PHP’s features, with much less work than you might think. With Object-Oriented PHP, you can master the basics of object-oriented programming and get up to speed on PHP in one fell swoop.

Visit the book’s companion site for accompanying downloads and additional resources. For updates and corrections, visit the errata page.

Table of Contents
Chapter 1. What a Tangled Web We Weave
Chapter 2. Basics of Object-Oriented Programming
Chapter 3. Object-Oriented Features New to PHP 5
Chapter 4. Show a Little Class
Chapter 5. Mod UR Class
Chapter 6. The ThumbnailImage Class
Chapter 7. Building the PageNavigator Class
Chapter 8. Using the PageNavigator Class
Chapter 9. Database Classes
Chapter 10. Improvement Through Inheritance
Chapter 11. Advanced Object-Oriented Programming Concepts
Chapter 12. Keeping It Fresh
Chapter 13. More Magic Methods
Chapter 14. Creating Documentation Using the Reflection Classes
Chapter 15. Extending SQLite
Chapter 16. Using PDO

Appendix A. Setting Up PHP 5
Appendix B. Conversion Table: PHP 4 and PHP 5

Book Details

  • Paperback: 216 pages
  • Publisher: No Starch Press (June 2006)
  • Language: English
  • ISBN-10: 1593270771
  • ISBN-13: 978-1593270773
Download [2.5 MiB]

You may also like...

Leave a Reply