开发一个聊天网站

发布于 2024-08-25 19:31:10 字数 352 浏览 3 评论 0原文

我想开发一个匿名聊天网站,例如 http://omgele.com。 我知道这个网站是使用twisted matrix框架用python开发的。使用扭曲矩阵很容易开发这样的网站。 但我对 Java 非常熟悉,并且有 1 年的使用经验,并且不懂 python。

  1. 我该怎么办?我应该开始吗 学习Python以发挥优势 扭曲矩阵框架?

  2. 我应该用java开发它吗?如果是的话 您建议使用哪个框架 这样做吗?

I want to develop a anonymous chat website like http://omgele.com.
I know that this website is developed in python using twisted matrix framework. Using twisted matrix it's easy to develop such website.
But I am very comfortable in Java and have 1 year's experience with it, and dont know python.

  1. What should I do? Should I start
    learning python to take advantage
    of the twisted matrix framework?

    OR

  2. Should I develop it in java?If so
    which framework you would suggest to
    do so?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

长梦不多时 2024-09-01 19:31:10

学习Python。

这将为您的工具箱添加一个非常强大的工具。

而且,Twisted 可以做的不仅仅是聊天,这将对您的未来有所帮助。

Learn python.

This will add one very powerful tool to your toolbox.

Also twisted can do much more than just chat which will help you in future.

眼泪都笑了 2024-09-01 19:31:10

我会礼貌地向 omgele.com 的人索要一份他们的代码副本并研究它

  1. 学习 Python 和扭曲矩阵
  2. 决定使用它,或者如果我决定不使用它,则应用我的东西向他们学习编写我自己的 Java 网站

不幸的是,源代码不太可能可用。

我仍然建议向其他人学习,如果可能的话,加入他们来改进代码。

I would politely ask the people at omgele.com for a copy of their code and study it to

  1. learn Python and twisted matrix
  2. decide to use it or if I decide against it, to apply what I learned from them to write my own Java site

unfortunately, the source code is not likely to be available..

Still I advise to learn from others, and if at all possible, join them to improve the code.

临风闻羌笛 2024-09-01 19:31:10

对于您的第二个问题,请看一下 Jabber (XMPP),它有多个 Java 客户端并且受到广泛支持。例如 Gtalk、Facebook 使用 XMPP。

这里是一个用Java编写的优秀服务器。

To your #2 question, take a look at Jabber (XMPP), it has several Java clients and is widely supported. Example Gtalk, Facebook use XMPP.

Here is an excellent server written in Java.

痞味浪人 2024-09-01 19:31:10

学习 Python 是一个信息丰富、有趣且有价值的过程。当您真正开始使用时,您可能会发现您可以比 Java 更快地开发。 Twisted 是一个执行得相当好的框架,它可以让您避免异步 IO 可能遇到的许多陷阱;它拥有相当多协议的一流实现以及热情、有能力的支持社区。

如果您对这样做所获得的知识和经验感兴趣,请继续学习 Python 并使用 Twisted。如果您觉得自己的 Java 知识相当扎实,您可能可以阅读官方教程几次开始黑客攻击。 Twisted 可能需要一段时间才能点击,但实际上并不是那么难。

Learning Python can be an informative, interesting, and valuable process. When you really get going, you will probably find you can develop more rapidly than in Java. Twisted is an fairly well-executed framework which lets you avoid many of the pitfalls you can run into with asynchronous IO; it has top-notch implementations of quite a few protocols and a passionate, competent support community.

If you're interested in the knowledge and experience you'll gain doing so, go ahead and learn Python and use Twisted. If you feel pretty solid with your knowledge of Java you can probably read the official tutorial a couple times then start hacking away. Twisted can take a while to click, but it's really not all that hard.

一抹淡然 2024-09-01 19:31:10

我使用过大约十几种不同的语言,大约两个月前开始使用 Python。 Java 和 Python 在开发 Web 应用程序、中间件和服务方面非常出色!

学习Python。

I've worked with about a dozen different languages, and started with Python about two months ago. Java and Python in developing web apps, middleware, and services ROCKS!!

Learn Python.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文