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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Guava's EventBus - Simple Publisher/Subscriber

8 点作者 rlmw超过 13 年前

3 条评论

mattgreenrocks超过 13 年前
The event bus is one of my very favorite architecture patterns.<p>It usually ends up in most desktop apps I write that have a UI. There's just too much to love about them. In languages with method annotations (or something similar), the wiring process can be almost entirely automatic.
timf超过 13 年前
I would usually use Akka for that kind of thing: <a href="http://akka.io" rel="nofollow">http://akka.io</a> (I've rolled my own before, too)
rpeden超过 13 年前
GWT has had a similar EventBus class for a while that works well on both the server and client sides of an app.
评论 #3096805 未加载