Mocking is not elegant itself, though. Kotlin, on the other hand, can make anything look elegant. Assume that we have a class named PushyNotification with one dependency, Notification. To do this, we interpret the implementation of PushyNotification and mock up the dependency. class PushyNotificationTest { // Dependencies lateinit var notification:...

A modern approach to domain modeling using hypermedia as a state of application. With the advent of the OLTP systems, changes made to the state of the application could be stored in a different manner, which would make analysis over data possible if carried in to OLAP systems. Database sharding,...

The authentication system is designed by myself while working on a project called Spherium. The project itself is not published though, I put it there as a state-of-the-art experience log, showing that kind of thing is extremely doable in Phoenix, and Elixir. This is the artifact of the project I’m...