Opera Unite 和 Node.js 有什么区别?

发布于 2024-10-03 15:41:46 字数 91 浏览 0 评论 0原文

两者似乎都允许完全使用 JavaScript 编写应用程序。两者都允许服务器端 JS 和客户端 JS。

那么,从技术和编程的角度来看,两者有什么区别呢?

Both seem to allow coding applications entirely in JavaScript. Both allow server side JS as well as client-side JS.

So, from a technology and programming standpoint, what is the difference between the both?

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

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

发布评论

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

评论(3

单调的奢华 2024-10-10 15:41:46

Opera Unite 是一种协作技术,它使用 Opera 桌面浏览器内的紧凑型服务器来共享数据和服务。您可以以 Opera Unite 服务的形式编写应用程序,使用该服务器向其他 Web 用户提供内容。

来源:http://dev.opera.com/articles /view/an-introduction-to-opera-unite/

因此 Opera Unite 在您的计算机上的您的浏览器中运行,然后 Opera 会设置一些内容以允许访问您为本地 Opera Unite“服务器”编写的内容。

Node.js 是一个基于事件的异步 I/O 框架,使用 Google 的 V8 JavaScript 引擎。 Node.js 通常用于重型客户端-服务器 JavaScript 应用程序。

来源:https://stackoverflow.com/tags/node.js/info

Node.js 是一个独立的框架,它不需要浏览器,并且可以运行任何服务器。 Node.js 还允许实现 Unite 所不允许的许多功能。欲了解更多信息,请阅读标签维基。

为了给 Node.js 留下一个好印象,我推荐其创建者 Ryan Dahl 制作的这个视频:
http://www.yuiblog.com/blog/2010/05 /20/视频-达尔/

Opera Unite is a collaborative technology that uses a compact server inside the Opera desktop browser to share data and services. You can write applications — in the form of Opera Unite Services — that use this server to serve content to other Web users.

Source: http://dev.opera.com/articles/view/an-introduction-to-opera-unite/

So Opera Unite runs inside your Browser on your Computer, Opera then sets up stuff to allow access to the stuff you wrote for your local Opera Unite "server".

Node.js is an event based, asynchronous I/O framework that uses Google's V8 JavaScript engine. Node.js is commonly used for heavy client-server JavaScript applications.

Source: https://stackoverflow.com/tags/node.js/info

Node.js is a standalone framework, it requires no Browser and can run any server. Node.js also allows for many things that Unite does not. For more information please read the Tag Wiki.

For a good impression of Node.js I recommend this Video by its creator Ryan Dahl:
http://www.yuiblog.com/blog/2010/05/20/video-dahl/

悍妇囚夫 2024-10-10 15:41:46

Node.js 基于 google v8,是一个常规服务器。

Opera Unity 是 Opera 浏览器的一部分。 AFAIK

Node.js is based on v8 from google and is a regular server.

Opera unite is part of the opera browser. afaik

最佳男配角 2024-10-10 15:41:46

理解差异的关键是 Opera Unite 在您的计算机上运行(在 Opera 桌面浏览器内),而 Node.js 代码通常驻留在您向托管公司付费使用的某个 Web 服务器上。

这使得 Opera Unite 适合且方便地执行某些操作,例如快速设置图像库以与朋友共享,而无需将计算机中的所有图像上传到其他地方。仅当您的计算机已打开、连接到互联网并且 Opera 正在运行时,您使用 Opera Unite 创建的站点/服务才可访问。

The key to understand the difference is that Opera Unite runs on your computer (inside the Opera desktop browser), while Node.js code will normally live on some web server that you pay a hosting company to use.

This makes Opera Unite suitable and convenient for some things, like for example quickly setting up an image gallery to share with friends without having to upload all the images from your computer to somewhere else. The sites/services you create with Opera Unite will only be accessible when your computer is turned on, connected to the Internet and Opera is running.

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