Little things for big minds

Simon notes that Mark’s latest tinkerings are similar to the url forwarding, on which Mark consciously based his code. Neat. I’ve used this sort of technique before, especially on IIS/ASP-based sites where you’ve not got access to modrewrite — in these sorts of environments, a custom 404 handler can work wonders. It’s also how the funky caching concept works. If I were Mark, however, I think I’d have used mod_rewrite for some of the work; it would be rather neat if http://diveintomark/find/search%20terms searched for those terms (as Adrian Holovaty already does, and a mod_rewrite hack is easier there than parsing terms out of the URL in your 404 script. (I’m feeling an attack of “right tool for the right job” here, too, although I’m unclear whether it’s justified.) The strength of the implementation is that it searches the online PHP manual, something that’s rather a challenge to do using only URL rewriting. I turned up on Mark’s recommended reading list, too, so I must be doing something right. All this pales into insignificance, though, behind Mark’s comment that “I hope to eventually achieve web design nirvana, a state in which, if anyone can’t read my site, it’s their own damn fault.” This should be every web developer’s mantra. I’m thinking of having it hacked into the raw stone above my door, so that I see it and remember it every day. If there’s a better summary of how we’re supposed to be doing what we do, I haven’t seen it. ——-

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)