Monthly Archives: June 2010

Zend_View_Helper_InlineScript Appends Scripts Twice

Double Trouble This is a well known problem, which is well described as a bug in Zend Framework’s issue tracker. Once you add some scripts with the inlineScript helper you’ll receive them twice in the code. This makes the page … Continue reading

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

HTML5 geolocation – What If the User Doesn’t Share His Position?

HTML5 Geolocation So far we were used to expect something like this from our mobile phones with built-in GPS support. Every image or video clip then was automatically “tagged” with latitude & longitude geo data. With HTML5 coming features we … Continue reading

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

Send Authenticated POST Request with Zend_Http_Client

There is an easy way to send requests with Zend_Http_Client either in GET and POST. Actually you can request not only with GET and POST methods, but with any other http request method. $httpClient = new Zend_Http_Client(’http://….’); // request via … Continue reading

Posted in micro tutorial, PHP, snippets, web development, zend framework | Tagged , , , , , , , , , , | Leave a comment

Friday Algorithms: Sorting a Set of Integers – Far Quicker than Quicksort!

Yes! It’s really really fast, and it’s far quicker than the quicksort algorithm, which is considered as the fastest sorting algorithm in practice. However how it’s possible to be faster than the quicksort, which is the fastest algorithm?! Is that … Continue reading

Posted in algorithms, javascript, web development | Tagged , , , , , , , , | 14 Comments