Java – Camel case in web resources
What do you think of using hump case for network resources?
I come from a Java background, where camel case is second nature, but I still feel wrong when naming web resources, such as HTML, CSS and JavaScript
(e.g http://localhost/application/editUserForm.html vs http://localhost/application/edit/user/form.html )
Welcome any comments and suggestions!
Solution
The main consideration of naming scheme is the impact on SEO According to my understanding, Google (and possibly other engines) can "read" merged words in a single string, so the hump should be OK, just like a single case insensitive string Using rewriting to split by directory is clearer for weaker spiders One of Google's suggestions is to use hyphens (–) instead of underscores (), But this has nothing to do with it
If you want a real person to have to enter a complete address, using easy to read content will be a reward to minimize errors