Monthly Archives: February 2010

Manage JavaScript and CSS includes within Zend Framework application

How to include JavaScript and CSS files? In Zend Framework there is a very elegant way to include CSS and JavaScript. Because in one single view of any action you cannot include a JavaScript or CSS because they wont be … Continue reading

Posted in css, javascript, zend framework | Tagged , , , , , , , , , , , | 3 Comments

Optimizing OpenLayers. Speed up markers load time!

Icons in OpenLayers! They chain of classes used to construct and make one single marker in OpenLayers is a bit difficult to follow, but isn’t impossible. There are three main classes in three files: Markers.js Layer/Markers.js Icon.js That’s why after … Continue reading

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

OpenLayers extreme optimization. Cut, compress and deploy!

Make it really faster! Following several posts I wrote recently, this one will describe you a simple and robust tutorial how to optimize OpenLayers. My goal is pretty simple. I’d like smaller library but still with everything must work correctly. … Continue reading

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

JavaScript optimization. Optimizing IF statements.

IF statements in JavaScript and the normal world! In fact every normal developer will try to make his code as readable as possible. In a normal world a JavaScript IF statement will look like so: if ( expression ) myFunc(); … Continue reading

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

Fancy tooltips with jQuery

I was decided to write this post from long time ago and now I’m pretty sure it has to be published. What I see in my practice and my browsing in the web there are too many old fashioned tooltips … Continue reading

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