我想创建一个允许多个用户在一个页面上一起工作的网页,想象一下,一个基于网络的编辑器,允许用户更改文档,作为这类功能的一个例子。
更有经验的程序员会如何实现这一点,因为我似乎真的无法制定任何方法来开始执行这项任务。有没有任何编程库可以让实现这个功能变得更容易,或者它太复杂了,甚至想都不敢想?
如果有帮助的话,我主要使用GWT和SmartGWT创建这个Web应用程序。
感谢您的任何意见。
我想创建一个允许多个用户在一个页面上一起工作的网页,想象一下,一个基于网络的编辑器,允许用户更改文档,作为这类功能的一个例子。
更有经验的程序员会如何实现这一点,因为我似乎真的无法制定任何方法来开始执行这项任务。有没有任何编程库可以让实现这个功能变得更容易,或者它太复杂了,甚至想都不敢想?
如果有帮助的话,我主要使用GWT和SmartGWT创建这个Web应用程序。
感谢您的任何意见。
gwt确实有一个类似cometd的库-http://code.google.com/p/gwteventservice/
Wiki: In web development, Comet is a neologism to describe a web application model in which a long-held HTTP request allows a web server to push data to a browser, without the browser explicitly requesting it. Comet is an umbrella term for multiple techniques for achieving this interaction. All these methods rely on features included by default in browsers, such as JavaScript, rather than on non-default plugins.
In practice: In normal way client can receive resources by request->responce. It is no possible to send data directly to client without request. With comet you can hold realtime connection between client and server and exchange data in realtime.
查看:docs.google.com。他们正在使用彗星。
Etherpad.com是一项曾经这样做的服务。自那以后,它被谷歌收购,代码以开源形式发布。您可以在etherpad.com页面获取源下载和相关信息。
I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...
I m trying to find a reusable way to set focus from one text box to another upon enter using ASP.NET, but using client-side JavaScript to do so. The only reason I mention this is to be done in ASP....
I have some Javascript JQuery code that does an Ajax call to the server every 5 mins, it s to keep the server session alive and keep the user logged in. I m using $.ajax() method in JQuery. This ...
Why are my AJAX requests failing? I have a website www.foo.com, and I m running Tomcat on the same server, www.foo.com:8080/services. However, when a file on foo.com makes an ajax call as such: $....
I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...
I have a entry form. Below it, I want to show a grid containing existing records. As the user clicks on a row of the grid, the values must get filled in the fields of the form above. Is there any way ...
I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...
Ok, I m stumped. Basically, this script works fine in FF, but not in IE (6,7 or 8) - in which it returns an "Object doesn t support this property or method" error. Any ideas?: function ...