Giter Site home page Giter Site logo

rete-simple-render-example's Introduction

ReteJS experiment

Tiny ReteJS example which works without Vue.

When is this lib useful for you?

  • understand how ReteJS works
  • create a different render engine
  • create other plugins

Usage

npm i

Host index.html with apache, or

npm install http-server -g then

http-server

Motivations

  • I needed a way to program flow based graphics in JS
  • Looked promising as it's written in Typescript.
  • Bundler: I wanted something that runs without a bundler
    • Does with my renderer

Findings

Documentation: The engine and core are technically undocumented, zero comments in the source code. It took me quite some hours figuring out how can I just simply create a different front-end.

Event Driven: I do not really understand the benefits of being designed this way just yet although I did not stress test it.

Performance: the examples I found were working with one global 'process' event, which then triggered the evaluation the graph, by first converting it to an object. That's kind of missing the concept and benefits of this structure e.g. circling down of data changes only to the relevant parts of the graph. But I might be missing something there.

MV?M Pattern: The separation of the engine and the front end is nice in concept, but many times I felt I have to hack the Core->View data-flow into my components.

Alternatives

  • ThreeNodes.js: ThreeJS flow editor written in Coffee Script
  • NoFlo JS: created a protocol standard and migrated it to embedded systems too. Looks like they are making a world-solver-machine.

rete-simple-render-example's People

Contributors

symunona avatar

Watchers

 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.