_array

05 June 2008 // php. things.

_array is a (yet another) attempt to create object oriented API for php arrays.

download

more...

makrell 0.1

20 May 2008 // php. things.

First "release" of makrell

download

documentation

test file (requires testik)

TableSort: custom sort rules

05 April 2008 // javascript. things.

Meritxell asked me how to use TableSort to sort a column based on a DOM attribute (checkbox "checked" value in that case). Well, in the original version it wasn't possible, but it was very easy to add.

more...

testik, the little unit tester

02 April 2008 // php. things.

Unit testing and TDD are great and so is SimpleTest, however there's a problem: you have to write code for tests, and sometimes quite a lot. And this code is often not really readable and self-documented. testik is an attempt to make testing as simple as it could be.

more...

makrell, the macro processor

23 July 2007 // php. things.

makrell is a simple but powerful macroprocessor for php language. It is aimed to simplify creating complex documents by using macros. A macro is a (typically short) chunk of text that replaces another (typically much longer) chunk. Macros act like functions in programming: once defined, they can be used over and over again.

The applications of makrell are templating, domain specific languages and php preprocessing.

more...

ajaxik, the tiny ajax

03 November 2006 // javascript. things.

Ajaxik is a tiny javascript library for basic ajax interaction, can also be used for "lazy" ajax (without javascript programming).

more...

table sort

23 October 2006 // javascript. things.

No, your eyes don't deceive you, this is Yet Another Javascript Table Sort script, designed to be unobtrusive, simple and flexible... (skipped 1000 lines of happy talk ;)

more...

js debug console

03 October 2006 // javascript. things.

Debug Console is a small utility for printing debug messages on the "console". Console is simply a textarea hanging in the corner of the page. No popups, no fancy formatting, but simple, clean and cross-browser.

Console also provides utility functions for printing stack trace and for measuring execution speed.

more...