No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
To get the free app, enter your e-mail address or mobile phone number.
|Digital List Price:||CDN$ 23.99|
|Print List Price:||CDN$ 55.89|
Save CDN$ 41.50 (74%)
Learning PHP Data Objects Kindle Edition
|New from||Used from|
Customers Who Bought This Item Also Bought
Top Customer Reviews
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) [...]".
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 ›
Most Helpful Customer Reviews on Amazon.com (beta)
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.
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.
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.
Look for similar items by category
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Software Development
- Books > Computers & Technology > Web Development > Programming > PHP
- Kindle Store > English Language Store
- Kindle Store > Kindle eBooks > Computers & Technology > Programming