Instantiating and referencing models in MVC
- by fig-gnuton
In MVC, should each model be a globally accessible singleton accessible to any view/controller?
Or should the models be singletons that are dependency injected into any component that requires them?
Or should a new model instance be created for each component that needs one, in which case events would be used to propagate changes across model instances of the same class?