adamfowleruk / mljs

MarkLogic REST API JavaScript wrapper for NodeJS and Browser Apps
http://adamfowleruk.github.io/mljs/apidocs/core/tutorial-all.html
Other
33 stars 19 forks source link

Core: Allow MLDB to be executed within a REST server hosted HTML+JavaScript app #31

Closed adamfowleruk closed 11 years ago

adamfowleruk commented 11 years ago

Currently we only support a Node.JS execution environment. It is possible to refactor MLDB so that it can be used by a NodeJS app and a HTML/JavaScript app in exactly the same way.

This would make authentication easier as the browser would already have a session (if in Digest/Basic mode), and you'd also get SSL for free with no futher development.

It would also mean you could built an MLDB web app UI without needing a NodeJS app in between the application and MarkLogic.

This will be required in future to develop REST API widgets easier than we do currently.