Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a lightweight IoC container to Autopatch #9

Open
MexicanHacker opened this issue Oct 19, 2011 · 3 comments
Open

Add a lightweight IoC container to Autopatch #9

MexicanHacker opened this issue Oct 19, 2011 · 3 comments
Assignees

Comments

@MexicanHacker
Copy link

Currently the lack of a IoC being used in the project prevents us from favoring composition over inheritance, to change this and at the same time favor the payment of the technical debt accumulated in terms of missing tests it would be great to get some help from a IoC container. Right now we are looking at Guice to make this happen but we are not closed to other options (code.google.com/p/google-guice/)

@scottfromsf
Copy link
Contributor

Great point, Oscar. In terms of container selection you already know my preference for Guice since it's 1) extremely quick, 2) very lightweight, and 3) favors constructor over getter/setter injection. That said other containers should such as PicoContainer be considered.

@artur-ciocanu
Copy link
Contributor

I guess PicoContainer could be a better choice, 'cause it doesn't rely on annotation and some other "magic" used in Google Guice, just my 2 cents.

@MexicanHacker
Copy link
Author

Artur, PicoContainer also could be considered, this would be something we need to decide in the near future.

@ghost ghost assigned MexicanHacker Jun 26, 2012
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants