E
E
EarthFM2015-07-19 17:05:45
JavaScript
EarthFM, 2015-07-19 17:05:45

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

1 answer(s)
A
Andrey, 2015-07-19
@AndreyMyagkov

1) what about css? there should be html templates

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question