RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

FredAtLandMetrics — 4 posts

I just released version 0.1.6 of the Sadie gem.

This version sports an entirely new (more Ruby-esque) DSL for primer definition and removes the pluggable primer types which, while handy at times, mostly scratched itches which were well-handled by other gems.

New features include key/value expiry and refresh and a much more sane handling of subdirectories and keys (which are no longer linked). Also, the "eachers" of previous versions have been replaced by more-idiomatic Ruby before and after directives.

This release paves the way for key-based indexes and a scalable, distributed version to be built on top of Redis.

Comments are welcomed at

I just wrote an article explaining how Sadie provides another data gathering optimization path via "eachers." This follows a flurry of commits on the eacher code that fixed a number of bugs relating to multiple eachers hung on a single primer and eacher-on-eacher-provided-key/val pairs, so an upgrade is advised for early eacher adopters.
Intro Sadie and Olsen
About a week ago, I posted about Sadie, a construct for optimized data access and analysis, and Olsen, a simple reporter that makes it easy to produce typeset reports (among other data products) using a framework of very manageable data primers and a powerful templating system that marries ruby's erb templates with sadie's data access api.

Both gems have seen several revisions since then and I've written an article to give an overview of both projects with some code to show how simple they are to use.
I've released a couple of data-gathering and reporting gems: Sadie and Olsen. Sadie makes it easy to assemble data from various databases, network locations, files and other sources. It has some nice facilities for managing memory usage, session storage, and optimal and/or minimal execution. Olsen, a simple reporter, builds on Sadie to form a framework for reporting and analysis. It currently uses the TeX typesetting system to produce pdfs, but it is completely pluggable and can be easily extended to produce a number of different outputs.