From: Jamey Cribbs Date: 2005-10-22T23:47:36+09:00 Subject: Re: Madeleine, SQLite and multi-platform issues (in ruby :-) Assaph Mehr wrote: >>2. Figure out how to connect the two without using ActiveRecord (is >>this how Madeleine does it?). >> >> > >Yep. There are a few "special" objects that are proxied. each method >invocation is recorded (and occasionally a complete state snapshot is >taken), so you're guaranteed the same state when you resume. If I can >replace those objects to be handled by KB instead of madeleine >transparently it should be easy to replace. How invasive is KB >regarding the objects it manages? How does it support various >relationships? > > Not sure what you mean by "how invasive is KB regarding the objects it manages". KirbyBase does give you the ability to create a custom "record class". All the records in the result set will be returned as instances of this class. So, if you need to give the returned records custom behavior, you can define the methods in this custom record class and each record will have that behavior. Don't know if this helps answer the first question or not. Regarding the second question, KirbyBase supports one-to-one relationships (called "lookup fields" in KB) and one-to-many relationships. You also have the ability to define "calculated fields". HTH, Jamey