What is model in mvc?
Chinmaya Dash
Model like a container which contains db files
It represent a set of classes that describe the buss. logic, buss. model as well as the data access operations. it also defines buss. rules for data means how the data can be changed and manipulated.
Many people get confuse about that what is actually the Model in MVC framework. I tell you this is just a class nothing more than that. You need to write the classes altogether only to make it a Model which in-turns works with the controller to display the view as per required input. Model used by : Users - What data will they be interacting with? and MVC - Input controls -Display formatting -Validations