Controller

Database

[JDBC] Controller | MVC 패턴 | CRUD | ResultView

목차 Controller 1-1. Controller 역할 1-2. Controller 클래스 1-3. ResultView 1. Controller MVC 패턴은 Model, View, Controller를 일컫는다. View ↔ Controller ↔ Service ↔ DAO ↔ DB로 흐름이 이어진다. View는 HTML, CSS, JS 등을 통해 사용자에게 보여지는 화면으로서 기능한다. Controller는 데이터 검증 및 추가 가공 단계이며, Servlets을 통해 치환할 수 있다. Service는 로그인 기능, 회원가입 기능, 회원정보 수정 기능, 주문 등록 기능 등등 비즈니스 로직를 일컫는다. DAO는 직접 DB에 접근하여 기능 수행한다. Service와 DAO는 기본적으로 자바 코드일 것이나..

@reminder
'Controller' 태그의 글 목록