Blog

Java

4 blog posts

Posted on Nov 12, 2017 by Alexej Bondarenko

Yesod has a nice feature to define database models. It uses the persist library to migrate your database to a state which fits your defined application. This is true for very new project setups. With time your project will evolve and change. For this case there is no nice solution in Yesod. For instance if you add a column which is mandatory, Yesod is not able to migrate since it does not know what to do with existing data. In this blog post we will present one possible migration math at application start.

Posted on Dec 12, 2016 by Alexej Bondarenko

What is Object Reflection good for? In this post, we will cover where Object Reflection can be used and why this is useful to develop extendable libraries, debug your application or easily implement features which would be complex instead.

Posted on Nov 7, 2016 by Alexej Bondarenko

If you are already familiar with Maps in Java you may ask yourself why there are so many different implementations for something simple like a Key/Value store. In this post, I would like to show three of them and describe the differences.

Posted on Oct 4, 2016 by Alexej Bondarenko

Since all keywords sound very similar I would like to point out the difference of them in this blog post by providing some practical examples.