wogns3623 / Neotube

Clone of Youtube
0 stars 3 forks source link

Discuss the way to SSR #7

Closed wogns3623 closed 3 years ago

wogns3623 commented 3 years ago

Discuss which method is correct

  1. Splitting the rendering server and API server

    • 렌더링만을 담당하는 서버, API만을 제공하는 서버로 나누게 되면 렌더링 서버는 next.js같은 비교적 사용하기 쉬운 프레임워크를 이용해 개발이 가능함
    • 장점: 쉬운 세팅, 친숙한 방식
    • 단점: 개발해야할 양이 늘어남, 학습의 목적에 조금 어긋남
  2. Bundling view code in two way(for inital rendering and spa)

    • 웹팩으로 코드를 번들링할 때 초기 렌더링용 정적 html 코드와
wogns3623 commented 3 years ago

일단 1번 방식으로 진행하되, 후에 여유가 되면 2번 방식도 시도해보기로 결정됨