On Thu, Oct 23, 2008 at 3:33 PM, Jarkko Laine <[EMAIL PROTECTED]> wrote:
> > On 23.10.2008, at 3.16, Kyle Drake wrote: > > > > > Tokyo Cabinet is a cool power tool, but it's not a relational > > database. It only does key/value store. I'm not sure there would be > > much of a point to making a DM interface, since you wouldn't be able > > to use most of the methods in it. I think it would be much easier to > > just write a set of model methods for getting/setting the data. > > DataMapper is not just for relational databases: > http://merbist.com/2008/09/29/write-your-own-custom-datamapper-adapter/ > > //jarkko > > -- > Jarkko Laine > http://jlaine.net > http://dotherightthing.com > http://odesign.fi > There's only a handful of methods you need to use to setup for a DataMapper adapter as defined in the AbstractAdapter. Not sure how you'd go with a model id though although you can use composite keys etc... doesn't seem to sit... ~Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
