Monthly Archives: October 2009

try catch block at Zend Framework top level

You’d like for the production server that no exceptions are visible on the site. That sounds reasonable! If there is some exception you’d like to see it only on your developer server. So in your index.php or whatever the index … Continue reading

Posted in micro tutorial, zend framework | Tagged , , , | Leave a comment

jQuery: the difference between mouseout and mouseleave

The simple difference is that in the case with mouseout there is not event bubbling by default, while in mouseleave the events bubble. Let’s make a short example.

Posted in javascript, micro tutorial | Tagged , , | 3 Comments

Zend_Layout : using placeholders

Supposing that you’re familiar with Zend_Layout and why and where you should use it, here’s a little tutorial how to use placeholders. If there’s a layout file called main.phtml where beside the part of: <?php echo $this->layout()->content; ?> there’s a … Continue reading

Posted in zend framework | Tagged , , | Leave a comment

CSS Sprites – common mistakes

CSS Sprites Although there are so many resources about CSS sprites and where they should be used I still think their usage is misunderstood. The big problem is that many people use the sprite in a completely wrong way. When … Continue reading

Posted in micro tutorial, web development | Tagged , , | 2 Comments