Questions tagged [couchapp]

CouchApps are JavaScript and HTML5 applications served directly from CouchDB.

CouchApps are JavaScript and HTML5 applications served directly from CouchDB.

224 questions
6
votes
2 answers

How to create a users database in a couchapp with per user database security model? (per document read access)

Hi I read about two ways for implementing per-document read access for couchapps: Each user gets his own database which contains only data this user is allowed to read. Then all users write to a master database that replicates to all user databases…
Dominik Goltermann
  • 4,276
  • 2
  • 26
  • 32
6
votes
2 answers

CouchApp without Server side or CouchDB backend with xdomain issues?

I have been playing with CouchDB and CouchApp for a little while now. I am planning on using it for a new web site project I'm working on. From a scalability viewpoint I love the idea of CouchApp. The downside is that with no server side code there…
dworrad
  • 709
  • 8
  • 14
5
votes
1 answer

Secure client-side couchApp / couchDB user authentication

Background research: User Signup in Couchapp/CouchDB through jquery.couch.js or…
jigritsn
  • 63
  • 2
  • 6
5
votes
1 answer

CouchDB: Get server-time with an http request in CouchApp

I need the server-time for "user-is-online" stats in my CouchApp. I work with jquery.couch.js and would prefer to have a url, e.g. /db/_design/app/time - which gets me a timestamp. How do I realize this?
jukempff
  • 965
  • 6
  • 12
5
votes
2 answers

Is Couchapp a realistic substitution for a web framework?

Assuming you're going to use couchdb, is it realistic to try to just use couchapp in place of django, rails, or asp.net mvc? What would be the benefits and drawbacks?
Joe Webb
  • 63
  • 2
5
votes
2 answers

Is it possible to make CouchApp send requests autonomously?

I want to write very simple app, witch monitors states of some sites. I also want to make it in Couchapp style without using any environment except CouchDB. So the question is how I can make CouchApp send sites requests using some schedule by…
Dmitrii Dushkin
  • 3,070
  • 4
  • 26
  • 37
5
votes
2 answers

Problem listing documents in a CouchApp

I am in a bit of trouble as I am not able to find resources and/or tutorials that give me enough knowledge how to do this properly: I am building a Couchapp uppon a contact database. For this I need to have a unordered list of the contacts(only the…
chris polzer
  • 3,219
  • 3
  • 28
  • 44
5
votes
3 answers

CouchDB - any alternatives to CouchApp?

So I've been reading about CouchDB lately, and I REALLY like it. It seems so simple, yet flexible and I LOVE the RESTful interface. But let's face it - unless you're building a SAP, you'll want your application to serve static HTML with SEO-friendly…
goodpixels
  • 503
  • 1
  • 5
  • 20
5
votes
2 answers

how to get jquery.couch.app.js to work with IE8

I have tested this on Windows XP SP3 in IE7 and IE8 ( in all compatibility modes ) and Windows 7 Ultimate in IE8 (in all compatiblity modes) and it fails the same way on both. I am running the latest HEAD from the the couchapp repository. This works…
user177800
5
votes
2 answers

How to use Futon and push a couchapp to a CouchDB which uses a vhost?

I have a CouchDB server which hosts a small website. For this reason, I set up a vhost section in the CouchDB configuration, so that a request to: domain.com will be "re-written" to domain.com/site/_design/app/_rewrite ... as explained in this post…
Renato
  • 12,940
  • 3
  • 54
  • 85
4
votes
1 answer

How do I limit a CouchApp's access to CouchDB's `_user` table?

I'd like to get some advice on how to structure the user data for my CouchDB application. Here's what we're building: We are creating a suite of applications (mostly leveraging the video api of html5) that train people on different skills. We're…
Costa Michailidis
  • 7,691
  • 15
  • 72
  • 124
4
votes
1 answer

how to reference database item attachments in couchapp

I'm learning couchapp and it looks pretty easy to query database items. But I have items with attachments, and I'd like to add hyperlinks to the attachments: {{description}} I can get id,…
Jason S
  • 184,598
  • 164
  • 608
  • 970
4
votes
2 answers

How does a user login to a couchapp that has a reader role defined?

I deployed my application via Couchapp, which means that the whole application is being served out of the database. I don't want the data in the Couchdb database to publicly available, so I specified a reader role that a user must have before I…
jaketrent
  • 1,173
  • 11
  • 25
4
votes
2 answers

Trouble with getting a CouchApp to output the correct mime type for an appcache

So in CouchDB, you can supposedly change mime types. In Futon you just have to go and edit the source of the document and change the content_type field on attachments in the _attachment field. Trouble is, when I do this so that an appcache file has…
arjs
  • 2,835
  • 4
  • 22
  • 18
4
votes
3 answers

CouchDB Replication to and from Android

I'm new to Android and CouchDB and have a few questions. Is it actually possible to replicate the contents of a Windows CouchDB database to Android without developing some sort of app? CouchApp is installed on my Motorola Defy and it says CouchDB is…
degeeman
  • 135
  • 1
  • 6
1
2
3
14 15