Basically I would like to know what would be a good way to organize content and script files in MVC, especially if i am using layouts and reusing (partial) views.
I started with something like this Content Shared (css, js, img, etc shared across this application) Controller1 Shared (css, js, img, etc shared across this controller1) ViewName1 (css, js, img, etc for ViewName1) ViewName2 (css, js, img, etc for ViewName2) Scripts (Third party scripts)
Does this make any sense? It keeps shared files at one place, and all view/controller based files splitted in different directories.
Aucun commentaire:
Enregistrer un commentaire