Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Nostalgia

Nostalgia

=Nostalgia is a temporal hierarchical object database with a Ruby interface built on top of a Subversion file system.

Why Nostalgia? Speed Writes are slow, and degrades quicky with repo size (and age). Reads are fast – approx 0.005 secs to read an object from svn, or 200 objects/sec. Versioned relationships

A Nostalgia class can declare relationships to other Nostalgia classes in a similar way to ActiveRecord. Example:

class Person has_many :dogs attr_accessor :name end

class Dog has_many :dogs attr_accessor :name end

When a new dog is added to an existing person, the person gets a new revision. This way it’s possible to know what dogs belonged to a person for different revisions.

Start: /Person/1.bin@1 # Person 1 at revision 1 /Person_Dog.bin@1 # The Person-Dog relations at revision 1

We add a new dog: /Person/1.bin@2 # Person 1 at revision 2 /Person_Dog.bin@2 # The Person-Dog relations at revision 2 /Dog/1.bin@1 # Dog 1 at revision 1

Modify the dog: /Person/1.bin@2 # Person 1 at revision 2 /Person_Dog.bin@2 # The Person-Dog relations at revision 2 /Dog/1.bin@2 # Dog 1 at revision 2

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'