Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Buy Used
FREE Shipping on orders over $25.
Condition: Used: Good
Comment: Some wear to cover. Binding tight. Ships fast from Amazon!
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

PHP in Action: Objects, Design, Agility Paperback – July 13, 2007

4.5 out of 5 stars 14 customer reviews

See all 2 formats and editions Hide other formats and editions
New from Used from
"Please retry"
$11.98 $0.01

Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
click to open popover

Editorial Reviews

About the Author

Dagfinn Reiersol has been designing and developing web applications, web content mining software, web programming tools, and text analysis programs, mostly in PHP, since 1997. He also has a long history as a technical writer of software manuals. He lives in Oslo, Norway.


The latest book club pick from Oprah
"The Underground Railroad" by Colson Whitehead is a magnificent novel chronicling a young slave's adventures as she makes a desperate bid for freedom in the antebellum South. See more

Product Details

  • Paperback: 552 pages
  • Publisher: Manning Publications; 1 edition (July 13, 2007)
  • Language: English
  • ISBN-10: 1932394753
  • ISBN-13: 978-1932394757
  • Product Dimensions: 7.4 x 1.1 x 9.2 inches
  • Shipping Weight: 2 pounds
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #1,359,971 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Paperback Verified Purchase
Most books, I've read are written by full-time authors, rather than contractors (i.e. practitioners) ... and it shows ... in the "hello world", foo-bar examples ... for lack of immagination. This author has, clearly, been developing websites - for years; it's so evident throughout. Moreover, the author is VERY well read and aware of the latest development theories, practices, principles and design patterns. He writes with the wisdom of someone who has lived through long wars of website development and, more importantly to the reader, has found most practical ways to weave current design theory into guidelines for getting things done with PHP.

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.
2 Comments 30 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
By Sam on December 7, 2007
Format: Paperback
This book is geared toward the intermediate PHP developer who wants to bring in aspects of OOP, Testing and Refactoring to help improve the quality of the code they write. It is split into four parts; Basic Tools and Concepts, Testing and Refactoring, Building the Web Interface, and Databases and Infrastructure.

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.
Read more ›
Comment 14 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
One thing I liked in this book is that it has lots of information for experienced web developers who are moving from a bigger framework (like .Net, Rails, or even Java) to PHP. It contains good practices for performing "framework-type" activities like database and HTTP request encapsulation. The chapters on controllers tells you how emulate MVC-like components in PHP.

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.
Comment 7 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
I am only 120 pages into this excellent book on effective OO PHP. There is the perfect balance of high level theory, examples, and pragmatic discussion on the pro's & con's of certain OOP approaches & refactoring patterns.

I bought this book to brush up on OOP PHP, since I had long since given up on PHP after glomming onto Ruby & Rails. I have recently gotten interested in PHP again, primarily due to the good things I see going on in the PHP-CMS space (Drupal mainly, and also WP), primarily the emergence of using frameworks to write PHP, a development which is a game changer IMO. Drupal 8 will begin using symfony 2, and this is enough to get me very interested in PHP development again.

I cannot recommend this book highly enough if you are looking to start coding OOP PHP. There are some changes it seems since the book was written (I tried "private function __get()" per page 47, and got the error that this magic method had to be public), but they are easily fixed. The Good vastly outweighs any Bad in this tremendous book!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews