阅读背景:

模块仅用于处理Ajax请求

来源:互联网 

I am creating an application that will make heavy use of Ajax and performance is required. I've searched the best ways to handle Ajax requests using the Zend Framework, and saw that the most commonly used ways are the Context-switch and/or an Action per Controler to handle Ajax requests. If I were to use the first way I would have to keep a script in the view for each type of format that I could return (JSON, XML, etc.), and I think it's unnecessary, and the second way, I would get an action full of if/elses.I am creating an application that will make hea




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: