Stuart Sierra - Components Just Enough Structure

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024

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

  • @danschmidt5189
    @danschmidt5189 9 лет назад +11

    Interesting that this mirrors the evolution of DI in a typical OO program: start with globals; advance to the Service Locator (5:40 ish); end up at "real" dependency injection.

  • @Kah0ona
    @Kah0ona 10 лет назад +4

    Great talk about software architecture in Clojure. Very nice component pattern, very well presented. Cool.

  • @bhougland18
    @bhougland18 4 года назад +2

    Stuart is such a lucid speaker

  • @aJanuary
    @aJanuary 10 лет назад +5

    Constructor/property injection and what he calls associative injection are talking about different things.
    Constructor and property injection are about how the dependencies are set on each object/component.
    'Associative injection' is just talking about how you build up the container/injector. To get the dependencies onto the components, it's using constructor injection.

  • @rmschindler144
    @rmschindler144 2 года назад

    Very cool!

  • @akshatshah3224
    @akshatshah3224 2 года назад +1

    Stuart mentioned at ruclips.net/video/13cmHf_kt-Q/видео.html that you cannot just start/stop part of a system. This is one of the applications for having systems inside systems? You can stop an internal system and parent system would still be in start state?

    • @_FFFFFF_
      @_FFFFFF_ 5 месяцев назад

      Aka erlang supervisors... I think that thsi is correct.

  • @leontalbot
    @leontalbot 10 лет назад +3

    Great! Here are simple examples using the Component library : github.com/stuartsierra/component/blob/master/dev/examples.clj
    Are there any app/projet that uses this so far? I'd love to see more code to look at!