-
Notifications
You must be signed in to change notification settings - Fork 10
[21기_박채연] spring tutorial 미션 제출합니다. #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: challonsy
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1주차 과제 하느라 고생 많으셨습니다! 앞으로도 화이팅 해봐요!!
CEOS back-end 21st spring tutorial project | ||
|
||
## Spring Framework | ||
시작하기 전 알면 좋을 개념 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오옹 이런 기본 개념부터 잡고 가는거 정말 좋은 것 같아요!
### 종류 | ||
매우 많다. `@Controller`, `@Service`, `@Bean` 등의 어노테이션이 있다. 각 어노테이션들은 다른 어노테이션을 포함하고 있을 수도 있는데, `@Component` 어노테이션을 포함하고 있는 어노테이션들은 빈으로 등록될 수 있다. | ||
|
||
### Bean 등록 과정 | ||
`@ComponentScan`어노테이션은 `@Component` 어노테이션이 포함되어있는 어노테이션을 자동으로 스캔하여 해당 객체를 빈으로 등록한다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어노테이션 종류에 대해 잘 알아봐주셨네요! 혹시 어노테이션을 직접 등록할 수도 있다는 사실 알고 계신가요?! 같이 한 번 알아보면 좋을 것 같아요~
- 어떤 환경에서든 코드를 실행할 수 있도록, 코드 실행에 필요한 모든 요소를 담아둔 소프트웨어 패키지. | ||
코드는 물론 언어, 라이브러리 같이 종속적인 모든 항목을 포함한다. | ||
|
||
### Spring 프레임워크란? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spring이 무엇인지 관련 개념과 비교해서 설명해주신 것이 인상 깊네요!
기본적인 개념이지만서도 간과하고 넘어갈 수 있는 부분을 짚어주셔서 좋은 것 같아요 :)
|
||
#### Spring Boot vs Spring | ||
기존에는 다소 복잡했던 스프링 프레임워크의 의존성 설정이나 버전 관리, 빈 등록, 배포 등을 더 쉽게 할 수 있도록 도와주는 프레임워크가 Spring Boot 이다. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오히려 기본이어서 넘어가는 부분이었는데 잘 잡아주셔서 좋은 것 같아요! 잘 읽고 갑니다
### 단위 테스트 | ||
격리된 환경에서 필요한 부분만 모의 객체를 모아서 빠르고 효율적으로 테스트를 진행한다. | ||
서비스, 레포지토리, 도메인, 또는 코드 별 테스트를 작성할 수 있다. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
단위 테스트도 여러 가지 스타일로 작성하는 것 같은데, 저는 given-when-then 방식으로 작성합니다!
https://mangkyu.tistory.com/144
여기에 자세히 나와있으니 한번 보시면 좋을 것 같아요!
No description provided.