The Artima Developer Community
Sponsored Link

Java Buzz Forum
URLs Matter

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
URLs Matter Posted: Jan 4, 2006 4:27 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: URLs Matter
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement

On the last 10 projects that I have worked on URLs have really mattered.

We recently updated ajaxian.com from Movable Type to Wordpress, and felt that pain once more.

I tend to get a little anal about URLs in my applications these days because I have gone through too many upgrade cycles, and your URLs are like your public interfaces. You do NOT want to change them.

Who knows who is using those interfaces? ;) Hopefully there are lots of bookmarks, and links in from other sites, and of course Google and the like.

So, I try to abstract away my implementation from my interface, and often start off with Apache aliases even on v1.0 (unless I am using a framework that really lets me choose nice URLs such as Rails).

I never use extensions (such as .jsp, .php, or what have you) unless I use .html. I think about the URLs that make the most sense, and create aliases for important ones (e.g. /jobs instead of /by/category/jobs).

If you do this correctly, then you can swap out the implementation with the minimal amount of tweakage required. Do it when you aren't popular.

Read: URLs Matter

Topic: Rails Presentations from ApacheCon '05 Previous Topic   Next Topic Topic: [Dec 22, 2005 16:21 PST] 8 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use