什么是APE和Node.js的之间的主要区别是什么? [英] What are the main differences between APE and Node.js?

查看:160
本文介绍了什么是APE和Node.js的之间的主要区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能有人已经使用这两种分享他/她的经验?主要有哪些区别,哪一个你preFER?谢谢你。

Could anyone that has used both share his/her experience? What are the main differences and which one do you prefer? Thank you.

推荐答案

  • socket.io是在JavaScript(node.js中)codeD,而APE是$ C $光盘C.我相信那就是当你想贡献一个很大的区别。也许是因为你喜欢的项目或者是因为你想要更多的功能。我认为这将是更容易做出贡献Socket.io因为你的Javascript编程,这是比较容易根据很多人的把握(我同意,虽然C也很冷静的语言)。
  • 我相信socket.io支持更多浏览器/运输相比,APE,但我不知道。 Socket.io信息从猿页面 VS信息:

Different socket.io vs APE:

  • socket.io is coded in javascript(node.js) while APE is coded in C. I believe that is a big difference when you want to contribute. Maybe because you like the project or maybe because you want some more functionality. I think it will be easier to contribute Socket.io because you program Javascript, which is easier to grasp according to a lot of people(I Agree, although C is also very cool language).
  • I believe socket.io supports a lot more browsers/transport compared to APE, but I am not sure. Socket.io information vs information from APE page:
  • APE服务器是一个彗星服务器   执行POST和GET方法   的HTTP协议。它并不   替换常规的Web服务器(如   Apache时,lighttpd的或Nginx的),但是,   该APE服务器只用于AJAX   按

    APE Server is an Comet server implementing the POST and GET methods of the HTTP protocol. It does not replace a regular Web Server (such as Apache, Lighttpd or Nginx), however, the APE Server is only used for AJAX Push.

    所以我猜APE支持较少的传输则socket.io。

    So I guess APE supports less transports then socket.io.

    就像Raynos说,这是很难比较这两个产品,我相信你应该与他们都发挥,然后再决定哪一个你更喜欢。

    Like Raynos said it is difficult to compare those two products and I believe you should play with them both and then decide which one you like more.

    • 您既可以code在Javascript与服务器进行通信。我想,你将有更多的自由使用socket.io因为一切都是通过JavaScript暴露出来。

    我只有用socket.io的经验,我喜欢它了。

    I only have experience with socket.io and I like it a lot.

    这篇关于什么是APE和Node.js的之间的主要区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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