[김현창] 동적 뷰 개발#205
Merged
github-actions[bot] merged 21 commits intosofteerbootcamp-7th:codingbaraGofrom Jan 13, 2026
Merged
Conversation
- 동적 뷰 구성에 필요한 model을 반환하는 DynamicViewResponse 개발 - Handler에서 HandlerResponse 반환 후 공통 관심사를 처리하는 postHandling 메서드 추가 - 동적 뷰에 공통으로 들어가는 유저 정보 반영을 자동화
- AuthenticationInfo에 Attribute를 설정하고 조회할 수 있는 기능 추가
- 동적 뷰를 불러와 로딩하는 Loader 개발 - Html escape를 처리하는 escaper 개발 - Handler에서 반환한 model에서 값을 추출하는 ExpressionResolver 클래스 개발 - 템플릿 엔진에 if 문법과 each 문법 개발
- 템플릿 엔진을 사용하여 동적 뷰를 생성하는 DynamicViewRenderer 개발
- 기본 페이지가 동적 뷰를 반환하도록 동적 뷰를 반환하는 HomeHandler 개발
- 정적 페이지인 기본 페이지를 동적 페이지로 수정 - 기본 페이지 위치 이동: /static -> /templates - 페이지 공통 요소 분할(헤더 분할)
- 로거의 잘못된 클래스 삽입 수정 - 안쓰는 의존성 삭제 - 로그 필터의 rid 생성 시점 변경
- Optional 사용 시 of -> ofNullable 로 수정 - 템플릿 엔진의 캐시 삭제 코드 제거
…e PR #52) develop <- feat/web/dynamic-view#23
- 필터 단에서 redirect를 쉽게 설정하기 위해 redirectTo 메서드 추가
- 공통 요소 반영을 위해 DynamicViewResponse를 반환하는 기본 뷰 핸들러 추가
- 해더에 "글쓰기" 버튼 추가 - 헤더의 닉네임에 /mypage 리다이렉트 기능 추가
- `/static` 하위에 있던 정적 뷰들을 `/templates`하위로 이동 - 이동한 정적 뷰들에 공통 컴포넌트 반영
- 서버의 반환값을 받아 redirect면 Location으로 리다이렉트 되도록 분기 코드 추가
develop <- enhance/view/#56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업
느낀점
구조를 빡세게 잡아놓은 보람이 조금은 있는 것 같다.
그래도 진도가 너무 뒤쳐져서 열심히 달려야 할 것 같다.
AI 활용