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
15
votes
5 answers

Is there a simpler Couchapp than Couchapp?

Specifically, I am finding "evently" to be a bit of a hurdle to getting started with Couchapp. I really like the idea of an App served from CouchDB, but I want to get started without having to figure out "evently" ( which looks very interesting,…
Nick Perkins
  • 8,034
  • 7
  • 40
  • 40
14
votes
1 answer

null key in from map/reduce result in couchdb

For some reason I'm only getting a null key from map/reduce result in couchdb on mac Result: {"rows":[ {"key":null,"value":2224} ]} Im using couchapp v8.1 and couchdb v1.0.2 My map function is: function(doc) { emit(doc.doc_type, 1); } My…
Up.
  • 959
  • 11
  • 20
13
votes
1 answer

CouchApp user registration

I'm building a standalone couchdb application. These are called couchapps. The idea is that the database itself is served on port 80 and returns HTML and works as the actual website. This is a very powerful idea and I'm entirely amazed by this new…
Luca Matteis
  • 29,161
  • 19
  • 114
  • 169
12
votes
2 answers

Is CouchDB per-user database approach feasible for users with lots of shared data?

I want to implement a webapp - a feed that integrates data from various sources and displays them to users. A user should only be able to see the feed items that he has permissions to read (e.g. because they belong to a project that he is a member…
Tomas Brambora
  • 1,056
  • 8
  • 17
10
votes
3 answers

How to Write Unit Tests for Kanso

I've written a lot of django applications and become accustomed to extending unittest.TestCase and running python manage.py test app_name. Is there a similarly simple way to unit test Kanso apps? Please provide a minimal example. Thanks.
nrw
  • 819
  • 2
  • 7
  • 22
9
votes
1 answer

Session and security in CouchApp/CouchDB?

I'm new to CouchApp and CouchDB and have some questions. How can I make sessions in CouchApp from my own database (not _users)? How would I retrieve that session? How can I parse data from a document? I can do it with a view, but when someone…
Egy Mohammad Erdin
  • 3,402
  • 6
  • 33
  • 57
9
votes
2 answers

CouchApp vs Node.js

On the frontend Im using Sproutcore. The question is how the backend is going to look like. Solutions: CouchApp Node.js between Sproutcore and CouchDB Could CouchApp really replace Node.js on the backend…
ajsie
  • 77,632
  • 106
  • 276
  • 381
9
votes
1 answer

Advanced permissions with couchdb

We have a couchapp application with multiple users and a complex system of permissions. Our models are of two kinds: Foo and bar. Users have admin access to their own Foo and Bar, and can be given permission to see, change and delete other people's…
Matteo Suppo
  • 344
  • 1
  • 4
  • 13
8
votes
2 answers

Learning resources for Couchapp, Mustache.js, Evently, CouchDB

What are some of the good learning resources that you have come across aiding your application development in CouchApp stack including Evently and Mustache.js?
karthiks
  • 7,049
  • 7
  • 47
  • 62
8
votes
1 answer

Difference between show and list functions

What is the difference between a show and a list function and what is the purpose for them? I'm studying CouchDB right now and reading bunch of different tutorials for CouchDB but this question never was explained carefully. (at least I didn't find…
Kuepper
  • 992
  • 13
  • 39
8
votes
2 answers

User Signup in Couchapp/CouchDB through jquery.couch.js or Otherwise

Background Right now, I'm trying to build an app with couchDB/couchapp that would store persistent and crucial information from the user, and am stuck on the steps required for user signup with couchapp. Essentially, what I want to do is to have a…
Tan Yew Wei
  • 201
  • 1
  • 2
  • 5
7
votes
1 answer

CouchDB: Single document vs "joining" documents together

I'm tryting to decide the best approach for a CouchApp (no middleware). Since there are similarities to my idea, lets assume we have a stackoverflow page stored in a CouchDB. In essence it consists of the actual question on top, answers and commets.…
user673046
7
votes
1 answer

CouchDB / NoSQL and Domain Driven Design?

Doing some research in getting ramped up for a CouchApp project. I understand the concept of a Document Data Store vs a regular RDBMS. And I can totally grasp modeling documents and views instead of using WHERE and JOIN statements. But I haven't…
baseman
  • 173
  • 1
  • 11
6
votes
1 answer

Getting url for an attachment

I'm using CouchApp to build an easy web application that allows to upload and manage pictures. The actual image file is stored as attachment to the doc like show below. { "_id":"09fe82d75a26f9aa5e722d6b220180d2", …
Kuepper
  • 992
  • 13
  • 39
6
votes
3 answers

Couchapp directory structure, updates?

when generating a new couchapp, I get this structure: appname ├── _attachments │   └── style ├── evently │   ├── items │   │   └── _changes │   └── profile │   └── profileReady │   └── selectors │   └── form ├── lists ├──…
chris polzer
  • 3,219
  • 3
  • 28
  • 44
1
2 3
14 15