More on URL design

Till Quack has an article at A List Apart on URL design. Instead of the mod_rewrite method I described in my article, he implements a router/handler in PHP.

How you go with this is a matter of taste and philosophy. Quack’s method allows you to process the request in PHP before dispatching it. You can do a lot of munging in mod_rewrite, as well by calling shell and perl scripts, but it’s not as obvious.

I prefer the mod_rewrite method because I want all the processing done to the requested URL before PHP gets it. I like system boundaries.

Possibly Related posts (machine generated):

  1. Preventing Image Bandwidth Theft With .htaccess
  2. Apache/XML Stylesheet Glue
  3. Redirects and Moveable Type Archives
  4. PageXchanger
  5. More on PHP XPath

More like this: , .

blog comments powered by Disqus