为什么服务器端Javascript没有被广泛使用? [英] why server side Javascript is not widely used?

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

问题描述

我们知道JavaScript是前端最流行和最广泛使用的语言之一。我想它在后端没有被广泛使用?

we know JavaScript is one of the most popular and widely used language in front end.i wonder it is not widely used in back end ?

推荐答案

由于谷歌的V8引擎,它的使用越来越广泛。请查看 Node.js 。我认为糟糕的性能限制了它之前的有效性。

It's becoming more widely used thanks to Google's V8 engine. Take a look at Node.js. I think poor performance limited it's effectiveness before.

Node.js允许您在眨眼间以大多数OOP方式编写多线程自定义Web服务。我想你会看到后端的Javascript刚刚开始运行。

Node.js lets you write multi-threaded custom web services in the blink of an eye and in a mostly OOP manner. I think you'll see that Javascript on the back-end is just beginning it's run.

我认为唯一阻止它的是—正如其他人所说—缺乏整齐打包和标准化(至少对于Linux)插入式解决方案。然后,这个解决方案需要由主要托管公司接收,并作为其产品的一部分添加,以便真正起飞恕我直言。如果发生这种情况,那么我认为你会发现它会爆炸到后端服务器领域。

I think the only thing holding it back is — as others have said — the lack of a neatly packaged and standardized (for Linux at least) drop-in solution. This solution would then need to be picked up by the major hosting companies and added as part of their product offerings for it to really take off IMHO. If that happens then I think you'll find that it will explode into the back-end server space.

微软提供了对后端系统进行编程的能力 Javascript(AKA JScript)自1998年以来的 ASP 产品。您仍然可以使用JScript开发ASP.NET应用程序。所以这不是什么新鲜事。我认为它没有广泛用于ASP或ASP.NET应用程序的原因是因为VBScript是默认而C#似乎是更有经验的专业人士的首选语言。但除了公司政策之外,没有什么可以阻止你,因为公司政策通常会限制开发人员使用单一语言进公司实体可能不会使用JScript的一个原因是似乎不再被积极开发。事实上,微软从未真正向市场推销JScript给开发人员。或者至少不像C#& VBScript中。所以我认为这可能会阻止它。

Microsoft has offered the ability to program back-end systems with "Javascript" (AKA JScript) since 1998 with it's ASP offering. You still can develop ASP.NET applications with JScript. So it's nothing new. I think the reason it isn't widely used for ASP or ASP.NET applications is because VBScript is the "default" and C# seems to be the preferred language for more experienced professionals. But there is nothing stopping you except company policies which often restrict developers to a single language for corporate development. One reason JScript might not be used much by corporate entities is that it "appears no longer to be actively developed." In fact Microsoft never really "marketed" JScript to developers. Or at least not nearly as much as they did C# & VBScript. So I think that may have held it back.

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

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