Welcome to the Treehouse Community
Looking to learn something new?
Folders and files for a complex website.
What folders and files do web developers and designers use when creating a complex website. Also how are the organized and what are the best practices for naming them.
jason chan31,008 Points
Uh we usually use frameworks. The framework is already organized into MVC folder structure. You will learn mvc like laravel, django, rails, flask later on in your development career.
But I recommend taking the ruby course first
Basically MVC. Model View Controller. You will see how these frameworks are organized. You will build the website based on the framework.
- Model - database
- Controller - routes and functions that make database calls
- Views - templates dummy html with form html mangles with template script.
You can view the file structure under File/Folder http://guides.rubyonrails.org/getting_started.html
It's the same for:
- php - laravel
- Python - django or flask
- C# or visual basic - asp.net
- java - spring
- ruby - rails
Basically, learn ruby on rails or angularjs. Get the feel of MVC and you'll learn how the files structure works in development environment. Software engineering teams wrote these so. Don't be afraid to peek into the unminifed code to see how things are done. Goodluck.