ZF2 events

Module Manager Zend\Module\Manager: loadModules.pre For every module: Zend\Module\Manager: loadModule.resolve Zend\Module\Manager: loadModule Zend\Module\Manager: loadModules.post Application Successful: Zend\Mvc\Application: bootstrap Zend\Mvc\Application: route Zend\Mvc\Application: dispatch Zend\Mvc\Controller\ActionController: dispatch (if controller extends this class) Zend\Mvc\Application: render Zend\View\View: renderer Zend\View\View: response Zend\Mvc\Application: finish On an error in route or dispatch: Zend\Mvc\Application: dispatch.error Zend\Mvc\Application: render Zend\View\View: renderer Zend\View\View: response Zend\Mvc\Application: finish Note that […]

zf2 disable the view completely disable the layout within controller change view

To disable the view completely, from within a controller action, you should return a Response object:  [php] < ?php namespace SomeModule\Controller; use Zend\Mvc\Controller\ActionController,     Zend\View\Model\ViewModel; class SomeController extends ActionController {     public function someAction()     {         $response = $this->getResponse();         $response->setStatusCode(200);         […]

Free Fast Public DNS Servers List

This is my list of better, fast public dns servers and free dns server (as compare to your ISP / DSL / ADSL / cable DNS service providers dns servers). These dns servers are free to all. I was able to improve my browsing speed with following DNS servers. Use any one of the following […]

Make your life better in 30 steps

Make your life better in 30 steps Don’t compare your life to others’. You have no idea what their journey is all about. Don’t have negative thoughts of things you cannot control. Instead invest your energy in the positive present moment Don’t overdo; keep your limits Don’t take yourself so seriously; no one else does […]