Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1894

Add experimental NodeJS query server

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • JavaScript View Server
    • None

    Description

      Let’s clean up and merge Jason Smith’s Node.js query server into ASF land and ship it as opt-in and experimental.

      I’ve prepared a branch that does the following:

      • remove fancy extra features like app server handlers and the visual debugger support for now
      • make it a drop-in replacement for couchjs
      • bundle the code in src/couchjs-node
      • add a new query server language “nodejs” that people can use
      • include sandbox.js from https://github.com/KlausTrainer/sandbox.js (not hooked up yet)

      The query server is not installed by default and users can install them in two ways:

      1. from source:

      $ cd src/couchjs-node
      $ npm link

      2. from NPM:

      $ npm install couchjs # add @1.x.x for once the module mirrors CouchDB version numbers for forward compat)

      And then they can uncomment and update the [query_server] line in local.ini.

      • * *

      Open work items on the view server:

      Attachments

        Activity

          People

            Unassigned Unassigned
            jan Jan Lehnardt
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: