为什么我要使用服务器端JavaScript? [英] Why would I want to use server-side JavaScript?

查看:119
本文介绍了为什么我要使用服务器端JavaScript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑,我经常阅读有关服务器端JS的讨论,为什么我要使用它?它似乎比任何其他语言执行速度慢,它也缺乏更复杂的语言所具有的许多约定。

I'm confused, I regularly read talk of server-side JS, why would I want to use that? It seems like it would execute way slower than pretty much any other language, it also lacks many conventions that more sophisticated languages have.

是否可以从中传递整个对象客户端到服务器,操纵它们并将它们还回?

Is it possible to hand entire objects from the client to the server, manipulate them and return them back?

只是努力理解它的概念。

Just struggling to understand the concepts of it.

推荐答案


  • 我认为你不能在不知道它运行的地方就JavaScript的速度说些什么。我认为V8可以击败像ruby或python这样的脚本语言。

  • 在我看来,JavaScript是更清晰的语言,例如PHP或Perl。但这只是我个人的意见。

  • 为什么不呢?

    有趣的链接: v8cgi node.js wxJavaScript CouchDB (基于JavaScript的数据库服务器)

    Interesting links: v8cgi, node.js, wxJavaScript and last but not least CouchDB (a JavaScript powered database server)

    这篇关于为什么我要使用服务器端JavaScript?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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