MVC and it’s Basic
Introduction:
MVC means Model View and Controller. The MVC frame work users know it very well. This post is only for beginners who are interested to know MVC frame work and want to work. A programmer must follow MVC basic things like how to use Model and it’s activities as well as View’s and Controller’s too.
MVC is the Architectural outline which is used in software engineering. It isolates business logic from user interface.
What is business logic?
Business logic is the output to the input or answer to the question – “how does the value return?”. It’s a algorithm, decision tree, process, formula, query and more some task based on the application.
What is user interface?
User interface is presentation part for the user. By use it user can interact with the application. It’s a set of text box, command button, menus, several screen and more based on application etc. In other word we can say user interface consist of HTML, Jquery, Json, CSS, XHTML etc.
MVC at a glance:
Model: Model manages the interaction with database using query like SELECT, UPDATE, DELETE. It supplies data to the request.
Controller: Manage the business logic like if and else if, switch case etc.
View: It’s a presentation layer using HTML, CSS, JQUERY, Json, XHTML etc.