Author: phoet

Mongo Ruby Driver, Mongoid and MongoMapper

=================================================================== =================================================================== Update Aug. 2010 On “Whyday”:, I created a live demo of the examples, “that is running on Heroku”: =================================================================== =================================================================== I am constantly looking around for different storage mechanisms on Heroku that can be used for caching 3rd party data. A recent update of their platform offered an MongoDB addon to access the […]

Distinguish Ruby Runtimes with WhichRuby

Nowadays there are several decent Ruby runtimes available besides MRI ranging from alpha-versions to production-ready status. Using RVM these different interpreters become more and more interchangeable. h2. current problems Since switching between runtimes became as easy _rvm use x_ more care has to be taken to support a wide range of interpreters and versions. This […]

Ruby in Java, Java in Ruby, JRuby or Ruby Java Bridge?

Hosting (J)Rails applications on a high availability Java infrastructure with clusters, loadbalancers and all that shit stuff is great, if you already have it in place. But does running an app on the “JRE”: make it a “JRuby”: application by default? Do you really want to be stuck on JRuby? I really like the idea […]

taming webapp logging with log4j

Logging is an aspect of programming that should follow some simple rules. If I should describe logging for a dictionary it would be something like: “Providing essential information with object introspection at a decent level of output that enables you to look into a running application or providing runtime information for debugging.” But even the […]