GithubHelp home page GithubHelp logo

Comments (7)

wacilpong avatar wacilpong commented on September 26, 2024 1

참 석

from wednesday_salon.

rjcnd105 avatar rjcnd105 commented on September 26, 2024

참석함미다

from wednesday_salon.

bluelion2 avatar bluelion2 commented on September 26, 2024

저두용

from wednesday_salon.

bluelion2 avatar bluelion2 commented on September 26, 2024

할일

  • DTO
  • MVC 패넡에 대한 이해

from wednesday_salon.

wacilpong avatar wacilpong commented on September 26, 2024

할일

  • 언어론 논리형 프로그래밍 마저 읽기
  • rxjs 마블테스팅 공부

from wednesday_salon.

wacilpong avatar wacilpong commented on September 26, 2024

회고

  • 논리형 프로그래밍 언어인 prolog는 참/거짓보다는 참/실패를 도출하는 것에 가깝다.
  • rxjs marble testing - test scheduler 이를 통해 race condition과 비동기 상황을 동기적으로 테스팅할 수 있다.
The scheduler for observables and operators are async.
To test asynchronous observable synchronously without even subscribing the API,
use `getTestScheduler().flush()`

→ GetTestScheduler will inject a virtual time to the jasmine cold matcher function
which will be executed immediately when we flush it.

→ Our subscribe callback will be called immediately.
and component will receive user synchronously.

from wednesday_salon.

bluelion2 avatar bluelion2 commented on September 26, 2024

회고

  • 자바 DTO DAO에 대한 간단한 정리
DTO와 DAO - 자바에서 주로 쓰이는 용어인듯 함.

- DAO - Data access Object
  - 실제로 DB에 접근하는 객체(서비스와 DB를 연결하는 고리)
- DTO - Data transfer Object (VO - Value Object)
  - 로직을 갖고있지 않고 get과 set으로만 이루어진 클래스
  - DB에서 데이터를 가지고 서비스와 컨트롤러로 보내는 역할
- 서비스와 컨트롤러란?
  - 서비스 - DAO가 받은 데이터를 가공하는 역할
  - 컨트롤러 - 시스템이 들어올 요청과 응답을 담당하는 역할

데이터의 흐름

  • 데이터베이스. -> DAO -> 서비스 -> 컨트롤러 -> DTO 꽂아서 -> 프론트로 보내주는 흐름? 이라 생각함.

프론트엔드에서 패턴을 구현한다면?

버튼 클릭 등등의 요청 이벤트 발생 -> 컨트롤러에서 api 요청 -> 서비스 -> 클래스화된 객체를 통해 필요한 데이터로 가공 -> DTO에 꽂아넣음?
이러한 형태가 될 거 같다.

의존성 관계
- 컴포넌트 -> 서비스 <-> 다른서비스

from wednesday_salon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.