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:
- LDNUG September 2017 - #ProgNET Special with Richard Campbell (in London on 12th September 2017)
- Progressive .NET 2017 (in London on 13th - 15th September 2017)
- London Unreal Engine Meetup (in London on 20th September 2017)
- Fast Track to F# with Tomas Petricek & Phil Trelford (in London on 16th - 17th October 2017)
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, with an occasional foray into frontend/devops and other languages. Adam created a couple of open-source projects, such as Hibernate Envers, ElasticMQ, Veripacks and MacWire. He have been a speaker at major conferences, such as Devoxx, JavaZone, JFokus or Jazoon.