M
M
Mishman72020-12-18 09:02:32
Design patterns
Mishman7, 2020-12-18 09:02:32

Using the MVC pattern for JS with multiple models?

I'm trying to comprehend the use of the MVC pattern when developing a JS application in the case of multiple models. For example, I have a page with information about a user, their orders, and order executors. I need to show some information about the user and do editing orders and performers. So I have 3 models and I need a controller and a view for each. In addition, there are orders and performers in the lists. All lists for consistent use in models must be downloaded from the server. What approaches should be used to manage multiple MVC objects on the same page? Maybe other design patterns, etc.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question