AjaxAction View Helper for Zend Framework
AjaxAction view helper is a plug-in replacement for the Action view helper. It transforms synchronous requests to asynchronous XHR-calls with no frills.
Installation (AjaxAction standalone)
Just copy the files AjaxAction.php to Your APPLICATION_PATH/views/helpers directory, ajax.phtml to Your APPLICATION_PATH/views/_partials directory and make sure that the autoloader can load the helper. If You just created a Zend Framework project with Zend Studio or zf-command You should be fine without any modifications.
In view just replace
<?php echo $this->action('gettweets', 'content', null, array()); ?>
<?php echo $this->ajaxAction('gettweets', 'content', null, array(), '_partials/ajax.phtml'); ?>
Installation (CacheAction standalone)
Take a look at the AjaxAction view helper and CacheAction demo project on GitHub
Download the example Zend Framework project and have fun!