|
What is Model in MVC ( Model View Controller ) ?
Model objects are the parts of the application that implement the domain logic, also known as business logic.Model is reponcible for the core application or business loigic of the application. Model typically access data from persistant store such as the sql server or a file and
performs the business logic on that data.
-> Model is application specific. There is no restriction on what kind of model some one wants to build.
-> Model is not a specific class or interface.
-> A class is a part of the model only because of the role played by the class in asp .net mvc application or mvc architecture. or class is not model , class is model only because of the role.
-> A class in a model does not directly handle IO and it doesnot generate output.
|