Entries Tagged as 'PHP'

Monday, December 28th, 2009

My new favorite function: map

Map, that’s my new favorite pure function. It’s very simple in use and has tons of uses! Ever been fidgeting with numbers trying to get the right output? Save your time the next time and use Map! 1234function map($v, $a, $b, $x = 0, $y = 1) {   return ($v == $a) ? $x [...]

Monday, October 6th, 2008

OpenSearch WordPress Plugin

I’ve been searching for a plugin for WordPress that makes an OpenSearch file. Found nothing so i’ve been working on it myself, however lately I’ve seen another OpenSearch plugin appear in the plugins database. The plugin system of wordpress is ok, but could be a lot better, namely a class system. The way it works [...]

Bear