Author Archives: irmantas

My virtual development environment

After reading Juozas KaziukÄ—nas blog post about “Virtual Machines for Web Development, I decided to create one for my development environment. As Juozas suggested I would use VirtualBox on Ubuntu 11.04 host, and would install Ubuntu 11.04 server as guest … Continue reading

Posted in Server | Tagged , , , , | 2 Comments

Simple bookmarklet to enable xdebug profiler

Recently we had xdebug installed in our development machine. To enable xdebug profiling we must must add XDEBUG_PROFILER=1 via GET or POST. Because I am lazy like many programmers I wrote bookmarklet to add this for me 🙂 Here is … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Faster class loading in Zend Framework application

Update You can use Zend Framework 2 autoloader in Zend Framework 1 projects (via Anton, see comment #3) It is not a secret that Zend Framework class loading is very slow and cost many resources. Recently I read about Zend … Continue reading

Posted in Performance, Programming | Tagged , , , | 6 Comments

Links as buttons in Zend Framework form

In my current project I have to use link tags instead input elements for my form buttons. To do this I needed to create new form element, new helper and add helper path to my bootstrap file. First I created … Continue reading

Posted in Programming | Tagged , , , , | 1 Comment

PHP script execution time

I know there are many tutorials how to do this in PHP, but reason why I am writing this mini tutorial is one trick witch should help you a lot. To calculate PHP script execution time is quite simple you … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment