Opera Unite 和 Node.js 有什么区别?
两者似乎都允许完全使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
来源:http://dev.opera.com/articles /view/an-introduction-to-opera-unite/
因此 Opera Unite 在您的计算机上的您的浏览器中运行,然后 Opera 会设置一些内容以允许访问您为本地 Opera Unite“服务器”编写的内容。
来源:https://stackoverflow.com/tags/node.js/info
Node.js 是一个独立的框架,它不需要无浏览器,并且可以运行任何服务器。 Node.js 还允许实现 Unite 所不允许的许多功能。欲了解更多信息,请阅读标签维基。
为了给 Node.js 留下一个好印象,我推荐其创建者 Ryan Dahl 制作的这个视频:
http://www.yuiblog.com/blog/2010/05 /20/视频-达尔/
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".
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/
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
理解差异的关键是 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.