i use mojolicious only with couchdb, never tried it actually running
with anything else :-)
i mentioned it in here here briefly:
http://www.slideshare.net/norbu09/mojolicious-4055266 but couch is a
very natural fit never mind if you query it directly or with a
library.
what use case do you have? riak is nice as well as mongodb but they
both really start showing their strength only if you have multiple
servers and somewhat larger setups.
cheers
lenz
> --
> You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.
>
>
--
twitter: @norbu09
current project: iWantMyName.com
I'm a fan of Riak and Riak-Search.
--
Sebastian Riedel
http://blog.kraih.com
http://mojolicious.org
http://twitter.com/kraih
And I used Mojolicious with MongoDB.
--
Gabriel Vieira
On Tue, Nov 9, 2010 at 8:19 AM, Scott <keen...@gmail.com> wrote:
>
> What are some of the reasons for your choices?
>
when i started with NoSQL CouchDB was pretty much the only "production
ready" option ... i am stuck with it since then and even though i
looked at several others i love it for projects from small to large.
we use it in production since more than two years with several
projects and never looked back.
i run the local NoSQL user group and we had quite some discussions
about several databases and from the looks many of them are really
interesting but so far CouchDB is the only one serving a very broad
usage pattern from small projects to larger ones.
i love riak and the ideas behind it and it is a very likely option for
some projects i am looking at in the moment but for a simple CMS i
think it might be a bit overkill :-)
cheers
lenz
Membase is a persistent layer to memcache so you can store key/value pairs
in memory and on disk. So if you put a key into membase it's stored on the
disk and kept in memory. Once the information is no longer needed (after a
certain time when memcache fills) it comes to the point where your
key/value is being flushed from the cache. Once it's accessed - it will be
fetched from the disk and being kept in memory again - just like memcache
will do it.
So - it's not a database style like CouchDB with cool query options and
map_reduce, it's just a key/value store.
Hej, I like bdb from former times - so it seems to be natural to me :)
Regards
Uli
... no couchdb in that one but NoSQL :-)
cheers
lenz
> --
> You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.
>
>
--
Unfortunatelly - there are no examples about using CouchDB with Mojo
inside the wiki. lenz (I think) made a presentation and he made one slide
about querying CouchDB from Mojo.
The code snippet looks like this:
my $client = Mojo::Client->new;
my $url = $couch_user_url.
"=key="'.$self->session->{'name'}.'"';
my $view = $client->get($url)->success->json->{rows}->[0]->{doc};
Does that help you to get an idea?
Regards
Uli
i can publish some more code in the coming days, just have to clean up
all my stuff :-)
cheers
lenz
ah :) There you are! Yes, that would be awesome. Could you open a nice wiki page for the couchdb things? I refactored my ORLite stuff recently, I know it's horrible to polish old code. However, we really have a need for some more documentation especially on the data storage side of things. As sri managed to publish a 1.0xx as release candidate Mojolicious might get more attention soon.
I'll work on the membase stuff, I promise!
Thanks for your help!
Uli
cheers
lenz
> --
> You received this message because you are subscribed to the Google Groups "Mojolicious" group.
> To post to this group, send email to mojol...@googlegroups.com.
> To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.
>
>
--