Disable Layout and View Zend
Often when actions are used in controllers that do some work but do not actually show the user anything, we need to disable layout and view Zend.
This is helpful specifically with the use in Ajax (Aynchronous communication with the server).
Disable Layout
$this->_helper->layout()->disableLayout();
Disbale View
$this->_helper->viewRenderer->setNoRender();