Re: Is IoC containers harmful for DDD?

"Greg Young [email protected] [domaindrivendesign]" <[email protected]> Tue, 2 Dec 2014 05:24:23 -0800
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <CAC9RQtgd9dd7RcroA0o2Pi2dA3KubGyqe8Um8XokVNxVzZhtrg@mail.gmail.com>
How does a plugin architecture interfere with using a bootstrap method? It
is quite common to do both (even compiling the bootstrap code at start).
This has been a common practice in functional languages for decades.

On Tue, Dec 2, 2014 at 4:27 AM, Rikard Pavelic [email protected]
[domaindrivendesign] <[email protected]> wrote:

>
>
> On Tue, 2 Dec 2014 03:41:52 -0800
> "Greg Young [email protected] [domaindrivendesign]"
> <[email protected]> wrote:
>
> > I would still have issues with the bootstrap method, but thats
> > whole other discussion (and goes against some of the DDD values).
> >
> > I'd love to hear which DDD values it goes against.
> >
>
> No, I think your bootstrap is perfectly aligned with DDD.
> I meant that my values are sometimes not aligned with DDD way.
>
> I've dealt mostly with systems where extensibility trumps DDD (and by
> extensibility I don't mean XML, but only to be able to introduce new
> functionality/change existing one without recompiling the existing
> code). To be clear, I'm not talking about runtime configuration based
> on configuration files, but about plugin based architectures.
>
> Thus I dislike some of the preachings of DDD practitioners (I can
> explain more if someone is interested) which are preferring closed
> systems instead of open ones.
>
> Regards,
> Rikard
>
> --
> Rikard Pavelic
> https://dsl-platform.com/
> http://templater.info/
>  
>



-- 
Studying for the Turing test