Archive for the ‘Code’ Category

Ryan

PHP DateTime object and MySQL

April 27, 2009 by Ryan in Code, PHP


PHP 5.2 brought us native use of a DateTime object for handling dates and times instead of using procedural date(), time() and strtotime() type functions. Among other things, this really helps us move away from thinking of dates and times in seconds (via a unix timestamp) and as such, having to save an integer in [...]

Ryan

MultiSlide for Mootools

February 24, 2009 by Ryan in Code, Mootools


Overview MultiSlide is a Mootools class that will group multiple slide effects together and allow you to slide them all in or out at one time. MultiSlide will also allow you to retain individual control over each slide and it contains several callback events for easier integration into your UI. Current Version: 1.0 Download Source [...]

In most javascript frameworks, one of the most powerful tools they offer is the DOM selector function. It’s commonly known in Mootools and Prototype as the double-dollar ($$) and in jQuery it’s just a single-dollar ($). It allows us to search and find elements in the DOM and return them as an array. For instance, [...]