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
0
votes
1 answer

Which framework for a web portal accessing a couchDB?

I'll soon have to develop a web portal accessing a couchDB. Of course, I have done some research already, however I'm not sure if my ideas will work out. I will have an existent couchDB. There will probably only be one user available which gets…
Blacklight
  • 3,809
  • 2
  • 33
  • 39
0
votes
1 answer

jQuery CouchDB request returns "created" but document not added to database

I'm using jquery.couch.js to write a document to my CouchDB. I've taken care of parsing the JSON data and getting the request ready. When my script actually sends the $.couch.db.saveDoc() command, I get a 201 Created response code for my post…
user1113883
0
votes
1 answer

couchapp does not generate loader.js

I'm trying to use couchapp to manage my CouchDB application, but it's missing a crucial file after generating the project, loader.js. It looks like this is an existing issue (for the last 6 months) that hasn't been addressed by the couchapp team.…
Matt Norris
  • 8,596
  • 14
  • 59
  • 90
0
votes
1 answer

Newer CouchDB/Sofa Tutorial

Is there a newer version of the Sofa tutorial for CouchDB? I'm trying to follow the examples given in the text, but they are wildly different than the Sofa source code cloned from http://jchrisa.net/drl/_design/sofa. If not, are any other…
Matt Norris
  • 8,596
  • 14
  • 59
  • 90
0
votes
1 answer

couchapp+evently: _init/data.js and $$(this)

I'm reading the couchapp tutorial http://couchapp.org/page/evently-do-it-yourself-ii-state and am confused on two points (I don't like being told answers without knowing why they are what they are): $ cat data.js function(e) { $$(this).toppings =…
Jason S
  • 184,598
  • 164
  • 608
  • 970
0
votes
1 answer

JQuery TypeError in CouchDB OpenDoc function

Though I use CouchDB-specific JQuery verison, the problem can appear to be not related to CouchDB. There is a list of document id's, and I'm using openDoc function from the docs to retrieve a document when user clicks the…
martinthenext
  • 1,308
  • 1
  • 15
  • 28
0
votes
1 answer

Combine _attachment files as a preprocessing step in a couchapp

I have a couchapp with the following structure in the _attachments directory: _attachments/ |-- code | |-- model.js | |-- primary.js | |-- router.js | `-- view.js |-- index.html `-- style `-- main.css When I run couchapp push, I want…
tephyr
  • 1,001
  • 2
  • 14
  • 26
0
votes
1 answer

Bundling couchdb with android app

I am following the instructions here http://www.couchbase.org/get/couchbase-mobile-for-android/current After I start an instance of Couchdb, how do I push a couchapp from my machine to the emulator ?
Neha
  • 77
  • 6
0
votes
1 answer

Lightweight web server with distributed database better than couchapp?

My company is developing a novel browser-based user interface so I need a "back end" to store some data. Currently we're using a few PHP scripts and MySQL on a local (client) installation of WAMP. The user interface will use the browser to talk to…
blokeley
  • 6,726
  • 9
  • 53
  • 75
0
votes
1 answer

Couchapp - Removing a document from couchdb

I am new to JQuery and just trying to get a feel of Couchapp by following this I came up with this so far - I have two documents created in db 'addressbook' curl -X PUT http://127.0.0.1:5984/addressbook curl -X PUT…
Johnbabu Koppolu
  • 3,212
  • 2
  • 22
  • 34
0
votes
1 answer

couchapp: query with a key?

Could someone point me to an example of a Couchapp application that queries a view with a key based on user input from an HTML form? I can't seem to either figure out how to do this or find an example on my own via google.
Jason S
  • 184,598
  • 164
  • 608
  • 970
0
votes
2 answers

What are all the methods of $.couch that CouchApp simplifies?

Based on screencasts and tutorials across the web, I realized that when compared to fetching data like this: $.couch.db("addressbook").view("addressbook/phonenumbers", { success: function(data) { for (i in data.rows) { id =…
pulkitsinghal
  • 3,855
  • 13
  • 45
  • 84
0
votes
1 answer

Is there documentation available for jquery.couch.app.js?

Does anyone know if there is documentation available for: jquery.couch.app.js I see it getting used in plenty of couchapps that I have the source for but as I read through them trying to figure out what is & isn't available to the callback methods…
pulkitsinghal
  • 3,855
  • 13
  • 45
  • 84
0
votes
0 answers

Coach marks jetpack compose Android

everybody I need to do a coach mark in jetpack compose, can anybody helpme Hello, everybody I need to do a coach mark in jetpack compose, can anybody helpme
0
votes
1 answer

Mustache with JSON do not execute the function

I'm trying to create couchapp with jquery, mustache and sammy. There will be several pages and I will generate them like this: $(function () { var $db = $.couch.db('test'); var app = $.sammy(function () { this.get('#/', function () { …
Michal
  • 1
  • 2