땡구리
땡굴 탱굴
땡구리
전체 방문자
오늘
어제
  • 분류 전체보기 (42)
    • AWS (5)
    • 자격증 후기 (8)
    • 백준 풀이 (17)
    • Vue2 (1)
    • Python (0)
    • Elasticsearch (0)
    • FastAPI (0)
    • MySQL (0)
    • 짜잘정보 (3)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • 개선 가능

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
땡구리

땡굴 탱굴

자격증 후기

23년 3월 18일 FCC Meet up

2023. 3. 18. 22:35

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

ref. Mozila What is a URL

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

ref. slices-vs-layers

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

swlee052/backend-101


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 위에 동작하는 것이다.

Hourgalss internet architecture

저작자표시 (새창열림)

'자격증 후기' 카테고리의 다른 글

세 번째 코테 후기  (0) 2023.02.25
두 번째 코테 후기  (0) 2023.02.13
첫 코테 후기  (0) 2023.02.06
첫 CP 후기  (0) 2023.02.06
AWS 자격증 재응시 무료  (0) 2023.01.19
    '자격증 후기' 카테고리의 다른 글
    • 세 번째 코테 후기
    • 두 번째 코테 후기
    • 첫 코테 후기
    • 첫 CP 후기
    땡구리
    땡구리
    잊는게 무서운 겁쟁이

    티스토리툴바