0.0.15 • Published 2 years ago

@druid-toolkit/core v0.0.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

npm version

@druid-tookit/core

A framework to make building applications that talk to Druid hassle-free.

Concepts

  ┌────────┐   ┌────────┐
  │ Store  │   │ Druid  │
  └────────┘   └────────┘
      ▲            ▲                                   ┌────────────────────────┐
      │ state      │ SQL                           ┌───┤  Visualization Module  │
      ▼            ▼                               │   └────────────────────────┘
  ┌─────────────────────┐                          │
  │                     │        register to       │   ┌────────────────────────┐
  │ Host                │ ◄────────────────────────┼───┤  Visualization Module  │
  │                     │                          │   └────────────────────────┘
  └──────────────┬──────┘                          │
                 │  ▲                              │   ┌────────────────────────┐
    renders with │  │      give new values         └───┤  Visualization Module  │
parameter values │  └─────────────────────────┐        └────────────────────────┘
                 │                            │
                 ├─────────────────────────┐  │
                 │                         │  │
                 │                         │  │
                 ▼                         ▼  │
 ┌────────────────────────┐       ┌───────────┴─────┐
 │ Selected module        │       │ Controls        │
 └────────────────────────┘       └─────────────────┘

Host

The host synchronizes different parts of your application. In other words, it acts as the model (by storing and persisting your application's state) and as the controller (by providing a variety of convenience functions to modify the state).

Visual Module

A visual module:

  • gives a SQL query (or several) and receives data
  • receives an HTML container and renders in it
  • gives parameters definitions and receives parameters values

License

Apache 2.0

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago