Buy Used
CDN$ 6.38
+ CDN$ 6.49 shipping
Used: Very Good | Details
Condition: Used: Very Good
Comment: Ships from the USA. Please allow 2 to 3 weeks for delivery. Book has appearance of light use with no easily noticeable wear. Millions of satisfied customers and climbing. Thriftbooks is the name you can trust, guaranteed. Spend Less. Read More.
Have one to sell?
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 – Jul 13 2007

5.0 out of 5 stars 1 customer review

See all 2 formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
CDN$ 54.70 CDN$ 6.38

Harry Potter and the Cursed Child
click to open popover

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

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

Product Details

  • Paperback: 552 pages
  • Publisher: Manning Publications; 1 edition (July 13 2007)
  • Language: English
  • ISBN-10: 1932394753
  • ISBN-13: 978-1932394757
  • Product Dimensions: 18.7 x 2.7 x 23.5 cm
  • Shipping Weight: 907 g
  • Average Customer Review: 5.0 out of 5 stars 1 customer review
  • Amazon Bestsellers Rank: #779,337 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

Product Description

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.

Customer Reviews

5.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback
This is an excellent book. It is well written, thoughtful, and informative. I read it more than a year ago and I am still using many of the techniques I learned in it. I also often return to it to pick up a new idea or technique I did missed the first time.

Although, I still consider myself an intermediate PHP programmer after reading this book, I feel my programming has advanced meassurably thanks to the techniques I learned from it. I tend to spend more time thinking about program architecture and testing than I ever did, and I believe the code I produce is far more robust, maintainable and understandable as a result.
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 Helpful Customer Reviews on (beta) HASH(0xa7c5b384) out of 5 stars 14 reviews
30 of 34 people found the following review helpful
HASH(0xa7c55e64) out of 5 stars best of the best Oct. 6 2007
By Discoveror - Published on
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.
14 of 15 people found the following review helpful
HASH(0xb2d818b8) out of 5 stars PHP In Action Dec 7 2007
By Sam - Published on
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. 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
7 of 8 people found the following review helpful
HASH(0xb2d817f8) out of 5 stars Good read overall, with lots of information for intermediate developers Oct. 22 2007
By Trent Buckingham - Published on
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.
6 of 7 people found the following review helpful
HASH(0xb353ba8c) out of 5 stars Very Good Book Jan. 19 2009
By Mark Twain - Published on
Format: Paperback Verified Purchase
Simply put, this is one of the best books on OOP & PHP I have laid my eyes on. I got it based on a friend's recommendation. I was going through his library in his office of probably 20+ php books (including others on OOP [he's an OOP guy])- and he's a php book contributor himself) and he pointed out this one and said this was the best treatment of OOP he'd ever seen. This coming from someone who it seems thinks in PHP at times, I quickly got it and have not been disappointed.

So if you're reading reviews and wondering if you should get this or the other question, get this.
26 of 36 people found the following review helpful
HASH(0xb353b768) out of 5 stars being a good PHP book isn't saying much Nov. 28 2007
By George Jempty - Published on
Format: Paperback
The problem with PHP experts is that they're just beginning to catch up with experts in other OO languages. The author purports to compare and contrast Java and PHP in early chapters, but fails to point out a significant difference, although he uses such examples over and over: that object constructors that take no arguments may omit the (empty) parentheses in PHP, but not in Java. The author's explanations of certain design patterns are sorely lacking; for instance regarding the Strategy pattern, he uses the ambiguous term "pluggable" over and over but never once the term "algorithm", yet substituting algorithms is precisely what the Strategy pattern is designed for. There is some very good material on MVC -- he even has the courage to contradict Martin Fowler -- but mixed with suggestions that are myopic, such as the author's continued insistence that using PHP's various ob* (output buffer) functions are practically the only way to compartmentalize web page components should you choose to role your own framework, while ignoring the notion of layout definitions (a la Java's Struts/Tiles), which I am using successfully on a current project. So, while this is a much better thought out book than most on PHP, this needs a highly critical reading, something which most PHP programmers are probably not inclined to.