Smart AJAX Controller 1.0

This class can be used to generate AJAX request responses in JSON format. It can define one or more keys and values that will define the actions that will be perform by JavaScript code on the browser side as response to an AJAX request.

The class converts the response values into an array that is outputted in JSON encoded format. The response may be compressed with GZip.