Re: The future of CongoMongo?

2014-02-28 Thread xavi
I used CongoMongo for my base web app with authentication (https://github.com/xavi/noir-auth-app). When asked (a year ago) why I didn't use Monger I said I prefer CongoMongo because it's smaller and so probably easier to understand, and it does all I need

Re: The future of CongoMongo?

2014-02-28 Thread Michael Klishin
2014-02-28 14:35 GMT+04:00 xavi xavi.caba...@gmail.com: When asked (a year ago) why I didn't use Monger I said I prefer CongoMongo because it's smaller and so probably easier to understand Monger's API follows MongoDB shell. CongoMongo invents a completely new API. I'll let you decide which

Re: The future of CongoMongo?

2014-02-28 Thread xavi
On Friday, February 28, 2014 5:04:59 PM UTC+1, Michael Klishin wrote: Monger's API follows MongoDB shell. CongoMongo invents a completely new API. I'll let you decide which one is easier to understand. How is CongoMongo inventing a completely new API? Taking an example adapted from

Re: The future of CongoMongo?

2014-02-28 Thread Sean Corfield
On Feb 28, 2014, at 9:08 AM, xavi xavi.caba...@gmail.com wrote: (monger.collection/find products { :price_in_subunits { gt 1200 lte 4000 } }) And you could use $gt, $lte directly if you require/refer Monger's operators namespace: (monger.multi.collection/find db :products {:price_in_subunits

The future of CongoMongo?

2014-02-26 Thread Sean Corfield
(this is a variant of a discussion I started on the congomongo-dev mailing list a while back) Do you use MongoDB with Clojure? Which library do you use? I seem to have become the de facto primary maintainer for CongoMongo now - I gather most other maintainers are not currently using MongoDB

Re: The future of CongoMongo?

2014-02-26 Thread Mark Engelberg
I use and prefer congomongo, and am happy with its current state. It's lightweight and does what I want it to do. I've looked at monger a couple of times, and felt it was more involved than I wanted. For example, I was turned off by the need to manually create object IDs as part of creating

Re: The future of CongoMongo?

2014-02-26 Thread Leonardo Borges
I'd like to see CongoMongo's API completely overhauled, to remove dependencies on dynamic global variables etc, so this would be introduce a new API, and deprecate the old API. I've used both libraries but since I haven't worked with Mongo extensively from Clojure I still don't have a

Re: The future of CongoMongo?

2014-02-26 Thread Michael Klishin
2014-02-27 4:56 GMT+04:00 Mark Engelberg mark.engelb...@gmail.com: I've looked at monger a couple of times, and felt it was more involved than I wanted. For example, I was turned off by the need to manually create object IDs as part of creating records. I like how congomongo does it for me.