No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your e-mail address or mobile phone number.

Digital List Price: CDN$ 23.99
Kindle Price: CDN$ 14.39

Save CDN$ 43.84 (75%)

includes free international wireless delivery via Amazon Whispernet

These promotions will be applied to this item:

Deliver to your Kindle or other device

Deliver to your Kindle or other device

Flip to back Flip to front
Audible Narration Playing... Paused   You are listening to a sample of the Audible narration for this Kindle book.
Learn more

Object-Oriented Programming with PHP5 Kindle Edition

See all 3 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
CDN$ 14.39

Length: 272 pages

Product Description

Product Description

This book explains how to take full advantage of PHP’s OOP features in simple language. It contains plentiful examples to help you to understand OOP. From Beginners to Intermediate Users of PHP5

About the Author

Hasin Hayder graduated in Civil Engineering from the Rajshahi University of Engineering and Technology (RUET) in Bangladesh. He is a Zend-certified Engineer and expert in developing localized applications. He is currently working as a Technical Director in Trippert Labs and managing the local branch in Bangladesh. Beside his full time job, Hasin writes his blog at, writes article in different websites and maintains his open source framework Orchid at Hasin lives in Bangladesh with his wife Ayesha and his son, Afif.

Product Details

  • Format: Kindle Edition
  • File Size: 467 KB
  • Print Length: 272 pages
  • Publisher: Packt Publishing (Dec 30 2007)
  • Sold by: Amazon Digital Services LLC
  • Language: English
  • ASIN: B0057UNEFG
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Not Enabled
  • Average Customer Review: Be the first to review this item
  •  Would you like to give feedback on images or tell us about a lower price?

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) HASH(0x9b0a987c) out of 5 stars 11 reviews
19 of 19 people found the following review helpful
HASH(0x9a9b2ed0) out of 5 stars Unclear, fails to communicate OO principles Dec 22 2007
By James Stewart - Published on
Format: Paperback
With PHP 5.3 looking very close to release, bringing with it significant changes such as namespaces, this is an awkward time to release a PHP book of any generality. Within a few months it will be clearer how well the new features are taking hold and there is almost certainly going to be a clamour for books that show how new features affect development practices and how to make use of them. Even without that, it is hard to recommend this book as it fails to live up to its promise and provides a poor introduction to Object-Oriented programming.

The book's first problem is the poor quality of the English contained. The author does not appear to be a native English speaker and the publisher has apparently done little to clean up the language. For the most part that simply makes for some curious rhythm and phrasing but there are a number of places where it contributes to inaccuracies, such as constant confusion between objects and classes. Finding such inaccuracies alongside mistakes such as confusing polymorphism and inheritance I'm left wondering how well the authors really know their subject. Packt would do well to employ another reviewer to clean up the syntax and definitions before any reprints.

The structure of the book is curious. Rather than approaching topics through the use of an example project or projects, the author gives disconnected samples, often offering little beyond that which can be found in the online PHP documentation and generally failing to explain how techniques would be useful. While he insists that PHP5's Reflection API is an important tool, there is little to back up that assertion. There's a large code sample and a list of the methods and attributes of a reflection object, but no real substance. The database section covers some key examples, such as PDO, ADODB and MDB2, and touches on the ActiveRecord pattern, but uses four pages to list the RDBMSs that ADODB supports and then only spends a page and a half on ActiveRecord, failing to explain either its concepts or advantages in any detail.

The high point of the book is the half chapter on unit testing. A few well chosen examples provide a demonstration of how code can be tested and how that allows for refactoring without fear of regressions. The reasons for unit testing are clear as is basic usage of PHPUnit. I'd have liked to see further examples rather than several pages listing all the default assertions PHPUnit provides, and I disagree with the claim that there should never be more than one assertion per test (individual tests should focus on a single concern, but can use multiple assertions to do so) but by that point in the book it was good just to see a section that made its point clearly.

Fundamentally, I came away from this book feeling it had failed to communicate clearly the core principles or reasons for object oriented programming. By trying to cram in too much reference material, not offering clear contexts for each technique, and not lingering on ideas like encapsulation the book fails to instill OO techniques.

Disclaimer: I was sent a free copy of this book to review
5 of 5 people found the following review helpful
HASH(0x9a8e9f3c) out of 5 stars Same as the documentation...but as interpreted by a non english speaker and with less examples April 21 2008
By Truth - Published on
Format: Paperback
Read the php online docs instead, their examples are much better explained. What do you expect from a book with a clipart flower on the cover? Cheaply produced, outsourced, and spammzor'ed to everyone registered in the stupid php classes website.
3 of 3 people found the following review helpful
HASH(0x9aa2e40c) out of 5 stars Sloppy Book, Sloppy Code? Dec 21 2008
By D. Merenda - Published on
Format: Paperback
I set out to write a scathing review of this book after wasting money on it. Instead, I took some time to collect my thoughts before actually committing words to the page. I wish the author of this book had done the same.

The "English" used in this book could only barely be called such. For a native English speaker such as myself, the overly-familiar, almost childlike approach to prose that the author has adopted is very distracting. There are blatant errors in the book, and that's not nit-picking; the book probably averages a glaring error every couple of pages. I don't claim to be the world's most polished author, but I'd want to re-write this book cover-to-cover before I'd ever try reading it again.

The coding "standards" professed in this book are horrible for beginning coders, and make little sense. They don't follow any of the accepted "major" PHP standards, and seem to be an amalgamation of non-PHP languages and basic object-oriented principles.

The book does a terrible job of introducing any level of programmer to object-oriented design ideas. Although OOP is one of the most difficult concepts to teach to another person, this book is NOT the place you want to start if you're just picking it up. I am an experienced OO coder and the book had my head spinning with its contradictions, erroneous information, and terrible analogies. The code examples are poorly written snippets of barely functional code in many cases. I'm not sure where Packt Publishing got the idea that this author was even remotely qualified to write this book, but if their "About the Author" section is any indication, no one at the publishing house writes English very well, either.

I am really trying not to be as harsh as I could be here, but I will say that it's questionable whether this book went through ANY level of editorial review. Sure, the author is from Bangladesh, but if there was a language barrier involved, couldn't someone have translated the book into slightly more passable English? I don't know if Packt Publishing is a "vanity" publishing house that doesn't have editors, but I will definitely stay FAR away from their books in the future. In my opinion, you should do the same with THIS book. There are far better books on the subject, and you'd only be wasting your money on this one.
2 of 2 people found the following review helpful
HASH(0x9a8cdde0) out of 5 stars Don't Buy Aug. 3 2008
By Hank Castello - Published on
Format: Paperback
The author is obviously not comfortable with the English language, and not from a teaching background. The book has frequent errors, is not easy reading and just plain is not a book that is easy to learn from - maybe not even possible to learn from. I've taught myself over a dozen programming languages from books and I am a competent PHP programmer who just wants to add OOP style, yet this book was useless to me.
1 of 1 people found the following review helpful
HASH(0x9a8e0714) out of 5 stars Writing/editing quality? Aug. 7 2011
By Paul D - Published on
Format: Paperback Verified Purchase
Along with the author, the book's "Credits" page lists; 2 reviewers, 3 different editors, an editorial team leader, and a proof reader. One would have to ask, after reading the first few chapters, what these folks were doing - it's obvious they weren't reviewing, editing, or proof reading. The writing is early grade school level at best, with very many language errors. It's painful to read such poor language constructs and the poor writing just makes it difficult to comprehend the concepts and techniques they are attempting to explain.

I had hoped this book would provide a deeper understanding of using OOP techniques and objects to take web application development with PHP to that next level of reuse, maintainability, and extensibility, but it definitely came up short. Guess I'll have to look for another.