practical web design & development

Archive for January, 2009

Quick Dialogs in Linux

Well no matter how advanced programming gets sometimes you just need to get back to something simple as dirt. For instance you need a quick interface just to provide a menu. You could approach this in many different ways, but how much simpler could it be than creating a dialog with a shell script? Lets [...]

ColdFusion Style Dumps in PHP

Just wondering around the internet and one site led to another when I tripped over a nice debugging utility that creates ColdFusion style dumps. Its called dBug. The syntax is pretty darn simple. Of course make sure the dBug class file is included, then just create an instance of the object like so: new dBug($myVariable); [...]

Well the other day I was doing some forms and ran into a long list of checkboxes that I needed a list of the values, not a name-value array(so serializeArray() wouldn’t help) so I whipped up a small jQuery plugin to return me simply an array of the values of a selector: jQuery.fn.getCheckboxVal = function(){ [...]