0

是否有任何框架编写了“所有样板”代码,有助于简化 PHP <=> JS(又名“AJAX”)通信?

我假设是这样编写的库,但我发现的是

  1. APE,即 JS <=> JS
  2. Drupal 内置ajax.inc,在非 Drupal 项目中不容易使用。

其他建议?

4

2 回答 2

2

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.

于 2012-09-24T18:57:39.510 回答
0

I like Ext Direct from Sencha.

To be used with Ext JS.

于 2012-09-24T18:59:51.280 回答