开发者

how to execute javascript on server-side?

is there a php library or so开发者_运维百科mething?


There's quite a few ways of executing JavaScript on the server-side. A recently popular environment is node.js. There's also options such as Rhino (which has Nitro and Helma). Wikipedia also has a massive list of server-side JavaScript environments.

You also asked if there was a PHP extension available. There's one called php-js, based upon Mozilla's SpiderMonkey.


You can execute JavaScript on the server side using Java 6 and Rhino.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜