ASP.Net MVC - What replaces events to support loose coupling?
- by James
What feature(s) of ASP.Net MVC can replace the way events can be used in Webforms to support loosely coupled components.
For example, take a simple pager control:
A page number is clicked
Pager fires off a "PageChange" event with the new page number
This subscribing page/control received the event and handles initiating a call to fetch and bind new data.
What tools are available in ASP.Net MVC to support
Loose coupling
Component re-usability
Separation of logic for a single page/view (such a very complex "portal" type page).