Got this from Daniel Pope’s blog…
- Grab the nearest book.
- Open it to page 56.
- Find the fifth sentence.
- Post the text of the sentence in your blog along with these instructions.
- Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.
Similarly, a class that wraps an HTTP request (including headers, response codes, and so on) has only one instance per request.
The book that was nearest to me was Advanced PHP Programming by George Schlossnagle (ISBN 0-672-32561-6).
November 17th, 2008 at 10:22 pm
[...] this from James Titcumb’s [...]