Monthly Archives: December 2009

jQuery live() vs bind() performance

1. What is event delegation in JavaScript? To start with some example let’s assume that there is one DIV element with 100 A tags inside. If you assign event to every A tag that as you may know slowes down … Continue reading

Posted in javascript, micro tutorial | Tagged , , , , , , , , , | Leave a comment

cssText and how it can be very very useful

We all know, or at least all of us reading every new coming news on the web development sky, that making your browser reflow and repaint is expensive. Actually it is quite expensive. What I’m about to say comes under … Continue reading

Posted in css, javascript, micro tutorial | Tagged , , , | Leave a comment

Redirecting with Zend Framework – part 2

Recently I posted about the redirecting mechanism of Zend Framework. It’s a working chunk of code but the problem is that it seems quite difficult in according with other ZF sample codes. Yes the same goal can be achieved with … Continue reading

Posted in micro tutorial, PHP, zend framework | Tagged , , , , , | 2 Comments

What’s the width and height of the visible part of my browser?!

If you ever wondered what your browser height and width is, don’t waste your time anymore but check it out with JavaScript. Actually there’s a difference, normally, between document height and the browser height for instance. The document can be … Continue reading

Posted in javascript, micro tutorial | Tagged , , , | Leave a comment

Connect MySQL from Zend Server CE trough unix socket!

First of all, let me introduce you to my case. I’m working on a Mac with both Xampp and Zend Server CE. Both have separate MySQL servers installed from their default installation on my machine. Both have their separate phpMyAdmins. … Continue reading

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