Server side javascript on Google app engine

前端 未结 4 951
猫巷女王i
猫巷女王i 2021-02-13 11:08

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

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-13 11:54

    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.

    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.

提交回复
热议问题