Please log in to watch this conference skillscast.
In the *live-coding-only* talk we'll walk through some of the features of DI containers and see if we can replace them with pure, type-safe Scala code. We'll start with ""manual"" DI, followed by using MacWire. With one simple `wire` macro, we can save a lot of typing and still use only Scala language features for creating the object graph at runtime.We’ll then see how to declaratively implement an interceptor, and that it’s far easier than it may seem. Finally, we'll take a look at the *“Thin Cake Pattern”*, and how to use traits to create and compose module.
We’ll then see how to declaratively implement an interceptor, and that it’s far easier than it may seem. Finally, we'll take a look at the “Thin Cake Pattern”, and how to use traits to create and compose module.
YOU MAY ALSO LIKE:
- Free Monad or Tagless Final? How Not to Commit to a Monad Too Early (SkillsCast recorded in December 2017)
- Pivotal's Core Spring (in London on 4th - 7th November 2019)
- Lightbend Akka for Scala - Professional (in London on 11th - 12th November 2019)
- Scala eXchange London 2019 (in London on 12th - 13th December 2019)
- Scalax2gether Community Day 2019 (in London on 14th December 2019)
- Code Kata: Yilin Wei - Optics with Monocle (in London on 22nd October 2019)
- Don’t keep it to yourself - openness and honesty in the workplace (in London on 30th October 2019)
- Abstract Data Types In The Region Of Abysmal Pain, And How To Navigate Them (SkillsCast recorded in September 2019)
- The Last Frontier and Beyond (SkillsCast recorded in August 2019)
The framework-less Scala Dependency Injection framework
Adam is one of the co-founders of SoftwareMill, a company specialising in delivering customised software solutions. He codes mostly on the back-end using Scala and other interesting technologies. Adam created a couple of open-source projects, such as sttp, MacWire, Hibernate Envers and ElasticMQ. He has been a speaker at major conferences, such as Devoxx, JavaOne, LambdaConf and ScalaDays.