Skip to Main Content
ASP.NET MVC 4 in Action
book

ASP.NET MVC 4 in Action

by Matthew Hinze, Jeremy Skinner, Jeffrey Palermo, James Bogard, Eric Hexter
May 2012
Intermediate to advanced content levelIntermediate to advanced
440 pages
13h 54m
English
Manning Publications
Content preview from ASP.NET MVC 4 in Action

Chapter 5. View models

 

This chapter covers
  • Representing UI concepts in code
  • Defining the presentation model
  • Representing user input
  • Scaling to complex scenarios

 

Part 1 of this book covered some of the big picture ideas; now we’ll start covering specific topics in depth. In this chapter, we’ll discuss the model, specifically how to approach designing models for ASP.NET MVC. When exploring the Model-View-Controller pattern, the model is often the most difficult part to understand. This is mainly because “model” is an overloaded term—it has different meanings in different contexts, which can lead to some confusion when trying to understand how it fits in with controllers and views.

A model is a representation of something meaningful. It’s ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ASP.NET MVC 4

Programming ASP.NET MVC 4

Jess Chadwick, Todd Snyder, Hrusikesh Panda
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
ASP.NET Core and Vue.js

ASP.NET Core and Vue.js

Devlin Basilan Duldulao

Publisher Resources

ISBN: 9781617290411Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link