굉장히 두꺼워서(800p 가량) 처음에 겁을 먹을 수 있다. 근데 어려운 말들이 아닌 읽기 쉬운 말들과 적절한 예제들이 같이 있어서 따라 치며 코딩하면 어느 정도 쉽게 읽을 수 있다. vol.1은 기본적인 spring의 핵심원리 등을 설명한다. spring이 탄생의 이유, 적절한 사용 방법 등을 익힐 수 있었다.
mvc에 대한 설명과 3.1로 넘어오면서 많이 바뀐 어노테이션 설정들에 대해 알 수 있다. mvc가 어떻게 동작하는지 애매하게 알고 있다면, 이 책을 통해서 남들에게 설명할 수 있는 수준이 될 수 있다. 2021.09
객체지향에 대해 자세히 경험할 수 있다. 다양한 예제들이 존재. 너무 유명한 책이라 읽는 내내 재밌었다. 영화관 예매를 통해 다형성 등을 확인하고 실습할 수 있다. 객체지향의 사실과 오해를 읽고 나서 읽으면 더 좋을 듯하다.
DB의 기본 지식을 다시 점검할 수 있었다. 이제 좀 더 깊은 DB책을 읽어야겠다.
mysql 8.0의 인덱스 종류, 격리 수준, 쿼리 최적화. 엔진 등을 알 수 있었음. 뒤 쪽의 옵티마이저에서 하차했음. 나중에 와닿을 때 다시 읽어야겠다. 2021.11
평소에 repository와 service를 쓰면서 왜 쓸까라는 궁금증이 있었는데 영속성을 처리하는 기능은 리포지토리에서, 엔티티에 속하지 않는 도메인 로직은 서비스에서. 대부분 도메인 로직으로 처리를 하지만 여러 엔티티를 사용할 때나 복잡한 계산 로직은 서비스에서 한다는 것을 명확하게 알았다. 예외 같은 경우는 빈 값, null 값 예외는 컨트롤러나 도메인에서, 비즈니스 예외는 서비스 계층에서 이뤄져야 하는 것도 알게 되었다.
이 처럼 기본적은 DDD콘셉트와 여러 유용한 정보가 많아서 좋은 책이다.
내가 기대한 내용이 아니었다.
책 내용은 java의 기초지식과 객체지향 맛보기 등인데 나는 spring의 기초를 알고 싶었는데..
그래도 디자인 패턴이라던지, 스프링의 3대 요소라던지 구성요소는 알차다.
1월에 읽던 책을 마저 읽었다. 기본적으로 http가 무엇인지 , tcp/ip에 대해선 짧게 다룬다. 요청과 응답에 들어 있는 헤더들을 상세하게 다루고 웹 공격에 대한 내용까지 마지막에 다룬다.
솔직히 완벽히 이해하지를 못했다. 모두의 네트워크를 다시 읽고 다시 한번 더 읽어봐야겠다. 그전에 DB책부터 읽고..
객체지향 초보자용 책으로 소개되는 책이다. 일단 처음 부분에서는 술술 읽혔는데 뒷부분에서는 많이 놓쳐서 몇 번이나 다시 읽었다. 전체적으로 설명하는 것은 객체지향적으로 설계를 하는 법을 저술했다. 클래스 관점에서 보지 말고 객체의 관점에서 봐야 한다고 말한다. 우리가 늘 객체지향을 말할 때 클래스를 먼저 꺼내는데 그 점을 지적하고 있다.
객체에는 협력과 역할, 책임이 있다. 협력을 설계할 때는 메시지를 가장 먼저 생각하고 그 메시지를 행할 객체를 정해야 한다. 메시지를 통해 역할을 가진 객체에게 output을 요청하고 메시지를 받으면 책임을 지고 자율적으로 output을 반환해야 한다. 자율적인 책임은 협력을 단순하게 만든다. 그로 인해 대체 가능성을 열어 놓을 수 있다. -> 확장 가능성
이런 설계를 책임 주도 설계라고 한다. TDD는 책임 주도 설계를 하는 가장 완벽한 방법이지만 초보자는 쉽지 않고 디자인 패턴을 이용하는 것이 좋다. 디자인 패턴은 선배 개발자들이 미리 설계해둔 결과물이다.
이외에도 좋은 내용이 많다.
읽고 나서 느낀 점은 앞으로 조금 큰 협력을 설계할 때는 메시지를 먼저 생각하고 인터페이스를 만들어 객체를 분류하는 작업을 해야겠다고 느꼈다. 나중에 한번 더 읽어봐야 머릿속에 남을 거 같다.
항상 코드의 구조를 바꾸거나 중복 코드를 제거하고 커밋에 리팩터링을 언급했었다. 그 리팩터링에도 방식이 있고 어느 정도 효과적인 방안들을 엿볼 수 있다. 저급 리팩터링은 대부분 겪어봤던 것들이고 고급 리팩터링도 어느 정도 맛을 봤던 것이라 어렵지 않게 읽었다. 한 가지 얻어가는 것은 null객체를 이용해 ex) customer!= null을 줄이는 법을 배웠다는 것이다. 이 점은 실무에서도 잘 쓸 수 있을 듯하다.
너무 유명한 책이라 기대를 많이 하고 봤다. 냄새와 휴리스틱 부분은 clean code를 작성하기 위해서 추천하는 챕터이고 나머지 부분은 아직 내 수준이 높지 않아서 인지 리팩터링 책 보다 더 재미없었다. 점진적인 개선을 하는 부분이 있는데 코드 량이 많고 책을 이리저리 왔다 갔다 해야 해서 보기 불편했다.
코틀린 공부를 위해 읽었다. 자바와 다른 점등을 소개해주고 유용한 팁 등을 알려준다. 자바를 알고 있고 코틀린을 배우고자 한다면 좋은 책이다.
jpa의 기본 서적으로 알려져 있는 책으로 jpa에 대해 기본 개념 등이나 사용법을 알 수 있다. 예제도 준비되어 있으니 따라 하면 좋다. 본인은 강의를 접하고 나서 책을 읽은 것이라 더 알고 싶었던 점(락, 설정 차이) 등을 중심으로 읽었다. 강의에는 책에 없는 꿀팁들이 있었던 것으로 기억한다(여러개의 컬렉션을 loading 할 때 1+1등을 발생시켜 처리할 수 있다)
코틀린을 사용하며 지켜야 할 규칙 or 지켰으면 하는 규칙들이 있다. 코틀린인액션은 코틀린 기본 문법을 공부할 목적이었다면 이 책은 어떻게 코틀린을 더 코틀린답게 쓸지를 알기 위해 읽었다.
인프런 향로님의 추천으로 읽게된 책이다. 아키텍처들을 소개해 주는데 옛날 책이다 보니 요즘 일반적으로 쓰이는 패턴들이 많이 소개된다. 도메인 패턴이라던지. 동시성 해결을 위한 락에 관해서인지. 또 JPA에서 사용된 것으로 생각되는 아키텍처들이 소개된다. 그래서 아~ JPA도 이런식으로 만들어졌겠구나라고 생각할 수 있었다. 22.09.18