Want to see pretty graphs? Log in now!
npm install noflo
|52||downloads in the last day|
|320||downloads in the last week|
|902||downloads in the last month|
|Last Published By|
|Version||0.5.0 last updated 20 days ago|
|Keywords||fbp, workflow, flow|
|Dependencies (9)||shell, cli, cli-color, underscore, read-installed, npmlog, coffee-script, fbp, eval|
noflo-git, noflo-test, noflo-graphviz, noflo-docco, noflo-restfulmetrics, noflo-woute, noflo-twitter, noflo-core, noflo-kinvey, noflo-swiss, noflo-pgorm, noflo-flow, noflo-cad, noflo-automaton, noflo-websocket, noflo-strings, noflo-facebook, noflo-liquid, noflo-adapters, noflo-xml,
and 49 more
|Starred by||devonning, mabotech, mhaidarh, mikeumus, strathausen|
In computer science, flow-based programming (FBP) is a programming paradigm that defines applications as networks of "black box" processes, which exchange data across predefined connections by message passing, where the connections are specified externally to the processes. These black box processes can be reconnected endlessly to form different applications without having to be changed internally. FBP is thus naturally component-oriented.
Developers used to the Unix philosophy should be immediately familiar with FBP:
This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.
It also fits well in Alan Kay's original idea of object-oriented programming:
I thought of objects being like biological cells and/or individual computers on a network, only able to communicate with messages (so messaging came at the very beginning -- it took a while to see how to do messaging in a programming language efficiently enough to be useful).
Read more at http://noflojs.org/.
Requirements and installing
NoFlo is available for Node.js via NPM, so you can install it with:
$ npm install -g noflo
You can customize and download the browser version of NoFlo at http://noflojs.org/download/.
Installing from Git
NoFlo requires a reasonably recent version of Node.js, and some npm packages. Ensure you have the
grunt-cli package installed (
grunt command should be available on command line) and NoFlo checked out from Git. Build NoFlo with:
$ grunt build
You can also build NoFlo only for the desired target platform with either grunt build:nodejs or grunt build:browser.
Then you can install everything needed by a simple:
$ npm link
NoFlo is available from GitHub under the MIT license.
Please refer to http://noflojs.org/documentation/.
NoFlo development happens on GitHub. Just fork the main repository, make modifications and send a pull request.
We have an extensive suite of tests available for NoFlo. Run them with:
$ grunt test
$ npm test
By default, the tests are run for both Node.js and the browser. You can also run only the tests for a particular target platform:
$ grunt test:nodejs
$ grunt test:browser
Running tests automatically
The build system used for NoFlo is also able to watch for changes in the filesystem and run the tests automatically when something changes. To start the watcher, run:
$ grunt watch
To quit thew watcher, just end the process with Ctrl-C.
Flow-based programming in general, including NoFlo can be discussed on the Flow Based Programming Google group.
There is also an IRC channel
#fbp on FreeNode.