lamehacks

Stuff is fun

Archive for February, 2011

Simple PHP url dispatcher

Thursday, February 17th, 2011

PHP maps filenames into urls, this is a very handy feature and many applications simply use that for all their request handling needs. Practical as it can be, it’s quite limited.

Mapping url patterns into functions or Object methods is simple and easy. I’ll comment as I go…
(more…)

Azulejo Window Rotation

Sunday, February 6th, 2011

I implemented window rotation on azulejo. This is something that doesn’t come with Winsplit Revoltion, but anyone who used a tilling window manager will be familiar with it.
Azulejo does not maintain a layout (sometimes called algorithm or tilling mode mode) so I had to resource to a bit of improvisation.
(more…)

. .

Entries (RSS) and Comments (RSS).