facade is a rewrite sample application. It exposes MarkLogic Server by implementing a small subset of the CouchDB HTTP API. The objective of
facade is to demonstrate how to use rewrite to create a JSON backed web-service. Simple decisions were made in implementing the service and it should not be regarded as an real MVC implementation. In fact the code needs serious refactoring.
In the future
facade could be used as a compatibility layer between MarkLogic Server and CouchDB, leveraging drivers and replication amongst each other. At this point that is not the objective of the project.
Create a MarkLogic HTTP AppServer and configuration make
rewrite.xqy the default rewriter script.
You can now visit create databases and documents using futon by accessing
/_utils/ (e.g. localhost:8953/_utils/)
Think the documentation sucks? Think the performance is crap? Think
facade is cool but is missing feature X? Then contribute to the project.
dscapeon github talking about what you want to accomplish.
- Fork facade in github
- Create a new branch -
git checkout -b my-branch
- Develop/fix the functionality
- Test your changes
- Commit your changes
- Push to your branch -
git push origin my-branch
- Create an pull request
Running the tests
To run the tests simply access
(assuming 127.0.0.1 is the host and 8090 is the port)
Make sure all the tests pass before sending in a pull request!
Report a bug
If you want to report a bug please file a issue.
git clone git://github.com/dscape/facade.git
- Home: http://github.com/dscape/facade
- Discussion: http://convore.com/marklogic
- Bugs: http://github.com/dscape/facade/issues
(oO)--',- in caos