Javascript 中的工作流引擎

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10414849/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 01:12:42  来源:igfitidea点击:

Workflow engine in Javascript

javascriptworkflowstate-machine

提问by eabait

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.

有人知道用于 Javascript 的工作流引擎(例如 Spring WebFlow)吗?我们有一个自制的框架,可以让我们使用 JSON 来指导站点导航,但它的质量很差。

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

根据给定的答案进行编辑:引擎必须在浏览器上运行,并将对服务器的请求数量减少到最低限度。

回答by eabait

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

正如 katspaugh 所建议的,我发布了我找到的库作为答案。到目前为止我发现的工作流库列表:

回答by katspaugh

dataflo.ws

数据流

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

它是一个基于 JSON 的工作流引擎。它的特点是:

  • modular design
  • several useful built-in tasks (MongoDB, OAuth, RabbitMQ)
  • HTTP initiator with a router
  • 模块化设计
  • 几个有用的内置任务(MongoDB、OAuth、RabbitMQ)
  • 带有路由器的 HTTP 启动器

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

适用于 Node.js、浏览器(包括 IE9)和 PhoneGap。

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

GPLv3,GitHub 上的代码:https: //github.com/apla/dataflow.ws