You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Garren Smith <ga...@apache.org> on 2013/11/04 15:07:24 UTC
Fauxton + Pouchdb
Hi All,
We have have Fauxton working with Pouchdb on Node.js. Nick Thompson created a Pouchdb express.js server. Fauxton was always designed to be a modular web app which means we can include or exclude modules. In Pouchdb we removed all the modules that were not needed and just left standard database interactivity and replication.
I thought with would be worth mentioning. Check it out. https://github.com/nick-thompson/express-pouchdb
Cheers
Garren
Re: Fauxton + Pouchdb
Posted by Jan Lehnardt <ja...@apache.org>.
This is way cool! :D
Best
Jan
--
On 04 Nov 2013, at 15:07 , Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson created a Pouchdb express.js server. Fauxton was always designed to be a modular web app which means we can include or exclude modules. In Pouchdb we removed all the modules that were not needed and just left standard database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out. https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
Re: Fauxton + Pouchdb
Posted by Garren Smith <ga...@apache.org>.
On 04 November 2013 at 5:26:24 PM, Ryan Ramage (ryan.ramage@gmail.com) wrote:
Yes, its looking great!
BTW, if you want to test it out you probably want to use this:
https://github.com/nick-thompson/pouchdb-server
Which is just express-pouchdb wrapped in an easier to run, standalone
module.
Yes, thanks Ryan for mentioning.
Ryan
On Mon, Nov 4, 2013 at 7:07 AM, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> created a Pouchdb express.js server. Fauxton was always designed to be a
> modular web app which means we can include or exclude modules. In Pouchdb
> we removed all the modules that were not needed and just left standard
> database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out.
> https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
>
Re: Fauxton + Pouchdb
Posted by Garren Smith <ga...@apache.org>.
On 04 November 2013 at 5:26:24 PM, Ryan Ramage (ryan.ramage@gmail.com) wrote:
Yes, its looking great!
BTW, if you want to test it out you probably want to use this:
https://github.com/nick-thompson/pouchdb-server
Which is just express-pouchdb wrapped in an easier to run, standalone
module.
Yes, thanks Ryan for mentioning.
Ryan
On Mon, Nov 4, 2013 at 7:07 AM, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> created a Pouchdb express.js server. Fauxton was always designed to be a
> modular web app which means we can include or exclude modules. In Pouchdb
> we removed all the modules that were not needed and just left standard
> database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out.
> https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
>
Re: Fauxton + Pouchdb
Posted by Ryan Ramage <ry...@gmail.com>.
Yes, its looking great!
BTW, if you want to test it out you probably want to use this:
https://github.com/nick-thompson/pouchdb-server
Which is just express-pouchdb wrapped in an easier to run, standalone
module.
Ryan
On Mon, Nov 4, 2013 at 7:07 AM, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> created a Pouchdb express.js server. Fauxton was always designed to be a
> modular web app which means we can include or exclude modules. In Pouchdb
> we removed all the modules that were not needed and just left standard
> database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out.
> https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
>
Re: Fauxton + Pouchdb
Posted by Jan Lehnardt <ja...@apache.org>.
This is way cool! :D
Best
Jan
--
On 04 Nov 2013, at 15:07 , Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson created a Pouchdb express.js server. Fauxton was always designed to be a modular web app which means we can include or exclude modules. In Pouchdb we removed all the modules that were not needed and just left standard database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out. https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
Re: Fauxton + Pouchdb
Posted by Noah Slater <ns...@apache.org>.
Great! I look forward to it! Thanks.
On 18 November 2013 14:17, Garren Smith <ga...@apache.org> wrote:
> Hey Noah,
>
> Apologies for the slow response. I’ve been away from my computer for the
> last two weeks. I can look at writing a blog post. Will most likely only get
> to it at the end of the month.
>
> Cheers
> Garren
> --
> Garren Smith
>
> On 08 November 2013 at 7:49:31 PM, Noah Slater (nslater@apache.org) wrote:
>
> Garren,
>
> If you wanna do a blog post about this, be my guest. A quick howto, or
> getting started guide, or just a brief announcement. Whatever makes
> sense to you. Would love to get something on the CouchDB blog.
>
> Thanks,
>
> On 4 November 2013 15:07, Garren Smith <ga...@apache.org> wrote:
>> Hi All,
>>
>> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
>> created a Pouchdb express.js server. Fauxton was always designed to be a
>> modular web app which means we can include or exclude modules. In Pouchdb we
>> removed all the modules that were not needed and just left standard database
>> interactivity and replication.
>>
>> I thought with would be worth mentioning. Check it out.
>> https://github.com/nick-thompson/express-pouchdb
>>
>> Cheers
>> Garren
>>
>
>
>
> --
> Noah Slater
> https://twitter.com/nslater
--
Noah Slater
https://twitter.com/nslater
Re: Fauxton + Pouchdb
Posted by Garren Smith <ga...@apache.org>.
Hey Noah,
Apologies for the slow response. I’ve been away from my computer for the last two weeks. I can look at writing a blog post. Will most likely only get to it at the end of the month.
Cheers
Garren
--
Garren Smith
On 08 November 2013 at 7:49:31 PM, Noah Slater (nslater@apache.org) wrote:
Garren,
If you wanna do a blog post about this, be my guest. A quick howto, or
getting started guide, or just a brief announcement. Whatever makes
sense to you. Would love to get something on the CouchDB blog.
Thanks,
On 4 November 2013 15:07, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson created a Pouchdb express.js server. Fauxton was always designed to be a modular web app which means we can include or exclude modules. In Pouchdb we removed all the modules that were not needed and just left standard database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out. https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
--
Noah Slater
https://twitter.com/nslater
Re: Fauxton + Pouchdb
Posted by Noah Slater <ns...@apache.org>.
Garren,
If you wanna do a blog post about this, be my guest. A quick howto, or
getting started guide, or just a brief announcement. Whatever makes
sense to you. Would love to get something on the CouchDB blog.
Thanks,
On 4 November 2013 15:07, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson created a Pouchdb express.js server. Fauxton was always designed to be a modular web app which means we can include or exclude modules. In Pouchdb we removed all the modules that were not needed and just left standard database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out. https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
--
Noah Slater
https://twitter.com/nslater
Re: Fauxton + Pouchdb
Posted by Ryan Ramage <ry...@gmail.com>.
Yes, its looking great!
BTW, if you want to test it out you probably want to use this:
https://github.com/nick-thompson/pouchdb-server
Which is just express-pouchdb wrapped in an easier to run, standalone
module.
Ryan
On Mon, Nov 4, 2013 at 7:07 AM, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> created a Pouchdb express.js server. Fauxton was always designed to be a
> modular web app which means we can include or exclude modules. In Pouchdb
> we removed all the modules that were not needed and just left standard
> database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out.
> https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
>
Re: Fauxton + Pouchdb
Posted by Dale Harvey <da...@arandomurl.com>.
Firefox has unlimited storage, Chrome has heuristics for calculating
storage but it seems to sit somewhere around 20-50MB, Mobile safari moans
around 5MB, the w3c spec I think actually specifies that storage should be
unlimited (pending used agreement) so hopefully a matter of waiting for
browser to fall in line (chrome apps are unlimited, phonegap also unlimited
I believe) (theres a faq @ http://pouchdb.com/faq.html)
Also in the meantime yeh, Pouch is more designed for the initial use cases
of keeping local immediate data stored.
The node implementation is pretty much a full fledged couch replacement, it
doesnt implement configuration in the same way and is missing a few
couchappy type features, although they would be trivial to implement (I
expect there is a plugin lying around somewhere)
The Pouch node implementation is no where near as stable or well tested as
couch, it will likely not perform as better and will most certainly break a
lot more, it was a pretty awesome contribution however I am more focussed
on the browser use case so it hasnt seen much maintenance recently
(although it hasnt needed any, it still passes all tests), since its vastly
easier to install than couch, and now with fauxton experimental support I
expect it can be a good alternative to get started quickly and develop
against, while I would recommend for production environments to be using
CouchDB / etc
Cheers for this Garren + Fauxton team (and thanks to Nick for express-pouch
+ pouchdb-server, they are awesome)
On 7 November 2013 08:00, Jens Alfke <je...@couchbase.com> wrote:
>
> On Nov 7, 2013, at 5:09 AM, Manokaran K <ma...@gmail.com> wrote:
>
> > isn't the size of local storage limited to a few MB - 5 in Firefox and 10
> > in IE? In which case what'll be the use of a couchdb clone in the
> browser?
>
> Many applications won’t need that much data; the clichéd shopping-list,
> for example.
> The web-app can use a filtered pull replication to only sync the subset of
> the main database that it needs.
>
> —Jens
Re: Fauxton + Pouchdb
Posted by Jens Alfke <je...@couchbase.com>.
On Nov 7, 2013, at 5:09 AM, Manokaran K <ma...@gmail.com> wrote:
> isn't the size of local storage limited to a few MB - 5 in Firefox and 10
> in IE? In which case what'll be the use of a couchdb clone in the browser?
Many applications won’t need that much data; the clichéd shopping-list, for example.
The web-app can use a filtered pull replication to only sync the subset of the main database that it needs.
—Jens
Re: Fauxton + Pouchdb
Posted by Manokaran K <ma...@gmail.com>.
isn't the size of local storage limited to a few MB - 5 in Firefox and 10
in IE? In which case what'll be the use of a couchdb clone in the browser?
regds,
mano
On Thu, Nov 7, 2013 at 3:15 PM, Andy Wenk <an...@nms.de> wrote:
> On 7 November 2013 03:15, Jens Alfke <je...@couchbase.com> wrote:
>
> >
> > On Nov 6, 2013, at 5:02 PM, bryan rasmussen <ra...@gmail.com>
> > wrote:
> >
> > > Well no, that is the use of pouchdb in the browser, which is a good
> use,
> > > this is pouchdb running in Node and I am just trying to get a feel for
> > the
> > > possible uses.
> >
> > PouchDB depends on the HTML5 local-database API. Is that even available
> in
> > node.js?
> >
>
> at least local storage is not - it's client side only. And I am convinced
> that the other storage systems (IndexDB ..) aren't either.
>
> Just as a side note ... there is an npm for local storage in node ;-)
> https://npmjs.org/package/node-localstorage
>
> Cheers
>
> Andy
>
> --
> Andy Wenk
> Hamburg - Germany
> RockIt!
>
> http://www.couchdb-buch.de
> http://www.pg-praxisbuch.de
>
> GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
>
--
Lord, give us the wisdom to utter words that are gentle and tender, for
tomorrow we may have to eat them.
-Sen. Morris Udall
Re: Fauxton + Pouchdb
Posted by Andy Wenk <an...@nms.de>.
On 7 November 2013 03:15, Jens Alfke <je...@couchbase.com> wrote:
>
> On Nov 6, 2013, at 5:02 PM, bryan rasmussen <ra...@gmail.com>
> wrote:
>
> > Well no, that is the use of pouchdb in the browser, which is a good use,
> > this is pouchdb running in Node and I am just trying to get a feel for
> the
> > possible uses.
>
> PouchDB depends on the HTML5 local-database API. Is that even available in
> node.js?
>
at least local storage is not - it's client side only. And I am convinced
that the other storage systems (IndexDB ..) aren't either.
Just as a side note ... there is an npm for local storage in node ;-)
https://npmjs.org/package/node-localstorage
Cheers
Andy
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
Re: Fauxton + Pouchdb
Posted by Ryan Mohr <ry...@kumu.io>.
>From the readme:
> PouchDB uses various backends so it can work across various browsers and
in Node.js. It uses IndexedDB in Firefox and Chrome, WebSQL in Safari and
Opera and LevelDB in Node.js
https://github.com/daleharvey/pouchdb
On Wed, Nov 6, 2013 at 4:15 PM, Jens Alfke <je...@couchbase.com> wrote:
>
> On Nov 6, 2013, at 5:02 PM, bryan rasmussen <ra...@gmail.com>
> wrote:
>
> > Well no, that is the use of pouchdb in the browser, which is a good use,
> > this is pouchdb running in Node and I am just trying to get a feel for
> the
> > possible uses.
>
> PouchDB depends on the HTML5 local-database API. Is that even available in
> node.js?
>
> —Jens
Re: Fauxton + Pouchdb
Posted by Jens Alfke <je...@couchbase.com>.
On Nov 6, 2013, at 5:02 PM, bryan rasmussen <ra...@gmail.com> wrote:
> Well no, that is the use of pouchdb in the browser, which is a good use,
> this is pouchdb running in Node and I am just trying to get a feel for the
> possible uses.
PouchDB depends on the HTML5 local-database API. Is that even available in node.js?
—Jens
Re: Fauxton + Pouchdb
Posted by bryan rasmussen <ra...@gmail.com>.
Well no, that is the use of pouchdb in the browser, which is a good use,
this is pouchdb running in Node and I am just trying to get a feel for the
possible uses. The github repo talks of some uses but none of them are
useful to me. and it is that category of usefulness which is the one that
truly interests me.
Cheers,
Bryan
On Mon, Nov 4, 2013 at 9:22 PM, Andy Wenk <an...@nms.de> wrote:
> from pouchdb.com:
>
> "PouchDB was created to help web developers build applications that work
> equally as well offline as they do online. It enables applications to store
> data locally while offline, and synchronise it with CouchDB and compatible
> servers when the application is back online, keeping the user's data in
> sync no matter where they next login."
>
> Isn't it just that ;-)
>
> Cheers
>
> Andy
>
>
> On 4 November 2013 16:58, bryan rasmussen <ra...@gmail.com>
> wrote:
>
> > Aside from fauxton, what are the uses of pouchdb in Node.js? I see the
> > documentation talks about quick and dirty uses, or something about moving
> > to LevelUp?
> >
> > Anything else?
> >
> > The application I am working on is node.js for controller with data in
> > couchdb, I use nano to talk to couchdb,
> >
> > When I look at pouchdb and think of it running in there I think - maybe I
> > could be caching parts of my db there (but maybe that isn't at all
> > realistic - I was already thinking to use redis for caching already, and
> > redis is being to queue)
> >
> >
> > Thanks,
> > Bryan Rasmussen
> >
> >
> > On Mon, Nov 4, 2013 at 3:07 PM, Garren Smith <ga...@apache.org> wrote:
> >
> > > Hi All,
> > >
> > > We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> > > created a Pouchdb express.js server. Fauxton was always designed to be
> a
> > > modular web app which means we can include or exclude modules. In
> Pouchdb
> > > we removed all the modules that were not needed and just left standard
> > > database interactivity and replication.
> > >
> > > I thought with would be worth mentioning. Check it out.
> > > https://github.com/nick-thompson/express-pouchdb
> > >
> > > Cheers
> > > Garren
> > >
> > >
> >
>
>
>
> --
> Andy Wenk
> Hamburg - Germany
> RockIt!
>
> http://www.couchdb-buch.de
> http://www.pg-praxisbuch.de
>
> GPG fingerprint: 3B6D 07F8 8732 CD61 D078 EF7A 63BA 495D 0F15 F21F
>
Re: Fauxton + Pouchdb
Posted by Andy Wenk <an...@nms.de>.
from pouchdb.com:
"PouchDB was created to help web developers build applications that work
equally as well offline as they do online. It enables applications to store
data locally while offline, and synchronise it with CouchDB and compatible
servers when the application is back online, keeping the user's data in
sync no matter where they next login."
Isn't it just that ;-)
Cheers
Andy
On 4 November 2013 16:58, bryan rasmussen <ra...@gmail.com> wrote:
> Aside from fauxton, what are the uses of pouchdb in Node.js? I see the
> documentation talks about quick and dirty uses, or something about moving
> to LevelUp?
>
> Anything else?
>
> The application I am working on is node.js for controller with data in
> couchdb, I use nano to talk to couchdb,
>
> When I look at pouchdb and think of it running in there I think - maybe I
> could be caching parts of my db there (but maybe that isn't at all
> realistic - I was already thinking to use redis for caching already, and
> redis is being to queue)
>
>
> Thanks,
> Bryan Rasmussen
>
>
> On Mon, Nov 4, 2013 at 3:07 PM, Garren Smith <ga...@apache.org> wrote:
>
> > Hi All,
> >
> > We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> > created a Pouchdb express.js server. Fauxton was always designed to be a
> > modular web app which means we can include or exclude modules. In Pouchdb
> > we removed all the modules that were not needed and just left standard
> > database interactivity and replication.
> >
> > I thought with would be worth mentioning. Check it out.
> > https://github.com/nick-thompson/express-pouchdb
> >
> > Cheers
> > Garren
> >
> >
>
--
Andy Wenk
Hamburg - Germany
RockIt!
http://www.couchdb-buch.de
http://www.pg-praxisbuch.de
GPG fingerprint: 3B6D 07F8 8732 CD61 D078 EF7A 63BA 495D 0F15 F21F
Re: Fauxton + Pouchdb
Posted by bryan rasmussen <ra...@gmail.com>.
Aside from fauxton, what are the uses of pouchdb in Node.js? I see the
documentation talks about quick and dirty uses, or something about moving
to LevelUp?
Anything else?
The application I am working on is node.js for controller with data in
couchdb, I use nano to talk to couchdb,
When I look at pouchdb and think of it running in there I think - maybe I
could be caching parts of my db there (but maybe that isn't at all
realistic - I was already thinking to use redis for caching already, and
redis is being to queue)
Thanks,
Bryan Rasmussen
On Mon, Nov 4, 2013 at 3:07 PM, Garren Smith <ga...@apache.org> wrote:
> Hi All,
>
> We have have Fauxton working with Pouchdb on Node.js. Nick Thompson
> created a Pouchdb express.js server. Fauxton was always designed to be a
> modular web app which means we can include or exclude modules. In Pouchdb
> we removed all the modules that were not needed and just left standard
> database interactivity and replication.
>
> I thought with would be worth mentioning. Check it out.
> https://github.com/nick-thompson/express-pouchdb
>
> Cheers
> Garren
>
>