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.
4 blog posts
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.
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.
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.