or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
47 used & new from $9.01

Have one to sell? Sell yours here
 
   
Object-Oriented PHP: Concepts, Techniques, and Code
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Object-Oriented PHP: Concepts, Techniques, and Code (Paperback)

~ (Author) "Creating a web page ain't what it used to be..." (more)
Key Phrases: Move First, Player Object
4.1 out of 5 stars  See all reviews (19 customer reviews)

List Price: $29.95
Price: $21.86 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $8.09 (27%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, February 11? Choose One-Day Shipping at checkout. Details
31 new from $12.77 16 used from $9.01

Frequently Bought Together

Customers buy this book with Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems by Brian Ward

Object-Oriented PHP: Concepts, Techniques, and Code + Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems

Customers Who Bought This Item Also Bought

Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems

Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems

by Brian Ward
4.6 out of 5 stars (16)  $19.77
PHP Objects, Patterns, and Practice, Second Edition

PHP Objects, Patterns, and Practice, Second Edition

by Matt Zandstra
4.6 out of 5 stars (10)  $29.69
PHP Object-Oriented Solutions

PHP Object-Oriented Solutions

by David Powers
4.6 out of 5 stars (8)  $27.00
AJAX and PHP: Building Responsive Web Applications

AJAX and PHP: Building Responsive Web Applications

by Cristian Darie
4.3 out of 5 stars (30)  $27.75
Practical Web 2.0 Applications with PHP

Practical Web 2.0 Applications with PHP

by Quentin Zervaas
4.6 out of 5 stars (18)  $30.34
Explore similar items

Editorial Reviews

Review

"An interesting and challenging book . . . Lavin has focused on a highly useful area of knowledge for web developers and has done an excellent job. Recommended." -- Kickstart News, August 2006

"Lavin's approach makes this book very easy to read . . . a useful book to add to your library." -- Linux Security, June 16, 2006

Product Description

Object-Oriented PHP shows developers how to take advantage of the new object-oriented features of PHP. Working within the context of concrete examples, the book begins with code compatible with PHP 4 and 5, and then focuses on object-orientation in PHP 5. The author's practical approach uses numerous code examples, which will help developers get up to speed with object oriented PHP quickly, and show them how to apply what they learn to everyday situations. All code samples are available for download on the book's companion site.


Product Details

  • Paperback: 216 pages
  • Publisher: No Starch Press; 1 edition (June 20, 2006)
  • Language: English
  • ISBN-10: 1593270771
  • ISBN-13: 978-1593270773
  • Product Dimensions: 9.2 x 6.9 x 0.7 inches
  • Shipping Weight: 14.4 ounces (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon.com Sales Rank: #113,115 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #33 in  Books > Computers & Internet > Web Development > Programming > PHP

More About the Author

Peter Lavin
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Peter Lavin Page

Inside This Book (learn more)
First Sentence:
Creating a web page ain't what it used to be. Read the first page
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Move First, Player Object
New!
Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Do Customers Ultimately Buy After Viewing This Item?

Object-Oriented PHP: Concepts, Techniques, and Code
40% buy the item featured on this page:
Object-Oriented PHP: Concepts, Techniques, and Code 4.1 out of 5 stars (19)
$21.86
PHP Object-Oriented Solutions
21% buy
PHP Object-Oriented Solutions 4.6 out of 5 stars (8)
$27.00
PHP Objects, Patterns, and Practice, Second Edition
18% buy
PHP Objects, Patterns, and Practice, Second Edition 4.6 out of 5 stars (10)
$29.69
Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems
14% buy
Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems 4.6 out of 5 stars (16)
$19.77

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(11)
(11)
(4)
(4)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

19 Reviews
5 star:
 (9)
4 star:
 (3)
3 star:
 (6)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (19 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
40 of 41 people found the following review helpful:
3.0 out of 5 stars A Knowledge-Transfer Brief for PHP Programmers, August 27, 2006
Object-Oriented PHP is really a technical brief that seems to fall short of its own ambitions. It covers PHP 5, most notably the radical switch from prior versions to a full OOP model. Lavin summarizes the reasons for the changes and reviews basic concepts of OOP. He then develops some classes for an application that draws images from a database and displays thumbnail images. In some places the PHP 4 equivalent code is provided for study. Notes on MySQL and PHP Data Objects (PDO) are also included.

It is a terse and sometimes bumpy ride. The book's conversational tone is appropriate for fellow geeks, but I found it more distracting than reassuring. There are some summary apologies, for example, that make the chapters seem like they were transcribed from tape. Rather than go back and match the introductory objectives to the text, a summary or two admits things didn't quite work out as planned. Ok, let's say there was no time to fix it. How does calling attention to it help?

Because the book is so short, the author glosses many concepts, frequently referring to web sites for technical details and tutorials. Once or twice he refers to a well-known author (e.g., Bruce Eckel) to support a complex point. Again while this is appropriate for a peer audience, it also needlessly puts the book out of reach for some readers.

It seems to me the book once had a too-ambitious outline. The back cover states you'll learn to "Incorporate AJAX into your OO PHP code." The coverage on this topic is trivial: an eight-line paragraph that names a website from which to retrieve example code, followed by indicators in subsequent to show where the AJAX reference is. The reader would be right to feel misled.

This book should be useful to the author's PHP peers, but those same readers should understand OOP well beforehand. I doubt a skeptical or demanding reader will like this book. Beginners will almost certainly get lost early and often.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
10 of 10 people found the following review helpful:
3.0 out of 5 stars Generally Disappointing, December 31, 2007
By John R. Cornell II (Jersey City, NJ USA) - See all my reviews
(REAL NAME)   
From the perspective of a an experienced procedural PHP programmer learning OO, having read both this book and "PHP 5 Objects, Patterns, and Practice" by Matt Zandstra, I would definately recommend the latter to this book.

Just because Zandstra's book doesn't have a cartoon on the front, doesn't make it less accessible. In fact I found it both more advanced and easier to understand at the same time. I imagine Lavin writing this book one chapter at a time, writing each successive chapter based on what he forgot in the previous. Zandstra's order of explanation on the other hand I found invaluable and thoughtful. When you're trying to make sense of a system by reading about it in a linear (book) explanation, the order in which the information is introduced and its context is very important.

Zandstra's book is also more thorough, and seems to approach implementation from an enterprise (read proper) perspective.

Lavin spends a lot of time on an example of using OO to build a system to display images in a directory. In hindsight, it turns out the design of his code is flawed in some places. Introduction material is no place to be teaching bad habits of any kind.

This book is $10 cheaper than Objects, Patterns, and Practice, but I think if you're serious about learning OO in PHP the extra $10 is worth it for a higher quality book.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
12 of 15 people found the following review helpful:
5.0 out of 5 stars What Object-Oriented PHP Programmers Are So Excited About, July 21, 2006
By Diane Cipollo (Editor at BellaOnline.com) - See all my reviews
Object-Oriented PHP by Peter Lavin is a good book for any traditional/procedural PHP programmer who would like to know what those object-oriented PHP programmers are so excited about. If you are considering adding object-oriented PHP to your toolbox and want a step-by-step, example based guide for the beginner, this is a good book to start with. This book is also for programmers who want to switch from PHP 4 to PHP 5.

Lavin starts with an overview of object-oriented PHP and discusses several of its advantages. He then discusses the basics of object-oriented programming such as classes and inheritance and the specifics for this type of programming in PHP. Next, he teaches you how to write your first class. One of the nice things about this book is that the author starts with this simple example and, as you progress through the book, shows how to build upon, extend and reuse that simple class to do more advanced programming.

The first step is to extend this class into a directory item class that will list all the files in a directory or list just certain files as needed. Next, you will write a thumbnail class that will create thumbnail images on-the-fly that are reduce in dimensions and quality thus reducing the download time. The third class you write is a page navigation class, similar to that used by Google, that will control the number of items listed on a page and also the number of page links in the navigation. Finally, he shows you how these three classes work together and with CSS.

Next, Lavin discusses the MySQL database class and how it works with the MySQL database. He also covers inheritance and how that can be applied to simplify error handling. He then moves on to abstract classes, magic methods and how dynamic websites can benefit from the SimpleXML extension to work with RSS feeds and the SOAP extension for a website search engine. We all hate to document our programs and Lavin shows you how to use the reflection class to self-document your code.

Peter Lavin has a web development firm and writes for several publications including PHP Hacks. There is a companion website that contains downloads of all the code and working examples.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

2.0 out of 5 stars Probably not the most time effective way to learn OO PHP
I have used PHP procedurally for several years, and had some inkling of OOP, but no formal introduction yet. Read more
Published 5 months ago by Ted Spradley

5.0 out of 5 stars RIA Developer
The most important things with online buying is a good price, fast delivery and the product received is the item and condition stated. Read more
Published 5 months ago by Raymond White

5.0 out of 5 stars Excellent Introduction to OOP in PHP
Object-Oriented PHP is an excellent tutorial of OOP. There are many books that cover OOP in general, but this one focuses entirely on PHP's implementation. Read more
Published 10 months ago by Andrew

3.0 out of 5 stars Thorough, informative, and confusing!
If your new to PHP, this isn't the book for you, learning procedurally to program PHP before you delve into OOP should definitely be a beginner's plan of attack, and the concepts... Read more
Published 13 months ago by Michael B. Goldberg

3.0 out of 5 stars Worthwhile for developers going to OOP
Unfortunately I am not a PHP procedural or OOP developer. My views, however, are from a longtime web developer. Read more
Published 14 months ago by Samuel B. Lopez

4.0 out of 5 stars Good information, awkward reading.
I am an experienced sequential PHP programmer and wanted to make the jump to Object Oriented PHP.

I have already learned OO concepts and programming through various... Read more
Published 21 months ago by Edward A. Webb

3.0 out of 5 stars Just OK
I'll agree with others and say that Mike Zandstra's book covers this topic better. The author goes through one example throughout the book (using classes to manipulate a file... Read more
Published 22 months ago by D. Kelley

5.0 out of 5 stars Finally I want to use OOP in PHP
Peter Lavin provides us with sound, easy to understand concepts, techniques, and examples in Object-Oriented PHP. Read more
Published on February 8, 2008 by William E. Reveal

5.0 out of 5 stars The only book I used to learn OOP php
Thanks to this book now I understand the php code written on OOP style.
After reading this book I was able to develop a very large open source project written entirely in... Read more
Published on January 1, 2008 by Dmitri Snytkine

5.0 out of 5 stars Great PHP Learning Tool
'Object-Oriented PHP: Concepts, Techniques, and Code' is a typical No Starch book and that is a very good thing. Read more
Published on December 26, 2007 by Daniel McKinnon

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.