This page contains links to demos, articles, and other information related to the project. If you have something to add, please fork this project and send a pull request with your changes.



Generic Client in Javascript

Source code:

This demo shows how the Barrister JSON IDL can be used at runtime to create forms for any Barrister service. The client code in this demo knows nothing about any particular service. Instead, given any valid endpoint URL, it loads the IDL, then lists the interfaces and functions that are available. When a function is clicked, the input parameters for that function are displayed in a HTML form.

This demonstrates that Barrister can provide auto-discovery features at runtime that can be useful for writing generic clients and diagnostic tools.