You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Miles Fidelman <mf...@meetinghouse.net> on 2012/02/23 03:10:26 UTC
Hybrid HTML5 WebApp / CouchApp - guidance sought
Hi Folks,
I'm looking at building a data management application that's essentially
a hybrid of an HTML5 WebApp (taking advantage of the App Cache and local
data storage for disconnected operation) and a CouchApp (doing fancier
stuff, data sharing, replication, etc. on one or more server-side
CouchDB installations). If you think of a collection of linked
spreadsheets - where each spreadsheet "lives" in CouchDB, but can be
cached, viewed, and edited in-browser when disconnected - you won't be
far off.
My questions: Are there any good examples of applications that are
already doing this kind of thing? Are there any good frameworks or
libraries that I should be focusing on?
Thanks very much,
Miles Fidelman
--
In theory, there is no difference between theory and practice.
In practice, there is. .... Yogi Berra
Re: Hybrid HTML5 WebApp / CouchApp - guidance sought
Posted by Luscus Readbeard <lu...@googlemail.com>.
Hello Gregor,
I would love to get some ideas about authentication and node.js...
I am new to all the stuff (CouchDB, node.js, node.couch.js for
something like triggers using _changes).
I was looking at a row of CouchDB plugins for authentication (open-id,
browser-id,...) but didn't try them yet - I have still some data to
crunch about the basics.
Why did you chose a node.js based way?
Cheers,
Yann
On 27 February 2012 12:17, Gregor Martynus <gr...@martynus.net> wrote:
> Miles,
>
> I build minutes.io with a similar approach. You can use it when being offline, synchronization with the couchApp backend is happening in the background.
>
> I don't think there is a library I'd recommend to use for such an architecture, not yet. Maybe have a look at
> https://github.com/mikeal/browsercouch and https://github.com/mikeal/pouchdb
>
> I use backbone.js myself for the frontend and store all data in localStorage, which gets synched asynchronously using _changes feed and _bulk_docs API. I also use a tiny node.js proxy for security reasons and for some couchDB tasks like creating User Databases and Replications.
>
> I'm happy to answer any questions if you have any
>
> --
> Gregor
>
>
> On Thursday, 23. February 2012 at 03:10, Miles Fidelman wrote:
>
>> Hi Folks,
>>
>> I'm looking at building a data management application that's essentially
>> a hybrid of an HTML5 WebApp (taking advantage of the App Cache and local
>> data storage for disconnected operation) and a CouchApp (doing fancier
>> stuff, data sharing, replication, etc. on one or more server-side
>> CouchDB installations). If you think of a collection of linked
>> spreadsheets - where each spreadsheet "lives" in CouchDB, but can be
>> cached, viewed, and edited in-browser when disconnected - you won't be
>> far off.
>>
>> My questions: Are there any good examples of applications that are
>> already doing this kind of thing? Are there any good frameworks or
>> libraries that I should be focusing on?
>>
>> Thanks very much,
>>
>> Miles Fidelman
>>
>> --
>> In theory, there is no difference between theory and practice.
>> In practice, there is. .... Yogi Berra
>>
>>
>
>
Re: Hybrid HTML5 WebApp / CouchApp - guidance sought
Posted by Gregor Martynus <gr...@martynus.net>.
Miles,
I build minutes.io with a similar approach. You can use it when being offline, synchronization with the couchApp backend is happening in the background.
I don't think there is a library I'd recommend to use for such an architecture, not yet. Maybe have a look at
https://github.com/mikeal/browsercouch and https://github.com/mikeal/pouchdb
I use backbone.js myself for the frontend and store all data in localStorage, which gets synched asynchronously using _changes feed and _bulk_docs API. I also use a tiny node.js proxy for security reasons and for some couchDB tasks like creating User Databases and Replications.
I'm happy to answer any questions if you have any
--
Gregor
On Thursday, 23. February 2012 at 03:10, Miles Fidelman wrote:
> Hi Folks,
>
> I'm looking at building a data management application that's essentially
> a hybrid of an HTML5 WebApp (taking advantage of the App Cache and local
> data storage for disconnected operation) and a CouchApp (doing fancier
> stuff, data sharing, replication, etc. on one or more server-side
> CouchDB installations). If you think of a collection of linked
> spreadsheets - where each spreadsheet "lives" in CouchDB, but can be
> cached, viewed, and edited in-browser when disconnected - you won't be
> far off.
>
> My questions: Are there any good examples of applications that are
> already doing this kind of thing? Are there any good frameworks or
> libraries that I should be focusing on?
>
> Thanks very much,
>
> Miles Fidelman
>
> --
> In theory, there is no difference between theory and practice.
> In practice, there is. .... Yogi Berra
>
>