Why you don’t understand onion / clean architecture

Поделиться
HTML-код
  • Опубликовано: 12 май 2024
  • In this video we discuss common reasons why software architecture patterns like Onion Architecture and Clean Architecture are difficult to understand.
  • НаукаНаука

Комментарии • 4

  • @t3c1337
    @t3c1337 24 дня назад +1

    I take issue with the idea that Domain Models, Entities, or Models are just simple objects that mirror database records. Ideally, the business layer should be blissfully unaware of the underlying database. It’s the infrastructure layer’s job to translate these Models/Entities into database records.
    Sure, for small or even medium applications with straightforward CRUD operations, this overlap might seem true. But when business requirements get more complex, we often need sophisticated data structures to represent a single business element. These structures can’t always be squeezed into a single database record.

  • @PhillipKerman
    @PhillipKerman 26 дней назад +1

    In all my teams over the last n-years, "infrastructure" always means cloud resources.

    • @Mark-D-Inman
      @Mark-D-Inman  26 дней назад +1

      Thanks, that's good to know. That speaks to my point about terminology.

    • @user-ly3on4jg7g
      @user-ly3on4jg7g 24 дня назад

      Yup, in my mind Infrastructure is hardware and how it's setup. It actually had very little to do with code...