Wednesday, September 15, 2010

MVC Pattern

Now it is a standard web programming framework.

From Apress.Pro.ASP.NET.MVC.2.Framework.
2nd.Edition(Jun.2010)

Models--represent the data/things that customers are viewing or editing.
your jobs is to create data models that encapsulate the information, operations, and
rules that are meaningful in the customer view (business domain) of your
application. i.e., in a banking system, models
represent bank accounts and credit limits, the operations include money
transfers, and the rules require that account balance is within maximum credit limits.
Domain models describe the current state of your application’s universe at the present
moment, but are totally disconnected from any notion of a UI.
Views--A set of views, they describe how to render data model objects as a visible UI, but
contain no logic.

Controllers--A set of controllers, they handle incoming requests, perform operations on the
domain model, and choose a view to render back to the customer.

ASP.net MVC tutorial videos:
http://www.asp.net/mvc/videos#ASP.NET%20MVC%20Talks


Building Graphical User Interfaces with the MVC Pattern:
http://pclc.pace.edu/~bergin/mvc/mvcgui.html

Java BluePrints Model-View-Controller
http://java.sun.com/blueprints/patterns/MVC-detailed.html

No comments: