Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion status?

X-BeenThere: dm-mongo-adapter@googlegroups.com
Received: by 10.90.14.37 with SMTP id 37ls195956agn.0.p; Fri, 26 Feb 2010 
	05:33:03 -0800 (PST)
Received: by 10.90.16.19 with SMTP id 19mr370813agp.14.1267191183751;
        Fri, 26 Feb 2010 05:33:03 -0800 (PST)
Received: by 10.90.16.19 with SMTP id 19mr370812agp.14.1267191183729;
        Fri, 26 Feb 2010 05:33:03 -0800 (PST)
Return-Path: <piotr.soln...@gmail.com>
Received: from mail-gy0-f189.google.com (mail-gy0-f189.google.com [209.85.160.189])
        by gmr-mx.google.com with ESMTP id 24si3904yxe.5.2010.02.26.05.33.03;
        Fri, 26 Feb 2010 05:33:03 -0800 (PST)
Received-SPF: pass (google.com: domain of piotr.soln...@gmail.com designates 209.85.160.189 as permitted sender) client-ip=209.85.160.189;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of piotr.soln...@gmail.com designates 209.85.160.189 as permitted sender) smtp.mail=piotr.soln...@gmail.com
Received: by gyh20 with SMTP id 20so102678gyh.26
        for <dm-mongo-adapter@googlegroups.com>; Fri, 26 Feb 2010 05:33:03 -0800 (PST)
MIME-Version: 1.0
Received: by 10.150.173.42 with SMTP id v42mr13794ybe.89.1267191183682; Fri, 
	26 Feb 2010 05:33:03 -0800 (PST)
Date: Fri, 26 Feb 2010 05:33:03 -0800 (PST)
In-Reply-To: <ac3c26c6-961b-48f4-af91-4aad0075aa9e@u19g2000prh.googlegroups.com>
X-IP: 195.150.129.245
References: <ac3c26c6-961b-48f4-af91-4aad0075aa9e@u19g2000prh.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 
	(KHTML, like Gecko) Chrome/5.0.307.9 Safari/532.9,gzip(gfe),gzip(gfe)
Message-ID: <21c3802c-350f-4936-8138-f4350085ba29@15g2000yqa.googlegroups.com>
Subject: Re: status?
From: solnic <piotr.soln...@gmail.com>
To: DataMapper MongoDB Adapter <dm-mongo-adapter@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Feb 22, 7:02=A0pm, linoj <lino...@gmail.com> wrote:
> Hiya,
>
> I've been playing with Rails3beta with mongomapper and mongoid the
> past week, and started wondering why are they reinventing the wheel?

Probably because they are not familiar with DataMapper.

> Then i discoveredhttp://github.com/solnic/dm-mongo-adapter/and this
> group (?!). A DM adapter seems a more intuitive direct approach.

Yes it is, however it's not as easy as you might think :)

> What's the status of this project?

There's a pre-release available as a gem. I'm using it in 2
applications
but in a very basic setups, no issues so far.

The first stable and fully-featured release will be done along with
the
DataMapper 1.0 release which should happen during next...few months.
I'm
working on various major improvements in dm-core at the moment that's
why I
haven't done much work in the adapter lately. Most of the upcoming
changes in
dm-core will make possible to implement mongo-specific features
without
altering DataMapper's private API, like embedded documents or handling
of
custom property types like Array and Hash.

> it seems the other wrappers presently have more momentum, but is that the
right approach?

With DataMapper you get a lot for free so you don't have to implement
everything from scratch AND you get a bunch of various extensions and
plugins.
For instance I didn't have to implement timestamps, pagination,
aggregations
etc. I just used available DataMapper plugins. That's a great
advantage over
writing a dedicated Mongo framework like MM or Mongoid. We just need
to
finalize DataMapper itself and then the development of the adapter
will be much easier.

Cheers!

solnic