If you’ve ever worked with the official MongoDB driver for Perl, you’re probably well aware of its many shortcomings, so i’m not gonna ramble on about it… it’s basically the only driver i could find that still defaults to unsafe writes.
While MongoDB itself can be a bit quirky as well, it is also a hell of a lot of fun to work with, especially for rapid prototyping HTML5 web applications. Now that real-time web technologies such as WebSockets are becoming more and more popular, there is a growing demand for versatile non-blocking datastores that work well with event loops. So Mango has been designed from the ground up with the same hybrid architecture as the popular Mojo::UserAgent, and both share the same general characteristics.
Some of the most important features are:
- Clean blocking and non-blocking hybrid API.
- All operations are safe by default, you have to work to lose data.
- Fast and simple installation, no C compiler needed.
- Optimized for use with Mojolicious.
And of course here’s the obligatory example application. ;)