google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

Steal techniques from Lambda4JDT to create a more fluent API #78

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Lambda4JDT demonstrates how Morphia may be improved to avoid any use of Strings 
to refer to fields, where errors will only be picked up at runtime.  Here is a 
good example: http://code.google.com/p/lambdaj/wiki/LambdaCollections

My suggestion is that Morphia would significantly benefit from such an 
approach, even if at a slight performance cost.   Those that really care about 
performance probably aren't using Morphia in the first place.

Original issue reported on code.google.com by ian.clarke on 15 Jul 2010 at 10:40

GoogleCodeExporter commented 9 years ago
You might to look at this: 
http://blog.mysema.com/2010/11/mongodb-with-querydsl.html

Original comment by scotthernandez on 24 Dec 2010 at 5:39

GoogleCodeExporter commented 9 years ago
Querydsl is fairly stable and established and I would be happy to help you 
integrate it better into Morphia. Feel free to contact me if you need any help. 
The code base for Querydsl Mongodb is quite minimal, but working.

Original comment by timo.wes...@gmail.com on 29 Dec 2010 at 9:04

GoogleCodeExporter commented 9 years ago
Yeah, I came across that a week ago. I'm happy to give advise but for now I 
don't see working on this feature myself. I'm pretty sure this can be done 
externally to morphia, like as an extension.

Original comment by scotthernandez on 29 Dec 2010 at 11:55