PHP in Action: Modern Software Practices for PHP (Anglais) Broché – 5 juillet 2007
|Neuf à partir de||Occasion à partir de|
- Choisissez parmi 17 000 points de collecte en France
- Les membres du programme Amazon Premium bénéficient de livraison gratuites illimitées
- Trouvez votre point de collecte et ajoutez-le à votre carnet d’adresses
- Sélectionnez cette adresse lors de votre commande
Descriptions du produit
PrÃ©sentation de l'Ã©diteur
This book takes on the most important challenges of web programming in PHP
5 using state-of-the art programming and software design techniques including
unit testing, refactoring and design patterns. It provides essential skills for developing
or maintaining complex to moderately complex PHP web applications.
To keep programming productive and enjoyable, state-of-the-art practices and
principles are essential. Object-oriented programming and design help manage
complexity by keeping components cleanly separated. Unit testing helps prevent
endless, exhausting debugging sessions. Refactoring keeps code supple and
readable. PHP offers all thisand more.
This book shows you how to apply PHP techniques and principles to all the
most common challenges of web programming, including:
Web presentation and templates
User interaction including the Model-View-Contoller architecture
Input validation and form handling
Database connection and querying and abstraction
Explains to PHP programmers software engineering principles of design and
architecture of web programming
How to refactor / redesign / restructure legacy applications
Improve existing code incrementally and under time constraints
How to use automated testing
How to keep web applications secure
Rich in interesting and useful examples
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 numéro de téléphone mobile.
Détails sur le produit
Commentaires en ligne
Commentaires client les plus utiles sur Amazon.com (beta)
How many books have you finished and asked yourself, "ok, now, where do I start?". This is NOT one of those books. This, more than any other, answers the "How ...?" providing a whole process for starting, being sure of incremental progress, handling inevitable complexity and, ultimately, maintainability.
I've read over a dozen PHP books, usually picked based on Amazon recommendations (when available). This book stands head and shoulders ABOVE ANYthing I've found to date ... for its pragmatic blend of theory and practice. On a scale of 1 to 5 stars, this is at least an 11 (or better)! If you don't study this book, CAREFULLY, you're in for far more miserable coding experiences than necessary.
When I took the scenic boat ride through Oslo harbor, I had no idea that such a blend of PHP techniques and advanced coding theory was evolving in Norway! <G> It's such a beautiful ride ... try it.
In addition to PHP, I have decent amount of experience with Java and Java web frameworks such as Struts. So as I worked through this book much of the content was familiar to me but from a Java perspective. It was enlightening to see the authors express these same concepts from a PHP perspective. The fact that many times (not always), the implementation in PHP is more concise and elegant that the Java alternative really shows of the power of a dynamically typed language such as PHP. Also the fact that PHP was bred from the beginning to be a web development language gives it a definate advantage in the web arena.
The authors are honest though, they haven't simply painted implementing OO, TDD, and Refactoring as completelty painless. For instance in the testing portion they've devoted quite a bit of time to showing the difficulties of testing (especially in a Web environment). Such as the need for mock objects and the difficulty in keeping mocks "real enough" so they fail and pass as the real object would. This full disclosure is key for readers to estimate if the extra effort of a concept is worth the benefits for their particual situation.
Overall this is great book for the intended audience. It is not "black and white" about the solutions it proposes. Reasonable alternatives are given and the pros and cons of each are expressed. For those with extensive OO experience, some portions of the book may seem trivial but overall it is still worth a "quick scan" to see the specifics of PHP implementations of general OO concepts.
PHP in Action: Objects, Design, Agility
The only problem I have with it is how the chapter intros were written. They read like page fillers that just break the smooth flow of the whole text. Most of them are personal experiences by the author(s) that were forcefully fitted to introduce a certain programming topic or issue. The thing is it just doesn't work.
So if you're reading reviews and wondering if you should get this or the other book...no question, get this.