是否可以在ASP中使用V8? [英] Is it possible to use V8 in ASP?

查看:67
本文介绍了是否可以在ASP中使用V8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于似乎至少已有10年支持ASP(活动服务器页面),因此可以在 V8 ? (有人尝试过吗?)

Since ASP (Active Server Pages) seems to be supported for at least 10 years, would it be possible to run ASP on V8? (Have anyone tried that?)

(注意:我知道有node.js或owin以及它们的优点:)

(Note: I know that there is node.js or owin and advantages of these:)

更新:据Wikipedia称,它支持第三方脚本语言,例如PerlScript .因此,在我看来,脚本层是由COM提供的,因此有可能为V8创建可以在ASP中使用的COM包装器.

UPDATE: According to Wikipedia it also supports third party scripting languages for instance PerlScript. So, it seems to me that scripting layer is provided by a COM, therefore it might by possible to create COM wrapper for V8 that could be used in ASP.

推荐答案

正如许多人所说的那样,Classic ASP同时支持VBScript和JScript(Microsoft对ECMAScript标准的实现).

As many people have said Classic ASP supports both VBScript and JScript (Microsoft's implementation of the ECMAScript standard) out of the box.

这并不意味着您不能在Classic ASP中使用其他脚本语言,而是找到有关如何实现Microsoft发明的活动脚本"(最初称为"ActiveX脚本")的信息

This doesn't mean that you can't use other scripting languages with Classic ASP, but finding information on how to implement what Microsoft coins an "Active Scripting" (Originally called "ActiveX Scripting") language is going to be difficult.

我唯一能找到帮助的信息是 ActivePerl ,其中有一个Perl的活动脚本语言组件称为PerlScript.

The only information I have been able to find that may help is ActivePerl which has an Active Scripting language component of Perl called PerlScript.

如果您确实在IIS中安装了除VBScript或JavaScript之外的Active Scripting语言,则可以使用ASP处理指令

If you do have an Active Scripting language installed in IIS other then VBScript or JavaScript you can use the ASP Processing Directive @LANGUAGE to switch to using them.

总而言之;

如果V8支持Active Scripting,则答案为.

If V8 supports Active Scripting then the answer is Yes.

有用链接

  • Active Scripting (Wiki)
  • Chapter 6 - Developing Web Applications (MSDN)
  • Windows Script Interfaces (recommended reading)

这篇关于是否可以在ASP中使用V8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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