Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何框架编写了“所有样板”代码,有助于简化 PHP <=> JS(又名“AJAX”)通信?
我假设是这样编写的库,但我发现的是
其他建议?
As the comments have mentioned: use jQuery's $.ajax for JS side, and json_encode and json_decode for your PHP side. Not really much more to it than that.
$.ajax
json_encode
json_decode
I like Ext Direct from Sencha.
To be used with Ext JS.