A PHP port of the server side bits of @FTLabs' fruitmachine, a view rendering engine