Object-Oriented PHP: Concepts, Techniques, and Code

Peter Lavin

  • 出版商: No Starch Press
  • 出版日期: 2006-06-20
  • 售價: $1,240
  • 貴賓價: 9.5$1,178
  • 語言: 英文
  • 頁數: 216
  • 裝訂: Paperback
  • ISBN: 1593270771
  • ISBN-13: 9781593270773
  • 相關分類: PHPObject-oriented
  • 無法訂購

買這商品的人也買了...

商品描述

Description

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 books companion website, http://objectorientedphp.com).

You will 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 PHPs 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.

 

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