본문 바로가기

Spring28

[spring boot / mustche] 머스테치로 화면 구성하기 01 템플릿 엔진 : 지정된 템플릿 양식과 데이터가 합쳐져 HTML 문서를 출력하는 SW를 말한다. 서버 템플릿 엔진 vs 클라이언트 템플릿 엔진 -JSP - React.js -Freemarker - Vue.js 웹사이트의 화면을 어떤 형태로 만들지 도와주는 역할을 한다. 서버 템플릿 엔진은 서버에서 구동이 된다. 서버에서 Java 코드를 문자열로 만든 뒤 이 문자열을 HTML로 변환해 브라우저로 전달하낟. 자바스크립트는 브라우저 위에서 작동한다. SPA(Single Page Application)은 브라우저에서 화면을 생성한다. 서버에서 이미 코드가 벗어난 경우이다. Json, Xml 형식의 데이터만 전달하고 클라이언트에서 조립한다. 서버 사이드 렌더링으로 V8 엔진 라이브러리들이 지원해 자바스크립트 프레임.. 2022. 8. 27.
[Spring / 기본 ] 핵심 core 강의 03. 도메인 개발 인터페이스와 구현체를 분리하는게 설계상 좋다. 단축키 Ctrl + O : @Override 참고 https://www.inflearn.com/questions/47449 ConcurrentHashMap() 을 써본적이 없어서 찾아봤다. Document 로 보면 Class ConcurrentHashMap https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/ConcurrentHashMap.html ConcurrentHashMap (Java SE 11 & JDK 11 ) A hash table supporting full concurrency of retrievals and high expected concurren.. 2022. 8. 19.
[Spring / 기본 ] 핵심 core 강의 02. 설계 순수 자바로 실행 해보기 지금 결정하기 어려운 부분을 객체 지향 설계 방법으로 설계해본다. 도메인 그림 메모리 ~ 저장소(로컬, test 용 :재부팅시 데이터 날라감) 다이어그램 Service - ServiceImpl - Repository - MemoryRepository / DbRepository 객체 다이어그램 클라이언트 -> 서비스(Impl) -> 메모리 저장소 2022. 8. 19.
[Spring / 기본 ] 핵심 core 강의 01.setting https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings Command-Line Interface You can customize many aspects about where build scripts, settings, caches, and so on through the options below. Learn more about customizing your build environment. -b, --build-file (deprecated) Specifies the build file. For example: gradle --build-file=f docs.gradle.org You can co.. 2022. 8. 19.