Project: a mini dependency-injection container
60 min · Advanced
Need help? Ask a tutor on WhatsApp (opens in a new tab)A dependency-injection container is a factory that remembers what it built. Building a small one yourself, in about 150 lines, turns Spring's "magic" into code you can read: a map of factories, a map of singletons and a proxy.
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.