I'm currently working on a web application which uses HTML, CSS, Javascript, Bootstrap and JQuery. I will like to use Model–view–controller (MVC) as my software design pattern. So far I have 7 HTML pages and each page has a corresponding controller in Javascript. And these HTML pages shared some "global" CSS & Javascript (Bootstrap & JQuery). I'm unsure how to organise my files to demonstrate MVC clearly. Am I right to say:
- MODEL (some files which manippulate data?)
- VIEW (all my HTML & CSS files)
- CONTROLLER (all my Javascript files)
Does this means I have 3 folders (MODEL, VIEW, CONTROLLER) and I simply place all my files accordingly?
Sorry is my 1st time adopting software design pattern, sorry for any confusion caused. I will like to know more about how to implement MVC effectively as I feel is important.