mongoDB

mongoDB and morphia: my DAO is pumping!

When Mashape pivoted, we needed to create a brand new data access object (DAO) implementation. There were two main constraints: flexibility and development speed. Flexibility meant a schema-free solution, to keep pushing features even if they required major changes in the database structure. Speed meant a library or a framework that could easily help us during the implementation. Previously, we were using MySQL + Hibernate. We were not able to iterate fast enough on the database as we were stuck with all those tables, columns and migration issues. Hibernate is a good product, but it’s a whole new world – we didn’t need...