From: Emmanuel Surleau Date: 2008-08-31T15:32:29+09:00 Subject: Re: [ANN] Ribs 0.0.1 ------=_Part_41103_18209508.1220164645192 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Aug 30, 2008 at 7:52 PM, Ola Bini wrote: > I am extremely pleased to announce the first release of Ribs. > > Ribs is a library for JRuby, that allows you to persist Ruby objects using > Hibernate. Some time ago I wrote about ActiveHibernate. I have now decided > to implement this myself, and the result is the Ribs project. > > The first release is quite minimal in scope. You can define and work with > models that have primitive values only - there is no support for > associations. You can find, create, update and delete model objects. All of > this uses Hibernate and JDBC. > > To get started, you just define that an object is to be a Ribs model: > > class Artist > Ribs! > end > > Once that's done, you can start working with it. > Personally, I'd favor a more DataMapper-like approach, like this: class Artist include Ribs:Resource property :name, :string, :primary_key end IMHO, it's not really interesting to use block syntax to define your properties. > > Of course, this is just the beginning. I have a quite long list of things > I'd like to have in the project, but I felt the need to release quickly and > often to be more important than to implement everything first. > > This release is not really for production usage, but I would appreciate if > people tried it out and came with suggestions. The current planned features > can be found in the PLAN file, in the git repository. I assume you also intend to handle lazy loading. Some kind of automigration feature would be nice too... At any rate, this looks like a very promising project for the JRuby crowd. Cheers, Emm ------=_Part_41103_18209508.1220164645192--