Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre adresse e-mail ou numéro de téléphone mobile.
|Prix livre imprimé :||EUR 39,02|
|Prix Kindle :||
Économisez EUR 25,00 (64%)
Learning PHP Data Objects Format Kindle
|Neuf à partir de||Occasion à partir de|
Descriptions du produit
Détails sur le produit
Commentaires en ligne
Meilleurs commentaires des clients
Bref, sur 171 pages, on aurait pu faire l'économie d'un bon tiers.
Le code PHP, HTML et SQL y est assez laxiste (beaucoup de SELECT *, de short-tags PHP et un HTML peu sémantique et souvent non respectueux de la norme (absence de thead et tbody et oubli de th au profit de <tr style="font-weight:bold">)
Les scripts y sont présentés sans numérotation des lignes alors que les commentaires se réfèrent souvent au code par le numéro de ligne dans le script.
Quant à la syntaxe et la grammaire (en anglais) elles sont aussi assez souvent fantaisistes.
Je suis en train de traduire cet ouvrage, pour mon compte personnel, mais je n'en cautionne pas beaucoup la forme.
Comme il y a peu d'écrits sur ce sujet, pour l'instant, je pense que celui-ci trouvera rapidement un remplaçant de qualité.
Commentaires client les plus utiles sur 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.