Archive for the 'php' Category

Debugging PHP on Mac OS X

December 26th, 2008 by Alexander Kirk | Comments Comments Off

I have been using Mac OS X as my primary operating system for a few years now, and only today I have found a very neat way to debug PHP code, like it is common for application code (i.e. stepping through code for debugging purposes). The solution is a combination of Xdebug and MacGDBp. I [...]

Eclipse Everywhere. Buah.

October 19th, 2005 by Alexander Kirk | Comments 11 Comments »

It's been a little quiet lately. This is because I am working on a cute little project that I will be able to present soon. More when the time is ready. There has been rumor lately that Zend (developer of PHP) will release a PHP Framework. This is nothing new, there has been a IDE [...]

Better code downloading with AJAX

October 10th, 2005 by Alexander Kirk | Comments 3 Comments »

I've been playing with Code downloading (or Javascript on Demand) a little more. Michael Mahemoff pointed me at his great Ajaxpatterns in which he suggests a different solution: if (self.uploadMessages) { // Already exists   return; } var head = document.getElementsByTagName("head")[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = "upload.js"; head.appendChild(script); Via DOM manipulation a [...]

PHP and Multibyte

April 5th, 2005 by Alexander Kirk | Comments Comments Off

ever messed around with umlauts or other non [a-z] letters? it's quite horrible. for the german speaking region there are mainly two encoding types: iso8859-1 and utf-8. the former encodes each letter with one byte by extending old 7-bit ascii with 127 more letters, amongst others also umlauts. utf-8 includes up to 32,640 more  letters (ascii [...]