-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A thought about api design #2
Comments
Thanks @btiernay. I need to look into it, but at the first glance there seem to be quite a bit of string parsing/interpolation being used in jongo. |
Depending on your perspective that may be a good or a bad thing. Sql is the same way and there is something to be said for not abstracting it too much (eg Hibernate criteria api). I thinm Jongo has done a good job at balancing typesafety with expressiveness and ease of use. Just my 2c. Cheers |
Btw, why aren't YOU using testng in your code? :) |
|
|
I'm not sure if you are familiar with Jongo, which makes working with MongoDB in Java more like working in the mongo shell, but you should take a look if not:
http://jongo.org/
What I like about it is that it doesn't try to hide the native look and feel of the query language and is very easy to work with. Also, it has great support for Jackson which is key in Java when working with JSON.
Anyways, you may be able to grok a few ideas from their design.
Cheers
The text was updated successfully, but these errors were encountered: