Just a few days ago I have encountered a Website Structure that made me really sad. Upon opening the folder I was shocked how was the file structure was handled. I think I can share how you should do the structuring of your files if your going to create a website with any programming language out of scratch.
- First group your files accordingly
- The same thing goes to css and other files. Group them so you can easily find them
- Second, Use consistent file type
If your going to use PNG use png in all cases. If your not using transparent images then use JPG.
- Lastly, Use naming conventions that you can easily remember
These aren’t all that you can do. But I can say that this can help in improving the readability of your website when you are giving over the development or getting help from another developer. Next time I will be giving some tips on coding on PHP.