0.0.15 • Published 1 year ago

@druid-toolkit/core v0.0.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year 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

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago