We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
The community reviewed whether to reopen this question 10 months ago and left it closed:
Original close reason(s) were not resolved
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
uniter php 到 js 转换器可以做到这一点: http://asmblah.github.io/uniter/
The uniter php to js transpiler can do this: http://asmblah.github.io/uniter/
您可以使用如下内容: http://www.harmony-framework.com/
但是请注意,Javascript 有很多 PHP 避免的安全问题。对于数据库相关的函数调用或其他一些 PHP 扩展,直接转换并不总是可能的
You can use something like this: http://www.harmony-framework.com/
But notice, that Javascript has lots of security issues PHP avoids. And straight conversion is not always possible for Database-related function calls or some other PHP extensions