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
 

PHP Objects, Patterns, and Practice, Second Edition


By Matt Zandstra
 
Image of: PHP Objects, Patterns, and Practice, Second Edition
Pricing Details:

List Price:$44.99
You save:$15.30 (34%)
Your Price:$29.69
Buy Now

Book Details:

Format:Paperback, 487 pages.
Publisher:Apress 2007-12-20
ISBN:1590599098

Average Customer Rating:

4.5 4.5 out of 5 stars (6 reviews)

Editorial Reviews:

Backed by a tireless development community, PHP has been a model of language evolution over its 10+ year history. Borne from a contract developer’s pet project, these days you’ll find PHP powering many of the world’s largest web sites, including Yahoo!, Digg, EA Games, and Lycos.

PHP Objects, Patterns, and Practice, Second Edition shows you how to meld the power of PHP with the sound enterprise development techniques embraced by professional programmers. Going well beyond the basics of object–oriented development, you’ll learn about advanced topics such as working with static methods and properties, abstract classes, interfaces, design patterns, exception handling, and more. You’ll also be exposed to key tools such as PEAR, CVS, Phing, and phpDocumentor.

What you’ll learn

  • Write solid, maintainable code by embracing object–oriented techniques and design patterns.
  • Create detailed, versatile documentation using the powerful phpDocumentor automated documentation system.
  • Gain new flexibility during the development process by managing your code within a CVS repository and using the Phing build system.
  • Capitalize upon the quality code of others by using the PEAR package management solution.

Who is this book for?

PHP developers seeking to embrace sound development techniques such as object–orientation, design patterns, testing, and documentation

Related Titles from Apress

  • Beginning PHP and MySQL: From Novice to Professional, Third Edition
  • Pro PHP: Patterns, Frameworks, Testing and More
  • Beginning Google Maps Applications with PHP and Ajax: From Novice to Professional


Customer Reviews:

Displaying 1 to 5 of 6 total reviews (Page 1 of 2):

4 out of 5 stars Buen libro de POO y PHP (Good OOP PHP book)

Explica con palabras sencillas los conceptos de programacion orientada a objetos (POO) y como aplicarlos en PHP, sin embargo pienso que el autor aveces se extiende demasiado para explicar sus ideas y no concreta del todo. El libro es ideal para unir el concepto de POO y PHP, mas no para aplicarlo, no es un libro para ejercitar.

Explains in simple words the concepts of object oriented programming (OOP) and how to apply them in PHP, however I think that he sometimes stretches too much to explain his ideas and not specific at all. The book is ideal for combining the concept of OOP and PHP, but not to implement it, is not a book for exercise.

5 out of 5 stars Interesting and easy to read PHP OO primer

I have experience in a variety of object oriented (OO) languages, but not PHP. This book has helped me understand how PHP supports objects and some of the typical design patterns you will see in OO PHP.
Although it is written with PPH5, it even covers some aspects of OO in PHP4.
It is easy to read, interesting and contains good code examples.
This isn't a PHP Beginners book, although I'm not fully familiar with PHP and haven't had a hard time reading this book, probably because of my OO background and basic PHP knowledge. Still, if you just need a PHP beginners book, this isn't the one.
It is a great book if you want to learn OO PHP or even just some OO principles in general. Very glad I picked this book up.

4 out of 5 stars Very good book, despite some muddled spots

I've owned PHP Objects, Patterns, and Practice for over a year, and it's still one of those books I go back to. It's a well written, generally well executed book on what constitutes Object Oriented Programming in the PHP5 environment.

First, the good news:

This book is a crash course on OOP design and thought. It borrows heavily from two monumentous texts in the field - the Gang of Four's book, and Java Enterprise Patterns - and condences their essences into an easy to swallow form. The basics are all here: how to create well designed classes, how to instantiate objects, etc. There's a hidden gem in the introductory portion of the book: the Reflection API. This API is built into PHP, and gives the coder unparalleled access to the guts of the classes and objects in a given project. It definitely has its uses.

The patterns are all generally useful, with the only exception perhaps being the Interpreter pattern. I'm just not convinced that creating one's own command line interface syntax is necessary, given that PHP projects aren't usually interactive. It seems like something best left to an appendex, or extra web content.

Now, for the bad news:

Some sections of the book, especially some of the code examples, could've used a better editor. Small things, the kinds of things that can trip up inexperienced coders, crop up. Using private properties instead of protected. Using the wrong variable name between examples. That sort of thing.

There's also a lack of a satisfying conclusion, so-to-speak. Zandstra himself claims that generating objects is perhaps the hardest thing to demonstrate. Yet, most of his examples (excepting the patterns late in the book) are canned. Objects and classes exist only to drive the theory behind a pattern home. Few real world examples are given. Admittedly, some patterns are simple to transfer to a real project, but concrete examples of that nature could serve to further cement his point. For example, it's not difficult to see how the Composite pattern would work well for dealing with an XML document, but would there ever be a need for a Visitor object to act on one?

Finally, and in continuation of my last criticism, Zandstra never touches one of the things PHP is used the most for: form handling. Can forms be represented by classes? Could forms be generated by objects (perhaps using a Factory pattern)? What about form validators? Wouldn't the Strategy or Decorator pattern work? Supplementing his online Civilization game and CLI/quiz examples with this would've really put the book over the top.

Still, with that said, PHP Objects, Patterns, and Practice is still a text that gets far more right than wrong. It's definitely a must-buy for those PHP coders looking to write modular code.

5 out of 5 stars Best OO book on PHP ever

This is the best book I've read on Object Orientated PHP. This book does a great job of explaining the ins and outs of OO in PHP 5. As a self taught PHP developer of 5 years, I had lots of questions about "am I doing this right", "how should this be done" and the book has answered most of those questions.

I'd recommend the book to those who already have an advanced PHP knowledge but are looking to take their code another step forward by improving it's re-usability. It's also a great read if you want to find out the power that PHP 5 has over PHP 4.

Note: this book doesn't contain code that you can use. It teaches you the principles that you should use in your own projects.

3 out of 5 stars Great book but...

This is a really great book for advanced developers who whant learn abount php5 OOP technique; it explain very well how objects work and how to use the most famous patterns but it fails in third section: "The Practice".

CVS, PHPDoc and Phing, for me, are not enought for a good "Practice".

The entire book use too much simplistic examples, and so, is very difficult, for a beginner, to use all book concepts in real world.

I hope that in the next edition, Matt will fill this gap.

Bye From Italy

More Customer Reviews:
Next Page


Customers who bought this book were also interested in:


Practical Web 2.0 Applications with PHP (Practical)


Pro PHP: Patterns, Frameworks, Testing and More (Pro)


Beginning PHP and MySQL: From Novice to Professional, Third Edition (Beginning from Novice to Professional)


PHP 5 Recipes: A Problem-Solution Approach


PHP in Action: Objects, Design, Agility

 

Find similar books by category...


Search for more:

Search books:  



Google
 
Web XMLwriter.net




Last updated: Mon Oct 13 1:59:34 CDT 2008
© Wattle Software 2007. All rights reserved.