Royi Benita @ NodeTLV 22 - Clean Node.js Architecture -With NestJs and TypeScript

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 14

  • @michaelotu9723
    @michaelotu9723 Рік тому +2

    Over 2 years since I came across clean architecture and by far the best and clearest explanation with sample code implementation that I have understood without having to do side googling. 😘

  • @supunwithana
    @supunwithana 2 роки тому

    this video should DEFINETELY receive more views!!!

  • @ariasalmeida
    @ariasalmeida 3 місяці тому

    nice talk, thank you

  • @mrkanata7696
    @mrkanata7696 Рік тому +8

    nestJs is more like angular than react :)

    • @christiaanhoijtink6578
      @christiaanhoijtink6578 10 місяців тому

      Its basically exactly the same structure as Angular. React is farly not as opiniated as Angular, and that is the reason why its so robust and will prevent people from trying to be "cleaver" and be able to get results when not really understanding how it actually works

  • @varnerdamasceno8093
    @varnerdamasceno8093 Рік тому

    Great talk! Thanks.

  • @egrpavlov2694
    @egrpavlov2694 Рік тому +2

    Can someone please explain why it is necessary to create such entities as usecases if there are services in which we describe business logic in the same way, and what is the difference between them? Or am I misunderstanding something?

    • @dinoscheidt
      @dinoscheidt 11 місяців тому +1

      It’s called a facade. Services change, Business Domain and its problems and goals change, but often independent of another. This decouples them. I.e. a user can now be friends with other users. The service for logins may need to support more login types.

  • @SuperRonaldinhu
    @SuperRonaldinhu Рік тому

    excellent explanation and great examples🥰

  • @nezhadampersia1
    @nezhadampersia1 2 роки тому

    Very well explained, thanks.

  • @mrkanata7696
    @mrkanata7696 Рік тому

    nice video :)

  • @donnyroufs551
    @donnyroufs551 2 роки тому +5

    Can we stop calling DIP, Clean architecture please. Nobody mentions the key difference of an interface adapter nor do they mention the added principles on top of CA.

    • @christianbravo4098
      @christianbravo4098 Рік тому

      Sorry for the ignorance. What do you mean ?

    • @BCRooke1
      @BCRooke1 Рік тому +2

      Late reply, but I believe what the OP is suggesting is that by referring to dependency inversion principle (DIP) as Clean Architecture (CA), one would be omitting many other principles that are encompassed by clean architecture. Like single responsibility principle, open/closed principle, etc. Look up SOLID design for more information.