A TEXT POST

Mangolicious

image

I’m very happy to announce the first alpha release of Mango, a new pure-Perl non-blocking I/O MongoDB driver, and the latest Mojolicious spin-off project.

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. ;)

So, what are you waiting for? Get yourself a free account over at MongoHQ or MongoLab and start writing awesome web applications.

Have fun!

  1. kraih posted this