PHP in Action : Modern Software Practices for PHP

  Author:    Chris Shiflett, Dagfinn Reiersol, Marcus Baker, Dagfinn Reiersol
  ISBN:    1932394753
  Sales Rank:    89474
  Published:    2006-09-01
  Publisher:    Manning Publications
  # Pages:    600
  Binding:    Paperback
  Avg. Rating:    5.0 based on 8 reviews
  Used Offers:    9 from $20.86
  Amazon Price:    $33.99
  (Data above last updated:  2008-08-26 06:09:24 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
PHP in Action : Modern Software Practices for PHP
  
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 this-and 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
  • Object persistence
  •                   Reader Reviews 1 - 8 of 8                 
      
      
    Review
    Date
    Review
    Rating(5 High)
    Review
    Helpful
    to:
    Customer Review Reviewer
    Info
    Permanent
    Link
    Reader Reviews Below Sorted by Newest First
    04-20-08 5 (NA)
    (Hide Review...)  Super
    Reviewer Permalink
    Very good book for intermediate or advanced php developer, I'm very happy with the book.
    Ruslan
    (Review Data Last Updated: 2008-08-26 06:10:41 EST)
    12-07-07 4 1\1
    (Hide Review...)  PHP In Action
    Reviewer Permalink
    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
    (Review Data Last Updated: 2008-04-17 03:52:33 EST)
    11-29-07 3 (NA)
    (Hide Review...)  being a good PHP book isn't saying much
    Reviewer Permalink
    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.
    (Review Data Last Updated: 2007-12-08 11:28:42 EST)
    11-14-07 5 0\1
    (Hide Review...)  High quality -- excellent
    Reviewer Permalink
    This is definitely the best book I've read in the programming world. There are some very good PHP books, but this is so far the best. Why? I have a MS in English Lit and some of the books I have read have left me furious over the poor quality of the editing and general sloppyness. Not so here! Amusing at times but not self-involved. Appropriate for an adult. A clear intent to educate that succeeds!
    Good job.
    PS - Almost done and no typos!
    (Review Data Last Updated: 2007-11-29 16:26:19 EST)
    11-08-07 5 1\1
    (Hide Review...)  Solid book on PHP best practices
    Reviewer Permalink
    By far my favorite PHP book and the one that I recommend to everyone who asks me about improving their PHP knowledge.

    The book not only covers what you should do, but it goes into explaining why and how in an easy to understand manner. Highly recommend to anyone who understands how to script PHP but now wants to learn how to become a PHP programmer.
    (Review Data Last Updated: 2007-11-15 16:22:33 EST)
    10-23-07 4 (NA)
    (Hide Review...)  Good read overall, with lots of information for intermediate developers
    Reviewer Permalink
    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.
    (Review Data Last Updated: 2007-11-08 16:57:29 EST)
    10-07-07 5 4\4
    (Hide Review...)  best of the best
    Reviewer Permalink
    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! It's such a beautiful ride ... try it.
    (Review Data Last Updated: 2007-10-23 01:45:16 EST)
    09-28-07 5 0\1
    (Hide Review...)  in depth
    Reviewer Permalink
    i browse through some topics in this book and it gives an in-depth description of the language. not too many PHP book is so in-depth. make something clear means less confusion, and less bug, and less time spent debugging, and less heahache, and more beach volleyball time.

    (Review Data Last Updated: 2007-10-07 13:17:44 EST)
      
                      Reader Reviews 1 - 8 of 8                 
      
      
      
      
      
      

    Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
    Search VeryWellSaid™
    Google
    Web VeryWellSaid™
    New subjects are added every week.
    View Subjects Below by:
    * Top Selling
     (click category name, left)
    * Top-Rated Top Sellers
     (click 'Top Rated', right)
    In the news...  
    Dubai\UAE Top Rated
    Influenza\Bird Flu Top Rated
    Iraq Top Rated
    Supreme Court Top Rated
    All Books Top Rated
    Arts Top Rated
    Photography Top Rated
    Digital Photography Top Rated
    Digital Cameras Top Rated
    Biography Top Rated
    Business Top Rated
    Management Top Rated
    Marketing Top Rated
    Sales Top Rated
    Stocks Top Rated
    Bonds Top Rated
    Real Estate Top Rated
    Trading Top Rated
    Commodities Trading Top Rated
    Time Management Top Rated
    Starting A Business Top Rated
    Children's Top Rated
    Comics Top Rated
    Computers Top Rated
    PC Top Rated
    Mac Top Rated
    Programming Top Rated
    Design Patterns Top Rated
    .Net Top Rated
    C# Top Rated
    Vb.Net Top Rated
    Asp.Net Top Rated
    Java Top Rated
    Python Top Rated
    PHP Top Rated
    Perl Top Rated
    Javascript Top Rated
    Ajax Top Rated
    CSS Top Rated
    Open Source Top Rated
    SQL Top Rated
    Databases Top Rated
    Oracle Top Rated
    MySql Top Rated
    Sql Server Top Rated
    IIS Top Rated
    Apache Top Rated
    Linux Top Rated
    Windows Server Top Rated
    Project Management Top Rated
    HTML Top Rated
    UML Top Rated
    IT Certifications Top Rated
    Cisco Certifications Top Rated
    MCSE Top Rated
    MCSD Top Rated
    Cooking Top Rated
    Italian Cooking Top Rated
    Vegetarian Cooking Top Rated
    Wine Top Rated
    Engineering Top Rated
    Entertainment Top Rated
    Health Top Rated
    Nutrition Top Rated
    Dieting Top Rated
    Sex Top Rated
    History Top Rated
    Military History Top Rated
    British History Top Rated
    Middle East History Top Rated
    Land Battles Top Rated
    Naval Warfare Top Rated
    Air Warfare Top Rated
    9/11 Top Rated
    Terrorism Top Rated
    Home Top Rated
    Mortgage\Home Equity Loan Top Rated
    Cars Top Rated
    Car Buying Top Rated
    Sports Cars Top Rated
    Cat Top Rated
    Humor Top Rated
    Horror Top Rated
    Law Top Rated
    IP Law Top Rated
    Legal History Top Rated
    Fiction Top Rated
    Oprah's Book Club Top Rated
    Medicine Top Rated
    Cancer Top Rated
    Stroke Top Rated
    Heart Disease Top Rated
    Fertility Top Rated
    Diabetes Top Rated
    Pharmacology Top Rated
    Back Problems Top Rated
    Menopause Top Rated
    Thyroid Top Rated
    Pain Top Rated
    Organic Chemistry Top Rated
    Immune System Top Rated
    Mystery Top Rated
    Nonfiction Top Rated
    Outdoors Top Rated
    Running Top Rated
    Radio Control Models Top Rated
    Guns Top Rated
    Parenting Top Rated
    Divorce Top Rated
    Professional Top Rated
    Reference Top Rated
    Religion Top Rated
    Romance Top Rated
    Science Top Rated
    Physics Top Rated
    Chemistry Top Rated
    Astronomy Top Rated
    Psychology Top Rated
    Science Fiction Top Rated
    Sports Top Rated
    Teens Top Rated
    Travel Top Rated
    USA Top Rated
    Europe Top Rated
    France Top Rated
    Italy Top Rated
    England Top Rated
    China Top Rated
    All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
    Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
    Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
    In Association with Amazon.com

    Cache miss
    (not cached)