1 | *dataflo.ws*: dataflow processing for javascript
|
2 | =============================================
|
3 |
|
4 | example
|
5 | -------------------------------
|
6 |
|
7 | you can see a working example by running
|
8 |
|
9 | npm install -g dataflo.ws
|
10 | cd $NODE_PATH/dataflo.ws/example/yql/ # example project directory
|
11 | dataflows daemon yql
|
12 |
|
13 | abstract
|
14 | -------------------------------
|
15 |
|
16 | every application is based on series of dataflows. if your dataflow is written
|
17 | in a program code, you have a problem. people don't want to screw up, but
|
18 | they do. `dataflo.ws` is an abstract async processing framework for describing
|
19 | dataflows in simple configuration.
|
20 |
|
21 | you can use a dataflow for description of programmatic dataflows. or real life ones.
|
22 |
|
23 | add DSL by your own taste.
|
24 |
|
25 | quick start
|
26 | -------------------------------
|
27 |
|
28 | install dataflows:
|
29 |
|
30 | `npm install -g dataflo.ws`
|
31 |
|
32 | create dataflows project
|
33 |
|
34 | ```
|
35 | DFPROJECT=my-project-name
|
36 | mkdir $DFPROJECT
|
37 | cd $DFPROJECT
|
38 | dataflows init
|
39 | ```
|
40 |
|
41 | create an dataflows script
|
42 |
|
43 | `dataflows create script my-script-name`
|
44 |
|
45 | create a dataflows task class
|
46 |
|
47 | `dataflows create class my-class-name`
|
48 |
|