Archive for the ‘learning’ Category

Dependency injection and Zend Framework

Lately I’ve been working on a site based on the Zend Framework. It’s been a good chance to get more intimate with ZF, learning the inner workings and quirks of the framework. Today I came across the question of how to do dependency injection for your controllers – I was looking for a way to [...]

Read the rest of this entry »

Sorting algorithms: Heap sort

It’s been a while since I did the last post (merge sort) in my sorting algorithms in PHP series (new readers start with Sorting algorithms: bubblesort) so I thought it about time that I add the next part. This time I’m going for heap sort. This algorithm has some similarities with merge sort, mainly the [...]

Read the rest of this entry »

.htaccess voodoo

Every once in a while I have to do some .htaccess rewriting and every time I end up deeply fascinated at the possibilities that it offers. This time round the situation was as follows: for a client we had done some advanced search functionality, which uses fairly detailed URLs to store the search (the search [...]

Read the rest of this entry »

Ubuntu and swap partitions

This is a note to self and any others that may find themselves in a similar situation. Should you happen to one day start your computer, wait for your linux distro to boot up and then see the following message swap: waiting for UUID=xxxxxxxx-xxxx-xxxx without anything else happening, then don’t panic! At least not yet. [...]

Read the rest of this entry »

Back from holidays

After great holidays on the Canarian Islands I’m now back in front of the trusty computer. The trip was super, resulting in some much needed extra energy and motivation for … well, lots of things, really :) The first bigger thing I’ve done after coming back is moving plphp.dk from a server I have at [...]

Read the rest of this entry »