Blog of Adam Warski

Java, Scala, programming, ...

  • Blog of Adam Warski Twitter
  • Blog of Adam Warski Google+
  • Blog of Adam Warski RSS

Primary menu

Skip to primary content
  • Home
  • About me / my projects
  • All Posts

Category Archives: Modularity

In today’s post-OO world, is dependency injection still relevant?

  • By Adam Warski
  • 23 February, 2015
  • 8 Comments

It’s 2015. Most of the new popular languages are more or less functional. The old ones, like Java, gain functional programming elements. In Scala, people are increasingly leaning towards the … Continue Reading →


MacWire 0.7: dynamically accessing the object graph

  • By Adam Warski
  • 22 July, 2014
  • 6 Comments

MacWire is a Lightweight and Nonintrusive Scala Dependency Injection library. While it would be great to be able to define in a type-safe way the whole object graph for an … Continue Reading →


Using Scala traits as modules, or the “Thin Cake” Pattern

  • By Adam Warski
  • 25 February, 2014
  • 10 Comments

I would like to describe a pure-Scala approach to modularity that we are successfully using in a couple of our Scala projects. But let’s start with how we do Dependency … Continue Reading →


MacWire 0.5: Interceptors

  • By Adam Warski
  • 1 October, 2013
  • 10 Comments

Interceptors are very useful for implementing cross-cutting concerns. Classic use-cases include security, logging or transaction support. Since version 0.5, MacWire contains an implementation of interceptors which can be applied to … Continue Reading →


Verifying usage of 3rd party libraries using Veripacks

  • By Adam Warski
  • 5 August, 2013
  • No Comments

Veripacks already allows to specify and verify which classes should be visible outside of a package (in a package-transitive way) as well as require importing and import packages within a … Continue Reading →


MacWire 0.2: Scopes are simple!

  • By Adam Warski
  • 25 April, 2013
  • 5 Comments

MacWire generates new instance creation code of given classes, using values in the enclosing type for constructor parameters, with the help of Scala Macros. DI container replacement. Version 0.2 has … Continue Reading →


MacWire 0.1: Framework-less Dependency Injection with Scala Macros

  • By Adam Warski
  • 4 April, 2013
  • 25 Comments

Using Dependency Injection is almost a standard when developing software. However, in many cases it may seem that using the pattern implicates using a DI container/framework. But is a framework … Continue Reading →


How to replace a build module with Veripacks

  • By Adam Warski
  • 26 March, 2013
  • No Comments

Compare the two trees below. In both cases the goal is to have an application with two independent modules (frontend and reporting), and one shared/common module (domain). The code in … Continue Reading →


Veripacks 0.1 – Verify Package Specifications

  • By Adam Warski
  • 5 January, 2013
  • 4 Comments

Using some free time during my Christmas & New Year break, I worked on a new project, which implements some of the ideas from my earlier blog “Let’s turn packages … Continue Reading →


Let’s turn packages into a module system!

  • By Adam Warski
  • 8 November, 2012
  • 13 Comments

Many projects are divided into modules/subprojects using the build system (Maven, Gradle, SBT …); and writing modular code is generally a Good Thing. Dividing the code into build modules is … Continue Reading →


  • Previous

MOVED


I'm now blogging on SoftwareMill's blog. Please follow me there!

Recent Posts


  • Kafka with selective acknowledgments performance & latency benchmark
  • Why I started learning Emacs in 2016
  • Add a “dependencies” badge & tree to your project using UpdateImpact
  • Event sourcing + free monads = free sourcing?
  • MacWire 2.0: composing modules & cleanup

Links


Follow me on twitter!

Looking for end-to-end software development, project management, Scala experts? SoftwareMill is here to help:
Did you ever have problems with updating or managing dependencies in your Scala/Java/Groovy projects? Check out UpdateImpact!

Interested in weekly Scala news?

The best code-review tool:

Top Posts & Pages


  • Quicklens: modify deeply nested case class fields
  • How do iBeacons work?
  • Clean URLs in Seam: URLRewriteFilter
  • Dependency Injection and replacing dependencies in CDI/Weld
  • DI in Scala: Cake Pattern pros & cons
  • Trying to understand CAP
  • Using Scala traits as modules, or the "Thin Cake" Pattern
  • Benchmarking SQS
  • MacWire 1.0 is here!
  • Dry parameter names

Categories


Archives


Copyright © 2007-2023 Blog of Adam Warski. All Right Reserved.
Powered by: WordPress | Theme: Simple Catch Pro
 

Loading Comments...