0% found this document useful (0 votes)
35 views4 pages

Cpit-601 HW

The document discusses the difference between architectural styles and patterns. It provides Model-View-Controller (MVC) as an example of an architectural pattern and describes how MVC separates an application into model, view, and controller components.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ZIP, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views4 pages

Cpit-601 HW

The document discusses the difference between architectural styles and patterns. It provides Model-View-Controller (MVC) as an example of an architectural pattern and describes how MVC separates an application into model, view, and controller components.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ZIP, PDF, TXT or read online on Scribd
You are on page 1/ 4

CPIT601

HW
Architectural Pattern Vs.
Architectural Style

• An Architectural Style is the application design at the highest level of abstraction;


• An Architectural Pattern is a way to implement an Architectural Style;
• An architectural style is a conceptual way of how the system will be created / will work. An
architectural pattern describes a solution for implementing a style at the level of subsystems
or modules and their relationships
MVC

• The Model-View-Controller (MVC) is an architectural pattern that separates an application into three main
logical components: the model, the view, and the controller. Each of these components are built to handle specific
development aspects of an application.
• The Model component corresponds to all the data-related logic that the user works with. This can represent either
the data that is being transferred between the View and Controller components or any other business logic-related
data. For example, a Customer object will retrieve the customer information from the database, manipulate it and
update it data back to the database or use it to render data.
• The View component is used for all the UI logic of the application. For example, the Customer view will include
all the UI components such as text boxes, dropdowns, etc. that the final user interacts with.
Examples of MVC

• The Model-View-Controller (MVC) is an architectural pattern that separates an application into three main
logical components: the model, the view, and the controller. Each of these components are built to handle specific
development aspects of an application.
• The Model component corresponds to all the data-related logic that the user works with. This can represent either
the data that is being transferred between the View and Controller components or any other business logic-related
data. For example, a Customer object will retrieve the customer information from the database, manipulate it and
update it data back to the database or use it to render data.
• The View component is used for all the UI logic of the application. For example, the Customer view will include
all the UI components such as text boxes, dropdowns, etc. that the final user interacts with.

You might also like