Weblog:   Great book: Advanced PHP Programming
Subject:   errata?
Date:   2004-06-14 13:50:37
From:   hakkikt
Hi Derek,

I started reading "Advanced PHP Programming" on your recommendation, but I am disappointed at the errors that I find in the first few chapters, and am wondering about all the rest! Can I trust it? I tried to find an errata on the web, but without success.


p38: "a class constructor should be named __constructor()," then he uses __construct().
p44: "polymorphism. This is derived from Latin..."
p46: ' " . mysql_escape... (missing closing quote)
p65: "that changes it's API..."

It's hard enough as it is, considering I have zero OOP experience, I'd like to be able to trust what I'm reading. Granted, none of the above are earth-shattering, but are they the tip of the iceberg and am I picking up only them because I don't already master the subject?



Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • errata?
    2004-10-15 07:42:05  Vernon_T_Bludgeon [View]

    I'd love to find out where the errata page is for this book. Been googling for minutes with no luck.

    There's something odd (it seems to me) in Chapter 12 about database access patterns. I have trouble seeing the fundamental difference between the Active Record and the Integrated Mapper pattern examples. Maybe I'm just dense.

    Otherwise, yes, this is truly an extraordinary PHP book. For me in particular -- at the risk of sounding melodramatic -- it could be life-changing. As a self-taught demigeek with a perfectly respectable non-tech day job, I develop in PHP primarily for fun and only secondarily for profit. I wrote a very substantial PHP/MySQL app for use in my place of employment and have since learned so much, although my app works (yay!), it also sucks (disorganized, spaghetti)and I want to rewrite it from the ground up. But the challenges and complexities are considerable. Now comes "Advanced PHP Programmng" to save the day. It is exactly what I need.
    • errata?
      2006-05-15 03:55:41  Heinzzz [View]

      Errata (pdf)

    • Integrated Mapper Pattern
      2005-03-30 17:12:34  jamie007 [View]

      At first glance you can see that the so called "Integrated Mapper Pattern" is different to the Active Record by the construct mapping the appropriate fields to their member variables. However, this to me is still an Active Record??

      I think I must be missing something also. If he was implementing some kind of mapper array in the contructor then I could understand the name but otherwise Active Record?

      If someone could explain this to me I would be grateful. Glad to see I'm not the only one with the question though.

      Anyway, amazing book never the less.
  • Derek Sivers photo errata?
    2004-06-14 15:26:23  Derek Sivers | O'Reilly Blogger [View]

    Yeah I noticed at least a DOZEN different errors in even a first read. But the overall point was so good I didn't mind a few typos.

    In fact, I liked how it kept me on my toes, catching all of them.
    • errata?
      2004-06-15 13:35:42  hakkikt [View]

      > In fact, I liked how it kept me on my toes, catching all of them.

      Eh, that's a way to look at it...


Showing messages 1 through 5 of 5.