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$ 41.50 (74%)

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

Learning PHP Data Objects Kindle Edition

5 out of 5 stars 1 customer review

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

Length: 190 pages Enhanced Typesetting: Enabled

Product Description

Product Description

This book describes the topic first and then gives step-by-step instructions on how to go about a particular example. PHP developers who need to use PDO for data abstraction.

About the Author

Dennis Popel is an experienced PHP/PHP5 developer currently working for an Australian web development company, Motive Media ( Serving Sun Microsystems Australia, Luna Park Sydney, Alsco Holdings and Pine Solutions, amongst others, Dennis leads company development of proprietary, web-based, software solutions. In his spare time, he runs the blog and works on an online RSS aggregator NewzMix. Dennis Popel has been developing with PHP for more than 5 years and is experienced in such fields as object-oriented design and MVC. Previously he has worked at Rapid Intelligence, another Australian-based web company, publisher of such popular titles as, and In the past, Dennis was developing proprietary Java applications. This book is devoted to all the people that introduced and guided me in this wonderful world of information technology.

Product Details

  • Format: Kindle Edition
  • File Size: 3268 KB
  • Print Length: 190 pages
  • Publisher: Packt Publishing (Aug. 30 2007)
  • Sold by: Amazon Digital Services LLC
  • Language: English
  • ASIN: B0058SOD4S
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Enabled
  • Average Customer Review: 5.0 out of 5 stars 1 customer review
  • Amazon Bestsellers Rank: #541,258 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images or tell us about a lower price?

Customer Reviews

5.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback
Straight forward:
This is the kind of book I love. It's pretty small, so it's straight forward. The book explain what you need to know with simples examples that serve the demonstrations.

With a such condensed book, I was sure that I would have a lot of questions after reading it. But they managed to answer most of them in the text.

I'm not english native, and I found this book easy to read.

I also doesn't really like to read. Most of the book I've purchase, I just overview them, reading the section that seem to be pertinent. So this is really one of the only book I've read cover to cover.

No line numbering in code example:
Some code example are a "little long", and their is no line numbering. Sometime it could have been useful. But as the examples are not that long and focus only on the theory you are actually viewing, you don't get lost when they say things like: "We handle the author's ID (line #13) [...]".

Reader level:
You need to have a good experience in PHP and database prior to reading this book. It is not intended to cover the difference between MySQL and MySQLi or between a mysql_fetch_assoc() and a mysql_fetch_array(). Well it sometime does by a line or two, but you need to have a good level. If you already know what PDO is made for, if you feel that you need it, this book is for you.

... if you are not, maybe you will find that the book explain a little bit too quickly.

Where the database matter (such as: for the connection), the book base his examples on mostly 3 databases: MySQL, SQLite and sometime PostGre. So you need to know well at least one of them.
Read more ›
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse

Most Helpful Customer Reviews on (beta) HASH(0xa66ae99c) out of 5 stars 7 reviews
7 of 8 people found the following review helpful
HASH(0xa74d5534) out of 5 stars Good but a touch disappointed July 18 2008
By William E. Reveal - Published on
Format: Paperback
This is a good start for PDO. The examples and methodology used to present the concepts for using PDO were very useful. The book steps you from the basic use of PDO in chapter 2, through error handling and a good discussion of prepared statements, on to the more advanced topics of PDO settings and transactions.

I felt transactions needed better treatment, including the fact that MySQL only does transactions with certain table types such an InnoDB. His examples in this chapter do not show he is using a transaction friendly table type for MySQL (sqlite is always). Nor does he explain why you would want to even use PDO transactions when your table type is not transaction friendly - it is implied that there is no benefit.

He finishes the discussion in chapter 7 by modifying his examples to better fit the MVC paradigm. Personally, I feel he should have just started with it instead of trying to modify the code but that is my prejudice. If he had, he might have had more room for those things he left out <rolls eyes>.

If this book had not been published by Packt, I would have been very disappointed in the content vs price - $40 for 154 pages on the topic. Since Packt does contribute to open source projects based on the book's subject, I kind of forgive the cost.

However, the multiple times the author says "outside the scope of this book" kept reminding me that I paid $40 for such a short book. At least one time, I would have really liked to see more discussion regarding something he said was outside the scope, as if the book was already 900 pages long. I do give kudos to the author of at least having an appendix on OOP considering PDO is all about OOP - although I would have much more preferred to have also seen OOP techniques used throughout the code examples instead of a minor comment.

One other minor gripe I had, the use of short tags <?= ?> instead of <?php echo ?> throughout the code examples. It drove me crazy since I can't use them and really wish I could (XML compatibility issues). And it also kept reminding me that the use of <?= is to save space and good grief, not like this book needed to save space. Anyone trying to use this code to learn will have to modify it if their php settings have short_tags off.
HASH(0xa74d593c) out of 5 stars Good book March 26 2013
By eatnut - Published on
Format: Paperback Verified Purchase
As a PHP and MySql beginner, I skip the mysqli API and go directly to PDO with this book, it explains with the example and very easy to understand, I finished reading this book within two weeks. I recommend this book for beginner and intermediate readers.
HASH(0xa74d5744) out of 5 stars It was great that author cover multiple DBs and their syntax in ... April 29 2015
By M.Cotten - Published on
Format: Kindle Edition Verified Purchase
A me some read with very practical applications. It was great that author cover multiple DBs and their syntax in most examples.
1 of 2 people found the following review helpful
HASH(0xa74d5978) out of 5 stars Great book if you're looking for a fast overview Jan. 1 2009
By Pskin99 - Published on
Format: Paperback
This book is targeted for PHP developers that are moving to PHP Data Objects (PDO) introduced in PHP 5. If you have limited experience with Object Oriented Programming (OOP), the book includes an appendix with almost 20 pages of OOP instruction with lot of PDO examples. If you don't need the OOP lesson, there are 154 pages dedicated to PDO.

The benefit of spending nearly $40 on 154 pages is to rapidly experience the benefits of PDO though lots of examples. If you're an advanced php developer, this book may not be for you. If you have limited experience with OOP and/or need a quick boost, this book has my recommendation.
0 of 1 people found the following review helpful
HASH(0xa74d5db0) out of 5 stars Good Introductory Tutorial, a little overpriced Feb. 24 2009
By PHPDeveloper - Published on
Format: Paperback
I recently purchased this book with the primary objective of learning more about the PDO extension for PHP. As an intermediate level PHP programmer, I was not disappointed.

The book is well-written as an introductory tutorial, and walks you through the development of a simple library management application using the PDO extension of PHP for the database interface. There are a few typos, but nothing that someone familiar with PHP programming couldn't catch; however, the typos would interfere with this book being used as an introductory tutorial.

After reading this book and working through the tutorial, I am definitely able to implement the principles learned through this book, and feel that I picked up enough basics about PDO to be able to expand my knowledge on the subject with little enough effort.

In the past I've been rather disappointed in the technical books I've purchased that were published by Packt Publishers -- they've been plagued with typos and are generally overpriced for the breadth and depth of material covered; however this book came much closer to being worth the purchase price.