Skip to content

[김현창] 동적 뷰 개발#205

Merged
github-actions[bot] merged 21 commits intosofteerbootcamp-7th:codingbaraGofrom
codingbaraGo:develop
Jan 13, 2026
Merged

[김현창] 동적 뷰 개발#205
github-actions[bot] merged 21 commits intosofteerbootcamp-7th:codingbaraGofrom
codingbaraGo:develop

Conversation

@codingbaraGo
Copy link

@codingbaraGo codingbaraGo commented Jan 13, 2026

작업

느낀점

구조를 빡세게 잡아놓은 보람이 조금은 있는 것 같다.
그래도 진도가 너무 뒤쳐져서 열심히 달려야 할 것 같다.

AI 활용

  • 코드리뷰를 통한 안정성 확보
  • 템플릿 엔진 개발 시 커스텀 문법 관련 코드 작성
  • 뷰 파일 분리 방법 관련 공부에 활용
  • 에러 팝업 관련 js 코드 작성

- 동적 뷰 구성에 필요한 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 메서드 추가
… (see PR #54)

develop <- feat/authentication/logout/#51
- 공통 요소 반영을 위해 DynamicViewResponse를 반환하는 기본 뷰 핸들러 추가
- 해더에 "글쓰기" 버튼 추가
- 헤더의 닉네임에 /mypage 리다이렉트 기능 추가
- `/static` 하위에 있던 정적 뷰들을 `/templates`하위로 이동
- 이동한 정적 뷰들에 공통 컴포넌트 반영
- 서버의 반환값을 받아 redirect면 Location으로 리다이렉트 되도록 분기 코드 추가
@codingbaraGo codingbaraGo self-assigned this Jan 13, 2026
@github-actions github-actions bot merged commit d9af646 into softeerbootcamp-7th:codingbaraGo Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments