MVC model
An MVC model is the application component that represents application data and associated domain logic, making relevant state and behavior available to other components such as views.
Pro Angular 16
A model class is a class that defines the structure and data properties of an entity in an application's data model.
- How it is used
- Describes application data through classes such as Product, with further model classes added as features require them.
- How deep it goes
- Defines entity properties through optional constructor arguments, while leaving data loading and manipulation to separate model parts.
- Examples
- Uses a Product class with identifier, name, category, description, and price properties, including optional arguments for form-created objects.
- What you can do after
- Build it from scratch by declaring a TypeScript class with optional constructor properties that describe an entity's data.
Spring Start Here, Second Edition
A model is an application object that represents data used by the application and made available for presentation.
- How it is used
- Represents application data with an object and connects the MVC Model to controller methods and presentation.
- How deep it goes
- Defines a Comment POJO with two fields; leaves the MVC Model's controller-method role unanswered.
- Examples
- Uses a Comment object with author and text fields to illustrate modeled application data.
- What you can do after
- Build it from scratch by defining a Comment POJO with author and text fields.
Read how Spring Start Here, Second Edition explains MVC model →
Also covered in
- .NET MAUI in Action
- Django in Action
- Spring in Action, Sixth Edition
- .NET in Action, Second Edition
- Grokking Web Application Security
What to know first
- HTTP requestAn HTTP request is a message sent by a client to a server using the Hypertext Transfer Protocol, specifying a method and target and optionally including headers and a body.
Related concepts
- Model–view–controllerpart of · Model–view–controller is a software architectural pattern that separates application data and behavior, presentation, and interaction handling into model, view, and controller responsibilities.
- data modelpart of · A data model is a structured representation that defines how data is organized, including its entities, attributes, relationships, and applicable constraints.
- domain modelequivalent to · A domain model is a software representation of the concepts, entities, relationships, rules, and behavior of a problem domain.
- ModelFormused by · A ModelForm is a Django form class generated from a model that maps form fields to model fields and can create or update model instances.
- servlet request attributeproduces · A servlet request attribute is a named value associated with an individual HTTP request and made available to components processing that request.
Questions about MVC model
What is MVC model?
An MVC model is the application component that represents application data and associated domain logic, making relevant state and behavior available to other components such as views.
Which Manning books explain MVC model?
Pro Angular 16 and Spring Start Here, Second Edition.
What should I know before learning MVC model?
Manning books that teach MVC model usually introduce HTTP request first.
What is MVC model part of?
MVC model is part of Model–view–controller. Model–view–controller is a software architectural pattern that separates application data and behavior, presentation, and interaction handling into model, view, and controller responsibilities.
What are the parts of MVC model?
MVC model includes InventoryService.
What is MVC model also called?
MVC model is also called Model class.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

