In web design, URLs are often overlooked. I usually use virtual URLs, meaning that they don’t always correspond to a real file or path. I had been using forward slashes ( “/” ) in my virtual URLs, but I’m changing those to dashes ( “-” ). I think underscores are a bit extreme; the hyphen has a softer feel to it.
I do use underscores in actual resource file names though. It seems to be a trend I’m following to use hyphens in virtual urls, and underscores in real life, but that isn’t always true.
Oh and by the way, I do plan to continue using forward slashes, aka directory separators when necessary on real paths.
0 Responses to “URL Planning”