TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Existing framework to build/control a UI from a workflow?

1 点作者 bbatchelder超过 3 年前
Before I build something myself, I wanted to check if there is anything already out there that does this.<p>Essentially want to build custom apps by designing them in a visual workflow builder to define the interactivity.<p>Imagine being able to drag a &quot;Prompt&quot; activity, define the content you want to display to the user, and the options for how the user can respond (ex: show Yes&#x2F;No buttons, or other choices), and then have a decision activity that can evaluate what the user chose and branch to some other UI - like another prompt dialog, or a file upload dialog, or a form, etc etc.<p>The more activities that you implement the richer the app you could build.<p>Right now I am leaning towards using &quot;node red&quot; as the workflow engine, and building a bunch of custom nodes that represent all the UI functionality I want - and then implementing an app host in Angular or React that will integrate with the workflow - probably via web socket messages.<p>So at the end of the day, this App Host UI is receiving commands from the workflow as far as what content to display to the user, and then sending back what the user is doing with the UI to the workflow so it can send follow up commands.

暂无评论

暂无评论