English 中文(简体)
实时通知
原标题:Real-time notification using Python

首先有、TornadoWeb、它作为ync和非blocking,另一个方面:有。 如果我使用达龙多语的话,我如何与我沟通?

还有一个问题,如果我使用诸如Flask等的WSGI解决办法,我能否与它们一起作出“说明”。 或者,职业介绍所必须具备与服务器交谈的“开放联系”? 平均; 不要与Dojo合作?

而且,如果世界劳工联合会能够与Dojo谈什么,将原子或 Fe用于国际劳工联合会之下的方案通知?

NB: 通知将分为两部分:向所有用户发送产品通知和通知特定用户;通知将使用会议......

最后一个问题是,关于网络Socket和超文本5的内容是什么? 服务器必须与浏览器兼容使用这一选择吗?

最佳回答

我不清楚为什么Dojo似乎是来文中的问题。

Dojo为你们提供了阿马斯特劳教的包裹,你可以通过每秒1-5秒向阿马斯特教发教团申请,在网上用几乎实时通知。

If the app will have a lot of users, frequent AJAX requests can cause too much overhead quickly. Fortunately, you don t have to use Dojo to communicate with the server. You could have a look at Socket.IO and, if you want to stick to Python on the server-side, gevent-socketio. It uses the best technology available in the web browser (WebSockets, Flash sockets, comet) to provide real-time communication.

还有<代码>dojox.socket,但我认为它不那么有力(而且不太受欢迎)。

然而,你们应当记住,通过使用任何一种持久性联系(无论是网上备案,Socket)。 IO或Dojox.socket)你需要一个能够维持许多同时连接的同步服务器。

你们选择的解决办法应取决于网络本身及其用户基础。

问题回答

暂无回答




相关问题
Get Dojo Radio Button Value?

I have an HTML form using dojo and have the following code for a radio button selection choice: dojo.require("dijit.form.RadioButton"); <link href="http://ajax.googleapis.com/ajax/libs/dojo/1....

is it possible to know if a dijit is displayed or not?

i have two divs on a page. each has several dijits. i have atoggle that shows only one div or the other. when i submit the form, i only want to validate the dijits that are in the div that is ...

dijit BorderContainer auto-grow

Is there a way to have a dijit.layout.BorderContainer auto-grow in height? I ve tried setting min-height: 200px; height: auto;, but it won t scale. I ve tried looking at the API, but that thing is a ...

Dojo Tabs as Custom Widgets

I ve created a number of widgets that are loaded as tab panes in a tabcontainer. Everything seems to work well, except I m getting different results when using my custom widgets vs. creating ...

What happened to Dojo DOH?

The Dojo Toolkit used to come with a testing facility called "Doh". It was in the /utils directory. Now when you download dojo-release-1.3.2 the /utils directory is nowhere to be found. Is Doh dead ...

热门标签