Re: MongoDB modules for next 5.4

2012-08-26 Thread Massimo Lusetti
On Thu, Aug 23, 2012 at 6:26 PM, Josh Canfield wrote: > Ha, that's what I get for reading an old thread and not finishing it before > commenting. > > I agree, an dependency on Morphia is a bad choice for me as well. BTW I've also played with Jackson (based) integrations and are pretty cool, infa

Re: MongoDB modules for next 5.4

2012-08-23 Thread Josh Canfield
Ha, that's what I get for reading an old thread and not finishing it before commenting. I agree, an dependency on Morphia is a bad choice for me as well. On Thu, Aug 16, 2012 at 1:46 PM, Christian Riedel wrote: > I remember Igor talking about a mongodb integration.. What happened with > it? > >

Re: MongoDB modules for next 5.4

2012-08-23 Thread Josh Canfield
Have you considered using Jackson and ObjectMapper? there doesn't seem to be a really good reason to implement this again. There is a plugin for jackson that reads/writes BSON objects, I'm sure an adapter could be created to write Tapestry JSON. What would be really nice is if Tapestry JSON was i

Re: MongoDB modules for next 5.4

2012-08-17 Thread Massimo Lusetti
On Thu, Aug 16, 2012 at 10:46 PM, Christian Riedel wrote: > Having support for mongodb is a good thing but I think making morphia the > default mapper is not the best choice. > We have here some nice integration with the jackson mapper[1], which is not > so much hibernate-like and gives much mo

Re: MongoDB modules for next 5.4

2012-08-16 Thread Igor Drobiazko
Before starting this project Massimo asked me about my initial plans for Mongo support. I'll just contribute to this project. On Thu, Aug 16, 2012 at 10:46 PM, Christian Riedel wrote: > I remember Igor talking about a mongodb integration.. What happened with > it? > > Having support for mongodb i

Re: MongoDB modules for next 5.4

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 18:43:18 -0300, Lenny Primak wrote: Not sure where, but I bet JSON to entity mappers exist somewhere already. No need to reinvent the wheel here. +1 to having a tapestry-json-mapper package with an overridable implementation using the best existing mapper out there, -

Re: MongoDB modules for next 5.4

2012-08-16 Thread Lenny Primak
Not sure where, but I bet JSON to entity mappers exist somewhere already. No need to reinvent the wheel here. On Aug 16, 2012, at 3:27 PM, Howard Lewis Ship wrote: > I've been thinking of a general-purpose way to convert arbitrary > Objects into JSONObjects, using naming conventions and anno

Re: MongoDB modules for next 5.4

2012-08-16 Thread Christian Riedel
I remember Igor talking about a mongodb integration.. What happened with it? Having support for mongodb is a good thing but I think making morphia the default mapper is not the best choice. We have here some nice integration with the jackson mapper[1], which is not so much hibernate-like and giv

Re: MongoDB modules for next 5.4

2012-08-16 Thread Howard Lewis Ship
I've been thinking of a general-purpose way to convert arbitrary Objects into JSONObjects, using naming conventions and annotations. I believe it could also be used to reverse the process. It would be nice for a Ajax event handler method to be able to return an Entity, or a List and have that con

Re: MongoDB modules for next 5.4

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 14:34:35 -0300, Massimo Lusetti wrote: Hi all, Hi! I've done some preliminar work on two modules for integration with MongoDB. Nice! I was thinking of doing that someday too. :) A couple suggestions: * Injection of MongoDB database instance using @Inject or some