Posts containing "yaml"
A Crash Course on YAML
This post will tell you how we use a simple YAML file to insert the initial data (like roles, privileges, admin user, and all the other necessary data) into our database. We use Play! Framework (Java) with Hibernate. The important part is how we make Objects from the YAML description using SnakeYAML (Play framework’s integrated YAML parser) though. I’ll give you some tricks on how to use YAML easily in order to create the initial data for your application.