Model View Controller


Some notes from a Barcamp talk about Model-View-Controller in ASP.Net. Posted by Thomas Sutton on May 10, 2008

(In ASP.net)

Separation of concerns. Model does data stuff. View is presentation. Controller plumbs data from the models and views.

MVC Pizza

Mark, Vinnie, Carmella.

Carmella (the controller) recieves phone orders. Tells Mark (the model) to make it. He gives is to her and she passes it on to Vinnie (the view) to delivers it to the user.

DetailsÖ

Lots of rather thin metaphores for invariant interfaces allowing you to modify/replace specific components.

Looks heaps like an ASP clone of Rails/CakePHP/etc.

Has standard routing of URLs to controller/action.

Built-in unit testing support, etc.

This post was published on May 10, 2008 and last modified on January 26, 2024. It is tagged with: barcamp, events.