Some time ago I wrote about Ports and Adapters architecture, where domain logic is completely separated from infrastructure logic, like database connection, rest controllers, clients etc. It’s is great if you have external dependencies and you want to just test your domain logic without the need for low-level mocking of dependencies. But what if you have a single codebase, a monolith app? Is it useful here? The TL;DR answer is… YES. Here’s why.
Code Europe 2017 has come to a pass. It was really fun, there were many interesting talks about all the possible stuff, from Big Data, through Microservices and Serverless, to WebVR, React and all other frontend stuff. Here are few topics that I found interesting.