ASP.NET - 개념

ASP.NET - 개념

https://www.completecsharptutorial.com/asp-net-mvc5/introduction-to-asp-net-mvc5.php

QUICK VIEW OF ASP.NET MVC5

ASP.NET is very popular framework for developing Web Based Application. ASP.NET MVC is based on Model – View – Controller pattern that makes it more robust, fast, and secure. ASP.NET MVC5 is the next generation technology and it is the successor of ASP.NET Webforms. There are many benefits of MVC over traditional asp.net .aspx web forms.

ASP.NET은 웹 기반 어플리케이션을 개발하는 매우 인기있는 프레임워크입니다. ASP.NET MVC는 모델-뷰-컨트롤러 패턴을 기반으로 하여 더욱 건장 하고 빠르고, 안전합니다. ASP.NET MVC5는 차세대 기술이자 ASP.NET 웹폼의 후계자입니다. 전통적인 "asp.net", ".aspx", "web forms"에 비해 MVC는 많은 장점을 지니고 있습니다.

FEATURES OF MVC PATTERN

1. It is based on Model View Controller Pattern.

이것은 모델 뷰 컨트롤러 형식을 기반으로 합니다.

2. It is lightweight, fast and secure.

가볍고, 빠르고, 안전합니다.

3. Designs and Codes are neatly separated.

디자인과 코드가 깔끔히 분리되어 있습니다.

4. It uses Pure HTML Control or HTML Helpers (No Server Control)

순수하게 HTML Control또는 HTML 헬퍼를 씁니다.(서버 컨트롤 없음)

5. It uses controller based url.

url 기반의 컨트롤러를 씁니다.

6. Implement no view state.

view 상태를 구현하지 않습니다.

7. It uses Razor Syntax for customization.

Razor syntax으로 커스터마이징합니다.

8. It uses Layout at the place of Master page for consistent looks and feel.

일관된 외형과 느낌을 위해 마스터 페이지의 레이아웃을 사용합니다.

9. ASP.NET MVC is open source.

ASP.NET MVC는 오픈소스입니다.

UNDERSTAND MVC PATTERN

Simply, MVC is short form of Model, View and Controller. Let's see what the meaning of Model, View and Controller is.

Model: It is responsible for keeping database operational logic like connecting and retrieving information from database.

View: It is responsible for serving web page user interface to client.

Controller: It keeps all the programming logics

간단히, MVC는 모델, 뷰, 컨트롤러의 약자입니다. 모델 뷰 컨트롤러의 의미를 알아봅시다.

모델 : 데이터베이스에 연결하고 정보를 가져오는 등의 데이터베이스 운영 로직을 담당합니다.

뷰 : 클라이언트에게 웹페이지의 인터페이스를 제공하는걸 담당합니다.

컨트롤러 : 모든 프로그래밍 로직을 담당합니다.

MVC는 4단계로 동작합니다.

1단계 : 사용자가 View Page를 통해 페이지의 버튼을 누르거나 리퀘스트를 보낸다.

2단계 : 요청이 컨트롤러로 들어온다.

3단계 : 사용자의 리퀘스트에 따라, 컨트롤러는 모델에 객체를 생성한다. 그러고나서 모델은 활성화되어 데이터베이스로부터 정보를 가져온다.

4단계 : 이후, 이 데이터를 실은 모델은, View page로 전달되어 사용자에게 제공된다.

from http://ghchoi0427.tistory.com/35 by ccl(A) rewrite - 2020-03-15 23:54:32

댓글

이 블로그의 인기 게시물

HTML 13단계 - 폼(Form) 1탄

임시 인터넷 파일캐싱을 위한 방지 html,css,javascript

[C#]Log4Net 사용법