ch1ller0 / fridgefm-inverter

Powerful and simple inversion of control library
MIT License
7 stars 3 forks source link

Better documentation #13

Open ch1ller0 opened 2 years ago

ch1ller0 commented 2 years ago
epodivilov commented 2 years ago

Hi. Interesting project!

I see that it was inspired by ditox, but it would be interesting to know the differences/advantages of this solution.

ch1ller0 commented 2 years ago

Hey! Ill include that in the docs but I want it to be here as well. Ditox is great, but basically the idea was to implement a library that mimics the DI systems of Angular/Nest/Tramvai. So I might consider this as a wrapper around ditox`s system. The main differences compared to ditox package are:

To wrap it all up, it looks like ditox is a lot more like a library because it gives you full (and sometimes even too much) control, opposed to @fridgefm/inverter that is like a framework, where you just have to fill in the blanks. There might be some other differences but thats what came to my mind first.