Code Monkey home page Code Monkey logo

node-palo's Introduction

palo client for node.js

Note: this document is just a draft, actual coding is still in an early stage.

Node_palo is a database module for node.js that connects to a Palo database server. It's easy to implement in a project with middleware like express to create (single page) webapplications aimed at data analysis, budgetting or reporting.

Features include:

  • Act as a proxy to a palo server, allowing access on any http port
  • Conversion of CSV server results to JSON objects, with optional column mapping
  • Custom authentication and authorization (ACL)
  • Create custom methods to build complex datastructures serverside, then send to client

What is Palo?

Jedox Palo is an in memory online analytical processing (MOLAP) database that is available with both an open source and a commercial license. Node_palo is tested with a default compile of the latest open source version of Palo.

Usage

Test from a node console:

var palo = require('palo');
var paloUrl = 'http://localhost:7777/server/login?user=test&password=test';
palo.call(paloUrl, console.log);

Result: { success: true, data: [ [ 'HJvn', '3600' ] ], statusCode: 200, headers: { 'x-palo-sv': '1977569839' } }

TODO: Show usage with node htpp or express

TODO

  • Create parameter bindings for the server results
  • Options for palo.get
  • Find caveats in palo server results. For some server methods the nr of columns returned seem to vary. Parsing of results must be adapted accordingly.

Eventually:

  • Create a jQuery plugin (jquery.palo.js) for the client side with convenient ajax method, csv to json conversion and more
  • Create another project called palo_explorer which offers a nice web UI for palo server administration; build on express, node_palo, ?
  • Redis cache (palo-server has a cache token mechanism)
  • Custom authentication and ACL (palo-acl can be cumbersome) to hide palo sid from user (and cache the sid)

Documentation

node-palo's People

Contributors

zwippie avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.