Answer the question
In order to leave comments, you need to log in
How to organize MVC(MV*) in javascript?
Hi all.
I read an article about "Programming by classes in web applications".
It describes how to create a structure for a project. LINK
I understood everything about classes and that they should be put in the "model" folder is also clear.
1) I can't figure out what should be stored in the "View" folder. I'm assuming that css files should be stored there).
2) does app.js act as a controller that changes the data in our classes?
2) I also read that some html-template is stored on a server and pulled out by ajax, is that correct?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question