IM应用程序的不错选择 [英] Good choice for an IM app

查看:93
本文介绍了IM应用程序的不错选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将开发类似于IM应用程序的WhatsApp。我正在寻找可以为我提供最便捷的解决方案的产品。之前,我曾在Webapp中将套接字用于类似目的,并且听说XMPP(其实现)已广泛用于此类工作。考虑到眼前的选择,我理解XMPP将会是解决之道,但我有以下问题:

I'm going to develop a WhatsApp like IM app. I'm looking for something that gives me the most pre-cooked solution. I've used sockets before in a Webapp for similar purposes and have heard that XMPP(it's implementations) is widely used for this sort of work. Considering the choices at hand I understand XMPP will be the way to go but I have the following questions:


  1. 我为什么要使用XMPP(如何我会预煮多少?)

  2. 为什么我不能使用套接字?尽管它们似乎很容易使用并且是一种快速解决方案

  3. 我听说过 http://quickblox.com/ ,我认为这是最快的解决方案。为什么以及为什么不应该使用它?

  4. 我还缺少其他东西吗?

  1. Why Should I use XMPP (How much will I have pre-cooked?)
  2. Why Can't I use sockets? though they seem to be very easy to work with and a quick solution
  3. I've heard about http://quickblox.com/ and I think it's the fastest solution. Why and why shouldn't I use it?
  4. Any other thing I'm missing?


推荐答案

回答Q的1、3和4:

XMPP协议本身涵盖了现代用户所需的大部分内容天的IM应用程序(您说过WhatsApp-他们至少在开始阶段就使用了它,Facebook消息传递应用程序也是如此)。我猜这就是您的目标。

The XMPP Protocol itself covers most of what you will need from a modern-day IM app (you stated WhatsApp - they used it, at least at the starting phase, same goes for the Facebook messaging app). I'm guessing that's what you're aiming at.

还有其他一些知名的选项,例如IRC,-再次取决于您的需求,我建议您阅读关于它: XMPP

There are other well known options like IRC, - again, it depends on what you need, I suggest reading up about it: XMPP.

通过开发IM应用,我假设您的意思是从移动设备开始,在这种情况下,有一个文档齐全的Android库称为Asmack,它将帮助您编写自己的客户端(再次阅读...)

By "develop an IM app", I'm assuming you mean starting with mobile, in that case there's a well documented library for Android called Asmack, it will help you in writing your own client (again, read up...)

继续查看最适合您的XMPP协议的 Server 实现,其中常见的实现有Ejabberd和OpenFire,
此: XMPP服务器比较(预煮参考)

Continue by looking at which Server implementation of the XMPP protocol suits you best, among the common implementations out there are Ejabberd and OpenFire, Have a look at this: XMPP Server Comparison (the "pre-cooked" ref)

作为独立开发人员应考虑的一些事情:

Some things to consider as an independent developer:


  1. 开源。

  2. 社区支持和文档。

尝试回答问题2:

预煮服务器组合在一起

编辑:

您可能还应该给这个因此,请看一下: Android和XMPP:当前可用的解决方案

You should probably also give this SO Thread a look: Android and XMPP: Currently available solutions

这篇关于IM应用程序的不错选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆