What design pattern is MVC architecture primarily based on?

  • Composite
  • Observer
  • Singleton
  • Strategy
MVC architecture is primarily based on the Singleton design pattern. This pattern ensures that a class has only one instance and provides a global point of access to that instance. In MVC, the Singleton pattern helps in managing the model, view, and controller instances efficiently.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *