When developing a web application, you are naturally going to have ugly links because otherwise your IDE will not have a clue which files you are trying to link to.
But when the webpages are being served to the user, you want them all to be presented in user-friendly URLs.
How are you supposed to include user-friendly URLs within your webpage before they are served to the user? If you manually have to change these types of links:
<a href="http://mysite.com?article=1§ion=5">Article 1, Chapter 5</a>
into these type of links:
<a href="http://mysite.com/article-1/section-5">Article 1, Chapter 5</a>
then you will mess up your entire application. Links will appear broken when you try validate the site and the site may look a mess.
So how are people including user friendly URLs within their application code?