July 4, 2011
A CoffeeScript compiler/development tool for LAMP that does not require node.js
CoffeeMaker - compiles your CoffeeScript scripts clientside and caches them on the serverside with no need for a node.js installation. Also provides an include command.
June 1, 2010
May 16, 2010
This simple little script checks how long it takes to run intervalled functions and then adjusts the intervals if needed, according to how many percent of total application time you are willing to spare. Optimize your intervals today.
May 16, 2008
May 14, 2008
January 20, 2008
July 5, 2007
The last couple of weeks I've been searching for a good JSON editor with a tree view. One that allows you to get a good overview of a JSON structure and make changes to it easily.
Yes, I know there's something a bit like that in Firebug (my favourite bug pesticide) and I did actually find a rather promising attempt by Calm_Pear. But I felt neither of these were close enough to home, so finally I went ahead and wrote my own JSON editor.
Februari 14, 2007
Here's a script optimized to make form input undoable/redoable. It's really simply to apply to any form.
Januari 29, 2007
Januari 23, 2007
I confess - I used to loop through my MySQL queries, in my server side language of choice, to build JSON. But there is a far better way that will save you some coding, add to simplicity and might even save some valuable server time.
If you're running MySQL 4.1 or later you can use the nifty function GROUP_CONCAT() together with the normal CONCAT() function to build all your JSON straight from your SQL query.
Januari 23, 2007
So you say you want to make remote procedure calls with ease from your web page. Here's an easy way to
Let's include some js.
September 20, 2006
One of the projects I'm working on right now involves a lot of form input. So I have come up with a small script to control what a user can write in a text/textarea field.
It allows us to control what characters the user is allowed to enter. Have a look.
August 31, 2006
I'm back with a more basic, memory efficient and ten times as small script, with a nice prototypal inheritance pattern. And I steer clear of the Object.prototype too.
To good to be true?
August 25, 2006
Does "if… else if… else if… else" sound familiar to you?
Let us take a closer look at the conditional operator and the inner workings of the logical and/or operators -- for a leaner & meaner code.
July 29, 2006
July 20, 2006
We have seen color gradiented backgrounds on the web for some time now. But here's a new effect for you -- color gradiented text.
I've made a small script (3 kB) that lets you use gradients on your text. It is unobtrusive and really simply to use, no images needed. Check it out.
July 19, 2006
July 13, 2006
July 4, 2006
The hyperlinks you create in FlashPaper, via Word, can only point to different web sites. Wouldn't it be nice to be able to point to internal Flash functions as well? Having a link that says "start this part of the program" that really works? I think it would, so I've modified Flashpaper's API slightly.
June 25, 2006
June 9, 2006
JSON objects are singleton objects by design, not by choice, since they have no constructor. I really like JSON, but I like classes too. Therefore I have written freeware library called classyJSON. It's small and it's free -- so now there's no excuse not to learn how to give your JSON some class.
June 9, 2006
Opera, Safari and Firefox 1.5 don't trigger the onload event when you hit the back button. This is not a bug -- it is "by design". How do we deal with that? Let me show you a nifty little workaround.
June 8, 2006