Zend Framwork

These are articles are about things I needed to write down because I know I was going to have to look them up later for personal or community reference. Do not expect pulitzer prize material.

PhpStorm, Xdebug and zf2 on Ubuntu

After using Eclipse for over three years now, I've switched to PhpStorm. The ease of use and the small amout of time it took me te get the components from the title to work together makes this a no-brainer for me.

The version in de Ubuntu Packages was running a year behind, so I decided to install Xdebug from a git clone and build it from there.

PHP Benelux 2013 in Antwerpen

My third visit to the PHP Benelux conference and it's always done way too soon.

I still have to work through the notes I made. A great conference!

Zend Framework dip

For a couple of days I was wondering if ZF2 wasn't needlessly over complicated. I read a quote from someone asking Matthew Weier O'Phinney if he thought Zend Framework 2 was over engineerd (Matthew's answer: No!).

So I started listing what I wanted in a framework and it did not take long for me to realise that ZF2 had all of that.

The feature I missed in ZF were customizable routes, this is a great feature. The rest might take some getting used to.

ZF2 first glance

Well, today it had to be done... digging into ZF2. It's nice to see the 5.3.x namespaces being used, I have not dared to use them myself, but ZF2 will give me the push I need. The zf commandline tool is something that will be missed. The tutorial for ZF2 is finished, that is a nice stepping stone to get going: http://zf2.readthedocs.org/en/release-2.0.2/index.html.

ZF2 will replace ZF1 as my starting point for web applications from now on.

Zend_Layout in ZF1

To get the layout instance in a controller:
$layout = $this->_helper->layout()->setLayout('layoutname');

To get the layout instance in an action:
$layout = $this->_helper->layout()

 

Subscribe to RSS - Zend Framwork