Abstract
Over the last few chapters, you’ve learned in some detail about how ASP.NET MVC lets you separate your HTML generation and application logic concerns using views and controllers. But most web applications ultimately revolve around data. Even if the user interface is very sophisticated and customized, it’s typically all about letting users browse and edit information. In MVC architecture, we use the term models for the data objects being passed between controllers and views. These models can be sophisticated domain models that encapsulate business logic and are persisted as entities in a database, or they can be just simple view models that are never saved and merely hold a set of properties that a view can render.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2010 Steven Sanderson
About this chapter
Cite this chapter
Sanderson, S. (2010). Models and Data Entry. In: Buckingham, E., et al. Pro ASP.NET MVC 2 Framework. Apress. https://doi.org/10.1007/978-1-4302-2887-5_12
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2887-5_12
Publisher Name: Apress
Print ISBN: 978-1-4302-2886-8
Online ISBN: 978-1-4302-2887-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books