Workflow engine in Javascript [closed]

杀马特。学长 韩版系。学妹 提交于 2019-11-27 09:09:50

问题


Does anybody know a workflow engine (such as Spring WebFlow) for Javascript? We have a home-made framework that allows us to guide site navigation using JSON, but its quality is far from good.

Edit based on given answers: the engine must run on the browser and reduce to minimum the number of requests to the server.


回答1:


As suggested by katspaugh I'm posting the libraries I found as the answer. List of workflow libraries that I've found until now:

  • XState - https://github.com/davidkpiano/xstate
  • Workflow.js for Backbone.js https://github.com/kendagriff/workflow.js
  • Sprout Workflow Engine https://github.com/bstaats/workr
  • Javascript Finite State Machine https://github.com/jakesgordon/javascript-state-machine
  • State chart https://github.com/DavidDurman/statechart
  • machina.js https://github.com/ifandelse/machina.js
  • jWorkflow https://github.com/tinyhippos/jWorkflow
  • Stately https://github.com/fschaefer/Stately.js



回答2:


dataflo.ws

It's a JSON-based workflow engine. It features:

  • modular design
  • several useful built-in tasks (MongoDB, OAuth, RabbitMQ)
  • HTTP initiator with a router

Works on Node.js, in browsers (including IE9) and in PhoneGap.

GPLv3, code on GitHub: https://github.com/apla/dataflo.ws



来源:https://stackoverflow.com/questions/10414849/workflow-engine-in-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!