I'm starting a Geographical map application in Js which will handle hundreds, maybe thousands of 3 different types of elements. I'm considering MVC approach but I don't know how would be the best way of implementing it and even if it is the best decision. What I have in mind is:
- Views: one per object, will live in the Frontend
- Controller: will have 3 (one per element type) and each one will hold a list referencing all the existing views. Will live in the Frontend
- Model: not sure if should live in backend or there should be a copy in the Frontend as well.
- Orchestrator: will initialise and orchestrate the Controllers
I've been searching a lot on the web an all the examples I can find relate to just one View per Controller and where the term
HTML Views(i.e.: divs, forms, etc), so my specific questions is:
How to handle multiple non-HTML Views in MVC?