FCC (Free Code Camp) 의 "How to structure your backend" Meet up
제목 : How to structure your backend
일시 : 2023-03-18 14:00
주제 : 백엔드
발표자 : Lee Sungwoo
Questions
- Waht is a backend server, how it works?
- What stacks are available?
- How can I organize the code?
- Common patterns?
What is "Backend"
client-web server-app(backend)-DB
Needs
- Computer Networks
- DB
- Patterns
How does it work?
Computer Network Basics
- Rules and procedures of communication between devices
- Hour glass model
What happens behind the seen?
- Scheme
- Domain Name
- Port
- Path to the file
- Parameter
- Anchor
HTTP
- DNS Server
- DB for URLS as Keys, IPs for Values
- Status
- Mozila HTTP Status
TCP
- Connection oriented
- Reliable
- Guarantees order
- Checke error
IP
- Deliver data to the device you intend
- No guarantee
Internet Core Protocols: The Definitive Guide
Stacks
- node / .NET / C# / JAVA / PHP
- MERN !
How can I organize my code ?
- Layers
- Feature slices
- Microservices
common DDD concepts
- Entity
- Consistant Identity
- To save, need repository pattern / DAO
- Value Object
- identitfied by only it's attruvutes
- Aggregate
- Cluster of entities and value within some boundary
- Root ( Access point )
- Repository ( Abstraction and Domain Layer)
- Collection
- Only list of Aggregate root
Domain Driven Design by Eric Evans
Hands on
TCP Evolving ?
HTTP 3.0 ?
Questions
- Difference between Aggregate and Repository
- Aggregate is cluster of entities and value objects within some bounday and have one access point(Root Aggregate)
- Repository is Object that holds collection of root aggregates and methods to handle them.
- In ORM, do they give some Magic method for comparision of @valueObject ?
- 질문하지는 못했는데 아닌듯. 직접 짜야하는 것 같다.
ref. using-value-objects-with-jpa
- 질문하지는 못했는데 아닌듯. 직접 짜야하는 것 같다.
느낀 점
- 강의를 들을 땐 강연자의 말하기에 집중해야지 PPT 에 집중하면 화자가 전달하려는 내용을 놓치기 쉽다. 특히 모국어가 아니라면.
- 영어를 쓸 때 집중력이 떨어지는 걸 느꼈다. 모국어가 아니라서 그런 것 같다. 내가 질문한 내용에 대한 이야기를 하는 중에도 정신 바짝 안차리면 그냥 흘려듣기가 되버렸다.
- OSI / TCP/IP 모델과 각종 프로토콜에 대한 이해도가 높아졌다. 아래의 그림처럼 HTTP는 TCP 위에 동작하고 TCP 는 IP 위에 동작하는 것이다.
'자격증 후기' 카테고리의 다른 글
세 번째 코테 후기 (0) | 2023.02.25 |
---|---|
두 번째 코테 후기 (0) | 2023.02.13 |
첫 코테 후기 (0) | 2023.02.06 |
첫 CP 후기 (0) | 2023.02.06 |
AWS 자격증 재응시 무료 (0) | 2023.01.19 |