Xmla4js is a standalone javascript library that provides basic XML for Analysis (XML/A) capabilities, allowing javascript developers to access data and metadata from OLAP provides for use in rich (web) applications. Xmla4js can be used inside a webpage or in a server environment like node.js
10. https://github.com/rpbouman/xmla4js.git
Undogmatic and Flexible
● setOptions or pass config object per request
● Listeners vs Callbacks
● generic vs specific requests
● Synchronous vs asynchronous
● Programmatic vs raw requests / responses
● Bulk collection or manual iteration of results
● Collect results as arrays, objects or custom
● Iteration through iterators or loops
11. https://github.com/rpbouman/xmla4js.git
setOptions vs config object
var xmla = new Xmla({
url: "http://localhost:8080/pentaho/Xmla",
});
xmla.setOptions({
async: false,
requestTimeout: 30000
});
xmla.discoverDataSources({
async: false,
requestTimeout: 30000
});