CouchDB
  1. CouchDB
  2. COUCHDB-1894

Add experimental NodeJS query server

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: JavaScript View Server
    • Labels:
      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:

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Jan Lehnardt
          • Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development