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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Unidirectional user interface architectures

30 点作者 Stamy将近 10 年前

5 条评论

stardrive将近 10 年前
What a fantastic overview of the past, present and future of UI flow and structure! There is a real need to step back and consider the available architectures and to build forward to a more natural and synergistic solution like Cycle.js.org.<p>I Really like the third diagram in the Nested Dialogues section and where it says &quot;The wiring of Observables between layers of Dialogues is a data flow graph&quot;. This reveals that interactive event flow is primary and is what drives a UI, weaving through components like the nervous system does in the human anatomy.<p>In the diagram we are looking at an emerging and clear way of defining app flows and structures. There is potential here for a drag and drop IDE editor where the over all app can be architected and generated.
评论 #10117390 未加载
kirilloid超过 9 年前
The overview is really great, but I think you only scratched the the surface. With ambitious task to cover such a broad topic, it&#x27;s hard to go into all details in one post w&#x2F;o making it unreasonably long. So great work on bringing attention to this topic.<p>I feel some need for code examples as well [as other commenters], but I&#x27;m afraid the post would be bloated with them. Maybe, it&#x27;s worth expanding that into a series of posts - one per architecture&#x2F;approach.<p>Another idea to improve expressiveness of the post would be to draw e.g. ol&#x27;good MVC pattern for comparison. But since your article is targeted for people familiar with the subject, that piece of advice might be not very useful.<p>As for conclusion, I think I cannot completely agree. It seems for me a little like a &quot;silver bullet&quot; solution. On top of that, looking at charts, I can think about a potential problem. Proposed solution requires a lot of internal wiring, which can result in a bunch of glue code.<p>I think that different solutions suit different application patterns. E.g. ones go well with -bacon and cheese- unconnected models&#x2F;stores, the others benefit from centralized data hub.<p>You&#x27;ve started a really interesting topic, but we need to go further. We can benefit more from a deeper analysis.
serapath将近 10 年前
Can something like a basic `cycle.js` be built using node streams? I once listened to a podcast with timoxley, where he said, that node streams are basically very similar, but while streams have flow control built-in, FRP libraries give more functionality out of the box. But I think more and more streaming modules are getting added constantly to npm, so eventually I can get to the same feature set using a collection of streaming modules. Does that make sense?
评论 #10120408 未加载
serapath将近 10 年前
Nice, but even though, the pictures are very nice to look at, it would be very awesome to write down some little javascript scaffold code to better link the pictures to real parts of the code. How do they look like? :-)<p>Otherwise, thanks for this great and very inspirational post
Frikki将近 10 年前
Informative and brilliant.