Is mongojs a well maintained project?

1,154 views
Skip to first unread message

Srirangan

unread,
Sep 10, 2011, 8:49:55 AM9/10/11
to nod...@googlegroups.com
I'm thinking of using mongojs instead of mongoose. Why? Lesser learning curve, I'm already familiar with MongoDB and think its nice to use the exact same commands I would use in the mongo console.

My only concern with mongojs, and this is where the mongoose team has done really well, is long term commitment. There isn't enough docs on the GitHub page, nothing to suggest that this will be a well maintained long term project.

I'm willing to contribute, who do I have to get in touch with?

- Sri

--
Srirangan  |  About  Blog  GitHub  LinkedIn  Twitter

Ian Jørgensen

unread,
Sep 10, 2011, 11:54:18 AM9/10/11
to nodejs
We made mongojs at http://Ge.tt and we use it in production, so its
very well maintained. Its actively maintained by https://github.com/freeall
https://github.com/mafintosh https://github.com/ianjorgensen. We will
take any resonalble pull requests but keeping the interface clean is
our main concern, mongojs is a wrapper https://github.com/christkv/node-mongodb-native.

What type of docs would you like to see?

-Ian

On Sep 10, 5:49 am, Srirangan <sriran...@gmail.com> wrote:
> I'm thinking of using mongojs <https://github.com/gett/mongojs> instead of
> mongoose. Why? Lesser learning curve, I'm already familiar with MongoDB and
> think its nice to use the exact same commands I would use in the mongo
> console.
>
> My only concern with mongojs, and this is where the mongoose team has done
> really well, is long term commitment. There isn't enough docs on the GitHub
> page, nothing to suggest that this will be a well maintained long term
> project.
>
> I'm willing to contribute, who do I have to get in touch with?
>
> - Sri
>
> --
> Srirangan  |  About <http://srirangan.net/about>  Blog<http://srirangan.net>
>   GitHub <https://github.com/Srirangan>
> LinkedIn<http://www.linkedin.com/in/srirangan>
>   Twitter <http://twitter.com/srirangan>

Srirangan

unread,
Sep 11, 2011, 1:43:52 AM9/11/11
to nod...@googlegroups.com
Thanks for the response Ian. I'm working with mongojs and I love it already. 

I'll send some docs / examples your way in the coming weeks as I learn to use it effectively.

- Sri


--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Jim Lloyd

unread,
Sep 11, 2011, 5:55:35 PM9/11/11
to nodejs
I'm developing a node+express+mongodb app with no prior experience
with any of the components in this stack. I had been using mongoose
but have recently discovered that it prevents me (as far as I can
tell) from easily doing something that mongodb can do. I've been
surveying the alternate mongo libraries and somehow missed mongojs.
In
my limited search so far, I was leaning towards mongoskin, mostly
because it seemed to be the most actively followed of the various
mongodb-native wrappers. Can anyone with more experience compare/
contrast these two (and other) wrappers?

Thanks,
Jim Lloyd

On Sep 10, 8:54 am, Ian Jørgensen <jorgensen....@gmail.com> wrote:
> We made mongojs athttp://Ge.ttand we use it in production, so its
> very well maintained. Its actively maintained byhttps://github.com/freeallhttps://github.com/mafintoshhttps://github.com/ianjorgensen. We will
> take any resonalble pull requests but keeping the interface clean is
> our main concern, mongojs is a wrapperhttps://github.com/christkv/node-mongodb-native.

Marcello Bastéa-Forte

unread,
Sep 11, 2011, 10:42:44 PM9/11/11
to nod...@googlegroups.com
Here's another one to check out: https://github.com/marcello3d/node-mongolian

Unlike mongoskin and mongojs (which are thin layers on top of mongodb-native), Mongolian DB is my attempt to make a clean mongodb-shell style API from the ground up (though it still uses mongodb-native's bson/mongo message serialization).

That doesn't really help you decide, though, now does it? :-)

Marcello

arunoda.s...@gmail.com

unread,
Sep 11, 2011, 10:54:40 PM9/11/11
to nod...@googlegroups.com
I've used mongoskin and love what it does.
--
Arunoda Susiripala


Stefan Zehe

unread,
Sep 12, 2011, 2:30:13 AM9/12/11
to nod...@googlegroups.com

hi,
is mongojs noticable slower than mongo-native? it looks like just perfect!


Ricardo Tomasi

unread,
Sep 12, 2011, 2:33:19 AM9/12/11
to nodejs
Jim,

I'm not a contributor but would like to hear the exact issue you're
having with mongoose. In my experience some features from mongo are
(or were) not documented but work just fine.

On Sep 11, 6:55 pm, Jim Lloyd <jim.ll...@gmail.com> wrote:
> I'm developing a node+express+mongodb app with no prior experience
> with any of the components in this stack. I had been using mongoose
> but have recently discovered that it prevents me (as far as I can
> tell) from easily doing something that mongodb can do. I've been
> surveying the alternate mongo libraries and somehow missed mongojs.
> In
> my limited search so far, I was leaning towards mongoskin, mostly
> because it seemed to be the most actively followed of the various
> mongodb-native wrappers. Can anyone with more experience compare/
> contrast these two (and other) wrappers?
>
> Thanks,
> Jim Lloyd
>
> On Sep 10, 8:54 am, Ian Jørgensen <jorgensen....@gmail.com> wrote:
>
>
>
>
>
>
>
> > We made mongojs athttp://Ge.ttandwe use it in production, so its
> > very well maintained. Its actively maintained byhttps://github.com/freeallhttps://github.com/mafintoshhttps://github..... We will
Message has been deleted

mafintosh

unread,
Sep 21, 2011, 6:59:03 AM9/21/11
to nodejs
Actually mongojs supports cursors as the same speed as mongo-native:

Just do:

var cursor = db.mycollection.find(query);

cursor.forEach(function(err, elem) { ... });

or any of the other cursor operations - it's just a very small wrapper

/m

On Sep 20, 8:56 am, Ian Jørgensen <jorgensen....@gmail.com> wrote:
> Its the same speed it just wraps mongo-native. If you need cursors i
> would go for mongo-native, otherwise stick to mongojs.
>
> On Sep 12, 8:30 am, Stefan Zehe <s.z...@upjers.com> wrote:
>
>
>
>
>
>
>
> > Am 10.09.2011 17:54, schrieb Ian J rgensen:
>
> > > We mademongojsathttp://Ge.ttandwe use it in production, so its
> > > very well maintained. Its actively maintained byhttps://github.com/freeall
> > >https://github.com/mafintoshhttps://github.com/ianjorgensen. We will
> > > take any resonalble pull requests but keeping the interface clean is
> > > our main concern,mongojsis a wrapperhttps://github.com/christkv/node-mongodb-native.
>
> > > What type of docs would you like to see?
>
> > > -Ian
>
> > > On Sep 10, 5:49 am, Srirangan <sriran...@gmail.com> wrote:
> > >> I'm thinking of usingmongojs<https://github.com/gett/mongojs> instead of
> > >> mongoose. Why? Lesser learning curve, I'm already familiar with MongoDB and
> > >> think its nice to use the exact same commands I would use in the mongo
> > >> console.
>
> > >> My only concern withmongojs, and this is where the mongoose team has done
> > >> really well, is long term commitment. There isn't enough docs on the GitHub
> > >> page, nothing to suggest that this will be a well maintained long term
> > >> project.
>
> > >> I'm willing to contribute, who do I have to get in touch with?
>
> > >> - Sri
>
> > >> --
> > >> Srirangan  |  About <http://srirangan.net/about>  Blog<http://srirangan.net>
> > >>   GitHub <https://github.com/Srirangan>
> > >> LinkedIn<http://www.linkedin.com/in/srirangan>
> > >>   Twitter <http://twitter.com/srirangan>
>
> > hi,
> > ismongojsnoticable slower than mongo-native? it looks like just perfect!

Mark

unread,
Oct 4, 2012, 5:32:57 PM10/4/12
to nod...@googlegroups.com
Nope, db.mycollection.find(query) returns a javascript array object.
cursor.forEach is just executing the forEach method of the array. Like it was
mentioned earlier, true cursors are not available in mongojs.


Tom

unread,
Oct 5, 2012, 2:34:42 AM10/5/12
to nod...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages