Django Web服务器聊天 [英] django web server chat
问题描述
谁能给我一个关于
i如何在我为我的应用程序创建的朋友
列表之间创建聊天界面的想法。
can any body suggest me an idea about how can i create a chat interface between the friend list which i have created for my application.
实际上是想创建一个聊天服务器。我的Django模型中有
个朋友列表。如果同时有一个
人同时在线,则他们将与
彼此聊天。为此,我必须创建一个套接字
还是有其他方法可以实现?
actually a want to create a chat server. i have a friends list in my django model. if more then one person is online at the same time then they chat with one another. for this purpose do i have to create a socket or is there any other way to do it.
谢谢
推荐答案
有一些将Django用作聊天服务器的可插拔应用程序,您可以使用它们,或者至少可以将它们用作参考或起点。
There are a couple pluggable apps for using Django as a chat server that you could use or at least use as a reference or starting point.
- django-chat: http:/ /code.google.com/p/django-chat/
- django-jqchat: http://code.google.com/p/django-jqchat/
- django-chat: http://code.google.com/p/django-chat/
- django-jqchat: http://code.google.com/p/django-jqchat/
关于使用Django和Orbited创建聊天服务器的文章也有。
There are also these posts on using Django with Orbited to create a chat server.
- http ://ajaxian.com/archives/django-and-comet
- http://darkporter.com/blog_files/4.django_orbited.html
- http://ajaxian.com/archives/django-and-comet
- http://darkporter.com/blog_files/4.django_orbited.html
这篇关于Django Web服务器聊天的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!