Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 93edc2a

Browse files
mvc interview #kansiris
1 parent 1a217f5 commit 93edc2a

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

‎README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,33 +116,36 @@
116116

117117

118118
Model–view–controller (MVC) is a software architectural pattern for implementing user interfaces. It divides a given software application into three interconnected parts, so as to separate internal representation of information from the way that information is presented to or accepted from the user.
119-
The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating web applications. The ASP.NET MVC Framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentications. The MVC framework is defined in the System.Web.Mvc assembly. It provides full control over HTML, JavaScript and CSS. It's the better as well as a recommended approach for large-scale applications where various teams are working together.
120-
MVC is a framework for building web applications using a MVC (Model View Controller) design:
121-
• The Model represents the application core (for instance a list of database records).
122-
• The View displays the data (the database records).
123-
• The Controller handles the input (to the database records).
124-
125-
The MVC model also provides full control over HTML, CSS, and JavaScript.
126-
127-
128-
129119

120+
The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating web applications. The ASP.NET MVC Framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentications. The MVC framework is defined in the System.Web.Mvc assembly. It provides full control over HTML, JavaScript and CSS. It's the better as well as a recommended approach for large-scale applications where various teams are working together.
130121

122+
MVC is a framework for building web applications using a MVC (Model View Controller) design:
131123

124+
• The Model represents the application core (for instance a list of database records).
132125

126+
• The View displays the data (the database records).
133127

128+
• The Controller handles the input (to the database records).
134129

135130

131+
The MVC model also provides full control over HTML, CSS, and JavaScript.
136132

137133
The MVC model defines web applications with 3 logic layers:
134+
138135
• The business layer (Model logic)
136+
139137
• The display layer (View logic)
138+
140139
• The input control (Controller logic)
140+
141141
The Model is the part of the application that handles the logic for the application data. Often model objects retrieve data (and store data) from a database.
142+
142143
The View is the part of the application that handles the display of the data. Most often the views are created from the model data.
143144
The Controller is the part of the application that handles user interaction. Typically controllers read data from a view, control user input, and send input data to the model.
145+
144146
The MVC separation helps you manage complex applications, because you can focus on one aspect a time. For example, you can focus on the view without depending on the business logic. It also makes it easier to test an application.
145147

148+
146149
### What are the advantages of MVC?
147150
Multiple view support - Due to the separation of the model from the view, the user interface can display multiple views of the same data at the same time.
148151
Change Accommodation - User interfaces tend to change more frequently than business rules (different colors, fonts, screen layouts, and levels of support for new devices such as cell phones or PDAs) because the model does not depend on the views, adding new a type of views to the system generally does not affect the model. As a result, the scope of change is confined to the view.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /