MVC Rest API
MVC Rest API
1. What is MVC?
Answer:
MVC stands for Model-View-Controller. It is a design pattern used for
developing web applications that separates application logic into:
• Model – Handles data and business logic.
• View – Handles UI/presentation.
• Controller – Manages user input and updates model/view.
2. What are the benefits of using MVC?
Answer:
• Separation of concerns
• Easier to manage and scale
• Enables parallel development
• Improved testing and maintainability
Rest API