如何编写 Google Wave 富客户端?
我不确定我的问题是否有意义。 Google Wave 使用的是 HTML 5 等。 但是,如果我有一个桌面(例如 winforms)应用程序,我可以利用 google Wave 进行协作/讨论吗?这还有道理吗? 如果有的话,API 是什么?
I am not sure my question makes any sense.
Google Wave is using HTML 5 and such.
But if I have a desktop (say winforms) application, can I leverage google Wave for collaboration/discussion? Does it even make sense?
If so, what's the API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
是的,一旦有人编写了支持 Wave 协议的 .NET 库,您就可以做到。
Wave 实际上只是 XMPP(jabber、google talk 等)的扩展,因此在某些时候拥有厚客户端实现是有意义的。当然,谷歌正在将其作为网络应用程序推出。
我不知道有什么实现,但我确信某个地方有人正在研究它。
Yes you can once someone writes a library for .NET that supports the wave protocol.
Wave is really just an extension to XMPP (jabber, google talk, etc.), so it makes sense to have a thick client implementation at some point. Google of course, is pushing it as a web app.
I don't know of any implementations off of the top of my head, but I'm sure that someone somewhere is working on it.
Google 发布了联合协议,让您可以编写自己的 Wave 服务器并让它们与 Google 的通信。
他们还提供嵌入 API,让您可以将 HTML 内容放入 Wave 中,并将 Wave 放入您的HTML 内容。
不过,这些都无法让您到达您想要的位置,因为 Google 浏览器内的 Wave 客户端及其 Wave 服务器的通信方式仍然是专有的,而这正是您所寻找的。
你的答案是“这根本没有意义”。您最好构建自己的聊天支持,然后将其连接到 Wave。
Google has released a federation protocol that lets your write your own Wave servers and have them talk to Google's.
They also have embedding APIs that let you put your HTML content in Wave and put Wave in your HTML content.
Neither of these get you where you want, though, because the way that Google's in-browser Wave client and their Wave servers talk is still proprietary, and that's what you're looking for.
Your answer is "it doesn't even make sense". You'd be better off building your own chat support and then connecting it to Wave later on.
回答我自己的问题:
有一个Java客户端:com.google.wave.api:
http: //wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/package-tree.html
Answering my own question:
There is a Java client: com.google.wave.api:
http://wave-robot-java-client.googlecode.com/svn/trunk/doc/com/google/wave/api/package-tree.html
您可以使用机器人 API 来编写信使/中继机器人。机器人可能会记录其订阅的 Waves 的所有更新,然后将数据推送到您的桌面程序。同样,机器人可以作为桌面客户端的代理来响应 Wave。这不优雅、不高效、也不面向未来。然而,它可能会满足你的愿望。这个机器人可能会在两天左右的时间内组装起来,并根据需要进行更新。
一旦 Google 发布了客户端/服务器协议,编写这样的客户端就会容易得多。
You could use the Robot API to write a messenger/relay robot. The robot might record all updates to the Waves to which it is subscribed, and then push the data to your desktop program. Similarly, the robot could respond to a Wave as a proxy for your Desktop client. This is not elegant, efficient, or future-proof. It might, however, satisfy your desires. This robot probably could be hack together in a two days or so, and updated as needed.
Once Google publishes the client/server protocols it will be much easier to write such a client.