sfInternalAdapter is a Symfony plugin I wrote while working on a large AJAX portal which reused a lot of JSON. In order to optimize the application’s preformance we decided to combine many of the services into one AJAX request but didn’t want to combine all of the server side logic. This plugin was developed to handle “scraping” the results of other Symfony actions in order to combine their results into the final call while still allowing the other actions to be called independantly if needed.

This also allowed us to do basic JSON object validation1 as well which we found to be an added bonus.

  1. really just making sure the data returned wasn’t an error []