This is AnyKey's TypePad Profile.
Join TypePad and start following AnyKey's activity
AnyKey
Recent Activity
I've always like the format of
http://server.com/category/resource.format
.aspx or .jsp aren't formats (they are technologies for generating HTML or XHTML). On a site I used to run called radiomixtape I had the following URL structure
http://radiomixtape.com/mixtape/1.html
http://radiomixtape.com/mixtape/1.xml
http://radiomixtape.com/mixtape/1.pls
http://radiomixtape.com/mixtape/1.jpg
http://radiomixtape.com/mixtape/1.swf
The .html was a full HTML webpage with the list of songs, an embed player to listen to them and links to share the mix tape as well as discover the artists on it), .xml was a clean XML representation of the tracks (and used by) .swf was a Flash Animation (which grabbed its track list by calling loadXML on its own URL but substituting .swf for .xml, really easy to make). .jpg was a generated cassette tap spine with the name of the mix tape written in a permanent marker font, and .pls was a WinAmp compatible play list of the songs in the mix tape. This was all accomplished with URLRewriting and a small set of servlets. Man I miss that code.
URL Rewriting to Prevent Duplicate URLs
As a software developer, you may be familiar with the DRY principle: don't repeat yourself. It's absolute bedrock in software engineering, and it's covered beautifully in The Pragmatic Programmer, and even more succinctly in this brief IEEE software article (pdf). If you haven't committed this ...
AnyKey is now following The Typepad Team
Jul 14, 2010
Subscribe to AnyKey’s Recent Activity
