What is MVC?
MVC is an architectural pattern which separates the representation and the user interaction. It’s divided in
to three broader sections, “Model”, “View” and “Controller”.
Below is how each one of them handles the
task.
to three broader sections, “Model”, “View” and “Controller”.
Below is how each one of them handles the
task.
- The “View” is responsible for look and feel.
- Model” represents the real world object and provides data to the “View”.
- The “Controller” is responsible to take the end user request and load the appropriate “Model” and“View”.
is it possible ankul to Run your application without Model folder if yes then what is the use of Model there?
ReplyDeletealso i was little confuse to take the view block so inform me view is use route the url during display data. same thing we do using urlrewrite method then why use view.?
yes Amendra pandey, it is possible to run your mvc application without model folder and uses of model folder is for contain your class and business logic
ReplyDelete