I recently started my first Dancer & MongoDB project. MongoDB is my preferred database (at the moment) and Dancer is a great framework, but something is missing: I really prefer using an ORM and didn’t find anything for MongoDB which fits my needs. (weiterlesen …)
There are few better ways for taking a SQL server down than SELECT … JOIN statements. Don’t get me wrong – a good JOIN could really fast, but huge JOIN blocks adding 10 or more foreign tables maybe even without using indexes could easily slow down the biggest SQL server. MongoDB has MapReduce to do the job with much less server impact – but more developer brain usage. (weiterlesen …)
Perl doesn’t care about numbers, integer or float – at least on the script level – but MongoDB does. The driver’s default number detection algorithm treats floats as strings and MongoDB doesn’t like to compare strings with less-than or greater-than operations. (weiterlesen …)
Ich nutze MongoDB schon seit über einem Jahr, bisher aber nur für kleinere Sachen – und ohne MapReduce. Dabei ist es genau diese Funktion, die viel zur Macht dieser ungewöhnlichen Datenbank beiträgt. (weiterlesen …)
I recently decided to prefer MongoDB for new projects and it turned out that I still need to learn a lot of things about it. One of them is MapReduce which is more powerful than (most) SQL SELECT options. (weiterlesen …)
Früher war die Sache einfach: Eine Textdatei oder später ein tie-Call und die Daten waren gespeichert. Heute kämpfen verschiedene Datenbanken um die Vorherrschaft – aber eine wirklich gute Option scheint es nicht zu geben, man kann nur das kleinste Übel wählen. (weiterlesen …)
The YAWF framework is available from CPAN, but it still needs a Webserver and some environment for working at it’s best. This tutorial shows everything needed to set up a new OpenVZ VE (VServer) with MongoDB and YAWF framework on an existing OpenVZ host.
The Tie::Hash::MongoDB from scratch using Padre" href="http://www.pal-blog.de/entwicklung/perl/2011/creating-tiehashmongodb-from-scratch-using-padre.html">first part of this guide explained how to create the skeleton of the new module and how to create the backend for tie’ing a hash to a MongoDB document.
This second part will finish the job by putting some useful code into the skeleton methods. (weiterlesen …)
Perl’s hash is very powerful, it stores any kind of data, but it’s kept in memory and this is not always wanted. The powerful “tie” function binds a hash to a Perl module which could do whatever_it_wants with the data.
Today I’ld like to show you how easy a has could be connected to a database. A module which connects a hash to SQL is already on CPAN, so let’s go with MongoDB. (weiterlesen …)
Gerade habe ich MongoDB noch hoch gelobt, da kostet mich eine Schlampigkeit im MongoDB-Treibermodul für Perl einen halben Arbeitstag. (weiterlesen …)

