Archive for the ‘ Goodies to go ’ Category
Last year, Brian Leroux’s Lawnchair caught my interest – it is an easy and fast way to access local persistant local storage. Uh, persistant local storage? Ahm, yeah, in case you don’t know, that means a client-side storage, be it in a browser, or in an Air app. It’s not very popular, but that concept has been [ READ MORE ]
In the series “convenience wrappers for small tasks that increase code readability”, today contains() is starring. Having a contains() method could also serve another purpose: to maybe prevent people from using match() to find out if a string contains a given substring (what is still proposed in some JS tutorials out there…). So, I want [ READ MORE ]
Most cases where you find String.substr() in the wild are to check if a given string begins with a certain other string. Be it checking for a prefix or sorting out zipcodes that begin with certain numbers. And because code readability is a good thing (really, it is important), it would be nice to have [ READ MORE ]
Though many people would disagree, I for one like to use fieldsets to structure complex forms. Even better do I like fieldsets that are collapsible. As there is no such fieldset with dojo, I decided to write my own widget. While doing so, I learnt an interesting lesson… First, I wrote it pretty simple, inheriting the widget [ READ MORE ]
Or: Still ending the ga.js wait… It has become quiet here the last weeks – due to an awesome trip to Italy. Returning home, I decided to put Google Analytics on this page. As I always hate waiting for the ga.js to load while visiting websites, I wanted a mechanism to delay the load of it. Why [ READ MORE ]
Every now and then I stumble upon PHP Code dealing with config files. Besides being happy that people use config files (uh, yes, it happens too often that people don’t…), I am often unhappy with how they’re dealing with config files. You can find the ugliest things out there, like arrays in .php files (my [ READ MORE ]