Archive for the 'Programming' Category

Monday, October 15th, 2007

In PHP, to successively filter data in one array based on some data in each row of another, array_filter() can be combined with create_function().
The function array_filter() takes the array to be filtered as its first argument, and a callback function as its second. The callback function is a function with one parameter, which is also […]

Saturday, September 15th, 2007

Over the past month or so I’ve been experimenting with some different ideas, tools and frameworks, all with regard to being a PHP developer working on a Linux platform. From a free software standpoint, there aren’t a lot of decent PHP IDE’s out there that run on Linux — I’m admittedly more concerned about “free […]

Sunday, June 3rd, 2007

In order to create javascript objects which encapsulate all of their logic and create a direct bridge to the HTML DOM event model without helper functions, you can attach events using function closures which, when executed, are executed on a specific instance of an instantiated object. I touched on this same approach when discussing how […]