Unofficial Zend Framework 2 Certification Study guide errata page

My certification preparation is based on the ZF2 certification study guide. I have run into some issues in the guide. Until I know where to address these, I'll just make a list here.

These issues are based on my findings, feel free to correct me if I am wrong, just drop me line.

Zend\Log\Logger vs Monolog\Logger

Monolog is my logger of choise, but as far as I can tell, the Zend\Log component is just as good. I would have loved to have an interchangable situation, but that is not going to happen anytime soon.

This is an example of the Zend\Log:

        $logger = new \Zend\Log\Logger;
        $writer = new \Zend\Log\Writer\Stream('/home/robert/example.log');
        $logger->addWriter($writer);
        $logger->warn($'A warning message');
        $logger->log($logger::WARN, 'Another warning message');

This is an example of the Monolog:

Tags:

Macosx Finder refresh

Mac OS X finder windows do not have a refresh function. But when accessing networkdisks in a team environment, you really mis it.

This tip tells you how to doit:

http://apple.stackexchange.com/questions/49543/is-there-a-way-to-refresh-a-finder-file-listing

Tags:

Website icons and previews

File: favicon.ico, an 8-bit 16×16 .ico format icon file in the root of your website
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />

If you want Windows desktop support, embed a 32×32 and 48×48 pixel version in the same .ico file.
You can use a service like: http://tools.dynamicdrive.com/favicon/

Larger icons:
touch-icon-iphone.png, a 57×57 pixel file.
touch-icon-72x72.png, see the filename...
touch-icon-114x114.png, see the filename...

Yosemite for webdevelopment

Ik was begonnen aan het opzetten van een pagina voor het inrichten van een verse Mac OS X Yosemite voor webdevelopment, maar er zijn zo veel goede bronnen dat ik mij beperk tot een lijst van tools en eventueel verwijs naar andere bronnen.

Speeding up Drupal

Does Drupal feel sluggish? You probably feel the toll when logged in.

Test your site with a speedtest like Pingdom. It gives you a feel for how visitors will experience the site, speedwise.

If your admin section is feeling slow, try this:

Tags:

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.

Browser testing with browserstack

Browserstack lets you use a virtual machine with any browser you could ever need. A must have for every front-end developer. There is a free trial, check it out!

http://www.browserstack.com/

Styling the search box

This is a nice article about styling a search box. From time to time front-end developers all have get it done, this is a nice list of css styling options we can use.

http://www.kirupa.com/html5/creating_an_awesome_search_box.htm

Tags:

Ubuntu on a Mac

Without a dedicated Ubuntu workstation, I am using a MacBook Pro with VMware to do most of the serious development. I finally figured out the keyboard mapping (and I would like to keep them handy for future use). The mapping can be set in "System settings" -> "Keyboard Layout Options".

- Open "Alt/Win key behaviour" enable "Ctrl key is mapped to Win Keys"
- Open "Ctrl Key position" enable "Left Ctrl as Meta"
 

Pages

Subscribe to Broen.nl RSS