Has anyone have a good way to make a good, standarized, connection (request-response) between mootools AJAX and Zend Framework? If not, what do you think it should look like (both server side and client side), but I really wouldn't want to invent the (existing?) wheel here.
Points to be aware of, that I can think about: 1. URLS: Shouldn't be hard coded, as the same system might use different routers on different servers and servers configuration. 2. Some special initialization on the server side that accepts the request (header content-type application/json...) 3. Maybe controlling all the process serverside only (php to generate the correct JS, either on the fly and use the right headers to make it cachable or through a build process that will create a JS file). what else?
