Wattle Software - producers of XMLwriter XML editor
 Bookstore Home | XMLwriter Home | Search | Site Map 
XML Related
 General XML
 XSLT & Stylesheets
 XHTML
 SGML
 XML DTDs
 XML Schema
Web Development
 Web Graphics
 HTML
 Dynamic HTML
Web Services
 General Web Services
 UDDI
 SOAP
 WSDL
 Programming/Scripting 
 PHP Programming
 Perl Programming
 Active Server Pages
 Java Server Pages
 JavaScript
 VBScript
 .NET Programming
 
XMLwriter
 About XMLwriter
 Download XMLwriter
 Buy XMLwriter
XML Resources
 XML Links
 XML Training
 The XML Guide
 XML Book Samples
 

Learning PHP Data Objects


By Dennis Poppel
 
Image of: Learning PHP Data Objects
Pricing Details:

List Price:$39.99
You save:$0.00 (0%)
Your Price:$39.99
Buy Now

Book Details:

Format:Paperback, 188 pages.
Publisher:Packt Publishing 2007-08-01
ISBN:1847192661

Average Customer Rating:

4.5 4.5 out of 5 stars (2 reviews)

Editorial Reviews:

This book is for PHP developers who need to use PHP Data Objects (PDO) for data abstraction. Covering an overview of PDO, getting started, error handling, prepared statements, handling rowsets, advanced uses, and use in an MVC application, it first describes the topic, then gives step-by-step instructions for a particular example. A final appendix covers the object-oriented features of PHP 5. Readers should be familiar with PHP and aware of the basics of data abstraction. Lighter, faster, more powerful than existing data abstraction interfaces, PDO is an open-source query abstraction layer for accessing databases and manipulating returned records that is used with a database-specific PDO driver to access a particular database. It has the same role as classic database abstraction layers such as ODBC and JDBC. PDO ships with PHP 5.1, and is available as a PECL extension for PHP 5.0; PDO requires the new OO features in the core of PHP 5, and so will not run with earlier versions of PHP.


Customer Reviews:

4 out of 5 stars Good but a touch disappointed

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 .

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 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

5 out of 5 stars Good Foundation Book

I like the book's erudite methodology. The methodology of this book is based on the two tenets of sound education:

Informing
Demonstrating

In this books after the information I found lots of exercises, step by step, with plenty of pictures and screen shots that lead me through and demonstrated a process of task. These exercises are fantastic guides.
The author has used a case study approach, which is perfect for me because I learn by doing and practising.

The author has identified the stable and core concepts of PDO and presented them in a way that gives us the strongest possible starting point, no matter what our endeavour.

Be warned that you are assumed to have a basic understanding of Object Oriented Programming to make the most of this book.


Customers who bought this book were also interested in:


PHP in Action: Objects, Design, Agility


PHP Objects, Patterns, and Practice, Second Edition


Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques


Practical Web 2.0 Applications with PHP (Practical)


PHP 5 Recipes: A Problem-Solution Approach

 

Find similar books by category...


Search for more:

Search books:  



Google
 
Web XMLwriter.net




Last updated: Sat Nov 22 7:56:42 CST 2008
© Wattle Software 2007. All rights reserved.