[ANN] stash 0.1.1: work with data structures servers like Redisusing Ruby objects

Discussion in 'Ruby' started by Tony Arcieri, Nov 30, 2010.

  1. Tony Arcieri

    Tony Arcieri Guest

    [Note: parts of this message were removed to make it a legal post.]

    Stash provides a high-level, abstract interface to data structures servers
    like Redis. Presently Redis is the only server supported, but support is
    planned for Membase, and potentially Memcache and Kestrel:

    https://github.com/tarcieri/stash
    <https://github.com/tarcieri/stash>https://rubygems.org/gems/stash

    Stash lets you work with Redis Strings, Lists, and Hashes not using an
    arcane set of commands, but just like you would with Ruby Strings, Lists,
    and Hashes.

    After configuring Stash, you can retrieve a list using:

    Stash::List[:foobar]

    and append to it with:

    Stash::List[:foobar] << "baz"

    Both Stash::Lists and Stash::Hashes are Enumerable and respond to all your
    favorite Ruby Enumerable methods:

    Stash::List[:foobar].inject(0) { |i, v| i + v }
    Stash::List[:foobar].empty?

    --
    Tony Arcieri
    Medioh! A Kudelski Brand
    Tony Arcieri, Nov 30, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tweak
    Replies:
    14
    Views:
    2,767
    Eric Sosman
    Jun 11, 2004
  2. Alfonso Morra
    Replies:
    11
    Views:
    703
    Emmanuel Delahaye
    Sep 24, 2005
  3. Patrick Kowalzick
    Replies:
    5
    Views:
    459
    Patrick Kowalzick
    Mar 14, 2006
  4. Intransition

    Stash is a new project

    Intransition, Nov 29, 2010, in forum: Ruby
    Replies:
    0
    Views:
    82
    Intransition
    Nov 29, 2010
  5. Tony Arcieri
    Replies:
    0
    Views:
    81
    Tony Arcieri
    Dec 7, 2010
Loading...

Share This Page