Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Object-Oriented PHP: Concepts, Techniques, and Code Paperback – June 6, 2006
See the Best Books of 2018 So Far
Looking for something great to read? Browse our editors' picks for the best books of the year so far in fiction, nonfiction, mysteries, children's books, and much more.
Frequently bought together
Customers who viewed this item also viewed
"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
From the Back Cover
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. Youll 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.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
I would recommend that if you want to learn OOP, then read the book "Head First Java" -- you will know OOP inside and out. From there, if you have a little procedural PHP under your belt, the syntax of Java and PHP are nearly identical.
If you already know OOP, but need to learn how to define classes etc, in PHP, this is an excellent resource and a good read.
On the flip side, it is a good book for explaining what OOP is and why it's such and advance for PHP. I just wouldn't use this book to learn it.
I have already learned OO concepts and programming through various classes. This book has a lot of good information that was exactly what I needed.
The reading can be a bit awkward at times, and requires reading ahead to understand back(?). In other words things are used before their explained, and sometimes their used to explain other things, so you must eventually double back.
PRINTED ON RECYCLED PAPER - 2 thumbs up.
All in all if you are a PHP programmer wanting to upgrade, its worth the price.
A few key features, is, he gets deep into OO in PHP5, which is nice, and gives you examples and sample codes. Writes it like a pro, so anyone can follow a long. He even talks about a few items from the SPL. Like he said, PHP is a victim of its own success.
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.
Most recent customer reviews
After reading this book I was able to develop a very large open source project written entirely in OOP...Read more