mardi 15 décembre 2020

Using MVC pattern for JS app with multiple models

I'm trying to comprehend usage of MVC pattern for JS application in case of working with multiple models. For example, I have a page with user info, his orders and executors of order. I need to show some user info and make orders and executors editing. So I have 3 models and need controller and view for each. Besides orders and executors are in lists. All lists for consecutive use in models must be loaded from server. What approaches should I use to manage multiple MVC entities in one page? Maybe another design patterns, etc.

Aucun commentaire:

Enregistrer un commentaire