Let's Write Spring! (Part 3)
This is a copy of a post, originally written on Medium. I've since rehosted it here.
If you haven’t read Part 1 or Part 2 you should definitely do that first.
As I mentioned at the end of Part 2, we’re pretty much done with building out Spring’s DI. We took care of @Qualifier annotations in the previous part, but so far it’s only been implemented on @Autowired fields. Let’s explore other places in which the @Qualifier annotation can be used.
Let's Write Spring! (Part 2)
This is a copy of a post, originally written on Medium. I've since rehosted it here.
If you haven’t read Part 1 you should definitely do that first.
Last time we got a basic implementation of Spring’s DI working, with @Component and @Autowired annotations working. In this post, we’re going to handle @Configuration classes and @Bean annotations on methods, as well as any issues that will now be able to arise around duplicate beans.
Let's Write Spring! (Part 1)
This is a copy of a post, originally written on Medium. I've since rehosted it here.
In my previous article (Let’s Write Redux!), I walked through most of the API of the javascript state management library Redux. I started with the API as it’s laid out in the documentation and guides, and then built out all of those functions. My goal there was to demystify some of the things that Redux does, in an effort to make it feel less like magic.
Let's Write Redux!
This is a copy of a post, originally written on Medium. I've since rehosted it here.
As a corollary to the famous sentiment “the best way to prove mastery over a topic is to be able to teach it to somebody else”, I’d like to add “the best way to prove mastery over a piece of software it to implement it yourself.” I don’t know whether or not that’s true, but I do often enjoy building my own versions of the tools/libraries that I use.