A note on naming files and folders
Before we get further into creating the next project, I want to give you some advice based on a principle I always point out to my students. The internet abhors spaces. Spaces are not allowed in URLs as-is because they are reserved characters. When you include a space in a URL, it needs to be URL-encoded as %20
to be considered valid. Web servers automatically handle this encoding, but manually encoding spaces can lead to readability issues in URLs, and it can cause issues when trying to run your projects on your local computer.
In a web project, most of your project paths will become URLs at some point. This can happen even when your project isn’t even intended for the web. To add to the problem, different operating systems treat characters differently in their filesystems. Windows filenames are case insensitive. If you name your file or folder MyProject
, and then try to create a folder called myproject
, you’ll get a collision since...