MVC stands for Model View Controller. It is a software design pattern or software development methodology.
What is the main objectives of MCV?
1. Promote code usability
2. Implement separation of concerns
( For example., If you want to change the user interface, you don't have to change the business logic.
If you want to change the business logic or query, you don't have to change the UI part.)
Software divided into three main components - MODEL, VIEW and CONTROLLER.
MODEL - The Software logic * Business Rules * Applications Data (data access layer)
- It is class. I promise you its just a class file with data property
- It deals with data that user gonna deal it in UI
- It is not a database. Just data types handler and holder which can be operated before view.
CONTROLLERS - Handles the communication between users and models (Decision Taker - gets data from models and show the appropriate views to users)
* It acts like a server :P
I have referred these concepts from below YOUTUBE link.