Start reading Learning PHP Data Objects on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Learning PHP Data Objects
 
See larger image
 

Learning PHP Data Objects [Kindle Edition]

Dennis Popel
5.0 out of 5 stars  See all reviews (1 customer review)

Digital List Price: CDN$ 23.99 What's this?
Print List Price: CDN$ 45.65
Kindle Price: CDN$ 14.39 includes free international wireless delivery via Amazon Whispernet
You Save: CDN$ 31.26 (68%)

Free Kindle Reading App Anybody can read Kindle books even without a Kindle device with the FREE Kindle app for smartphones, tablets, and computers.

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

Formats

Amazon Price New from Used from
Kindle Edition CDN $14.39  
Paperback CDN $45.63  
Hero Quick Promo
Boxing Day Kindle Deals
Load your library with over 30 popular fiction books and more, today only. Learn more

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.

Product Details

  • Format: Kindle Edition
  • File Size: 1827 KB
  • Print Length: 190 pages
  • Page Numbers Source ISBN: 1847192661
  • Publisher: Packt Publishing (Aug. 30 2007)
  • Sold by: Amazon Digital Services, Inc.
  • Language: English
  • ASIN: B0058SOD4S
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  •  Would you like to give feedback on images?


Customer Reviews

4 star
0
3 star
0
2 star
0
1 star
0
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
5.0 out of 5 stars Worth the price. June 18 2009
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.

Readability:
------------
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?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.0 out of 5 stars  5 reviews
6 of 7 people found the following review helpful
4.0 out of 5 stars Good but a touch disappointed July 18 2008
By William E. Reveal - Published on Amazon.com
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.
5.0 out of 5 stars Good book March 26 2013
By eatnut - Published on Amazon.com
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.
1 of 2 people found the following review helpful
4.0 out of 5 stars Great book if you're looking for a fast overview Jan. 1 2009
By Pskin99 - Published on Amazon.com
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
4.0 out of 5 stars Good Introductory Tutorial, a little overpriced Feb. 24 2009
By PHPDeveloper - Published on Amazon.com
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.
0 of 2 people found the following review helpful
3.0 out of 5 stars Could have been a smaller book considering the material presented. Jan. 28 2010
By John Brunton - Published on Amazon.com
Format:Paperback
This book isn't too bad for learning about PDO but the main disappointment I have with it is zero coverage of accessing stored procedures using PDO. I liked Chapter 7 - an advanced example in how to set up a MVC application. This is more real world but real world, or rather corporate applications would not put SQL code within program code. It would be placed in a stored procedure. That way, you only grant execute permissions to the procedures instead of Select, Insert, Update, Delete to the tables. Since it is the only book I know of on the subject, it is worth the money.
Search Customer Reviews
Only search this product's reviews

Look for similar items by category