From: James Britt Date: 2005-05-02T22:37:59+09:00 Subject: Re: Ruby, Rails and now og Andrew Ballantine wrote: > Hi, > > I have recently "discovered" Ruby and have to say that it is a very refreshing change from procedural programming languages. > > My query is: > > "How does og (ObjectGraph) fit in with Rails or is it an alternative to Rails" It is an alternative to Active Record (which is a part of Rails). One difference between Og and AR is that Og handles the messy parts of the persistence layer It writes the SQL for you (if the persistence layer uses SQL; I believe there are, or will be, file system and Kirbybase bindings). What I like about this is I can write and evolve my application with a focus on objects and behavior, without thinking of what database, if any, I might be using, or what tables, if any, I might need to create. As I go along, I can easily add persistence to objects by adding a few lines of code to the class def. It helps avoid a lot of big upfront design. > > Hoping this is not too tedious a question. Not at all. James -- http://www.ruby-doc.org http://www.rubyxml.com http://catapult.rubyforge.com http://orbjson.rubyforge.com http://ooo4r.rubyforge.com http://www.jamesbritt.com