Is there any way to run a Javascript engine, like Spidermonkey, on Google App Engine? Spidermonkey is a C module, so obviously that wont work (GAE doesn't allow those types of modules)... is there something else available?
有没有办法在Google App Engine上运行像Spidermonkey这样的Javascript引擎? Spidermonkey是一个C模块,显然不会工作(GAE不允许这些类型的模块)......还有其他可用的吗?
4 个解决方案
#1
2
Google is now supporting custom language on Google App Engine. So we can do Node.js
Google现在支持Google App Engine上的自定义语言。所以我们可以做Node.js
https://www.youtube.com/watch?v=Q8jZHc0NS6A
https://www.youtube.com/watch?v=Q8jZHc0NS6A
https://developers.google.com/cloud/managed-vms
https://developers.google.com/cloud/managed-vms
#2
8
Here is an article about running Rhino on AppEngine/Java. That should get you a long way towards a real, functioning JavaScript application on AppEngine.
这是一篇关于在AppEngine / Java上运行Rhino的文章。这应该可以帮助您在AppEngine上实现真正的,有效的JavaScript应用程序。
#3
8
If you are looking for a JavaScript framework (as opposed to calling Java methods from JavaScript) you could try RingoJS (formerly Helma NG). It's a Rhino-based JavaScript framework that can run in AppEngine.
如果您正在寻找JavaScript框架(而不是从JavaScript调用Java方法),您可以尝试使用RingoJS(以前的Helma NG)。它是一个可以在AppEngine中运行的基于Rhino的JavaScript框架。
There's also AppengineJS, which can run on RingoJS (or Narwhal, which I haven't personally used). It's a port of the Python SDK (with mostly predictable changes to fit JavaScript conventions better). It's not complete, but it's close enough to work in most cases. It's nicer to use than using the Java API directly.
还有AppengineJS,它可以运行在RingoJS(或Narwhal,我没有亲自使用过)。它是Python SDK的一个端口(主要是可预测的更改,以更好地适应JavaScript约定)。它并不完整,但在大多数情况下它足够接近。使用它比直接使用Java API更好。
#4
3
I've also built ApeJS if you want to try it out. It's much more minimal than the competition.
如果你想尝试一下,我也建造了ApeJS。它比竞争对手简单得多。
#1
2
Google is now supporting custom language on Google App Engine. So we can do Node.js
Google现在支持Google App Engine上的自定义语言。所以我们可以做Node.js
https://www.youtube.com/watch?v=Q8jZHc0NS6A
https://www.youtube.com/watch?v=Q8jZHc0NS6A
https://developers.google.com/cloud/managed-vms
https://developers.google.com/cloud/managed-vms
#2
8
Here is an article about running Rhino on AppEngine/Java. That should get you a long way towards a real, functioning JavaScript application on AppEngine.
这是一篇关于在AppEngine / Java上运行Rhino的文章。这应该可以帮助您在AppEngine上实现真正的,有效的JavaScript应用程序。
#3
8
If you are looking for a JavaScript framework (as opposed to calling Java methods from JavaScript) you could try RingoJS (formerly Helma NG). It's a Rhino-based JavaScript framework that can run in AppEngine.
如果您正在寻找JavaScript框架(而不是从JavaScript调用Java方法),您可以尝试使用RingoJS(以前的Helma NG)。它是一个可以在AppEngine中运行的基于Rhino的JavaScript框架。
There's also AppengineJS, which can run on RingoJS (or Narwhal, which I haven't personally used). It's a port of the Python SDK (with mostly predictable changes to fit JavaScript conventions better). It's not complete, but it's close enough to work in most cases. It's nicer to use than using the Java API directly.
还有AppengineJS,它可以运行在RingoJS(或Narwhal,我没有亲自使用过)。它是Python SDK的一个端口(主要是可预测的更改,以更好地适应JavaScript约定)。它并不完整,但在大多数情况下它足够接近。使用它比直接使用Java API更好。
#4
3
I've also built ApeJS if you want to try it out. It's much more minimal than the competition.
如果你想尝试一下,我也建造了ApeJS。它比竞争对手简单得多。