Cheers.
I've just started using Akka backed by mongo and the Persistance Map/Vector stuff is again working no problem within Lift... your free to use whatever you want.
Cheers, Tim
> --
> You received this message because you are subscribed to the Google Groups "Lift" group.
> To post to this group, send email to lif...@googlegroups.com.
> To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
>
>
Can you throw something up on github?
I unfortunately cant share what im working on, as its an internal prototype and "not official" or anything like that.
<shameless_plug>
However, for my book I will be distributing the backend in the "advanced" chapters with Akka... so when I get to those sections, the code will be public. *cough* buy my book *cough*
</shameless_plug>
I did speak with Jonas + Debasish about integrating Riakka into Akka proper, but again, not enough time right now.
Cheers, Tim
I have ported Pocketchange app (from Lift Book) to use MongoDB:
http://github.com/alaz/pocketchangeapp
Grabbing it now.
I've not used mongodb directly, but I think the major difference between it and couchdb is that mongo supports freeform queries better, while couch is more geared towards prepackaged views.
-Ross
On 30 мар, 23:13, Ross Mellgren <dri...@gmail.com> wrote:
> I've not used mongodb directly, but I think the major difference between it and couchdb is that mongo supports freeform queries better, while couch is more geared towards prepackaged views.
I have the same feeling. Mongo-scala-driver has a type-safe DSL to
build queries on documents and it was pretty easy to use this
functionality to replace original Mapper methods in Pocketchange. I
have no idea how it could look like for CouchDB
>
> -Ross
>
> On Mar 30, 2010, at 2:56 PM, Lukasz Kuczera wrote:
>
> > Great stuff ! Could you please tell me how much different would be
> > using couch db ?
>
> > On Mar 29, 7:20 pm, Alexander Azarov <aza...@aha.ru> wrote:
> >> Lukasz, Tyler,
>
> >> I have ported Pocketchange app (from Lift Book) to use MongoDB:http://github.com/alaz/pocketchangeapp
>
It means that one has to go through and harvest the various query patterns and distill them into some views, then program them into couchdb on application startup. You can see these from the lift-couchdb unit tests if you're interested:
Near line 58 the design with the views is specified, then later near line 68 the design document is installed.
-Ross
On Mar 30, 8:39 pm, Ross Mellgren <dri...@gmail.com> wrote:
> Currently, you specify the views as a separate document and store it into couchdb. There is no DSL for this (I felt it was overkill at the time), so you just write the JavaScript directly.
>
> It means that one has to go through and harvest the various query patterns and distill them into some views, then program them into couchdb on application startup. You can see these from the lift-couchdb unit tests if you're interested:
>
> http://github.com/dpp/liftweb/blob/master/framework/lift-persistence/...