Jun 18, 2008
I’ve patched the current Feedburner 2.3 plugin to support feedburner feeds for categories.
When you install the plugin and activate it, navigate to Settings -> Feedburner.
You should now see options for adding in URL’s for all of your category rss feeds.
Download here.
Note: The url for your feeds by category should be by name, eg:
http://interfacelab.com/feed?category_name=php

Loading ...
Jun 18, 2008
UPDATED: Added support for expressions with variables so that you can add, multiply, divide, etc. variables when using them in the CSS. See below for more info.
Back in April of 2008, I came across a proposal by Daniel Glazman and David Hyatt for using variables in CSS stylesheets. I thought the proposal was absolutely brilliant, filling a much needed void for sites using complicated stylesheets across a variety of different pages. Another part of their proposal was being able to include/import other stylesheets. I don’t know anyone that couldn’t find this useful.
I put together a quick class for implementing most of their proposal using PHP. Nothing fancy going on here, most of it is some simple regexes.
Download the code here.
[Read more]

Loading ...
Jun 16, 2008
There’s a ton of stuff I miss from C#, having moved to PHP. Did I say a ton? I meant a megaton.
One of the things I miss the most (besides the sanity) are attributes (annotations for Java peeps). To be able to ascribe metadata to class, method and property definitions opens up a whole new world of introspection which enables you to do some pretty wicked hacks.
In this post, I present a PHP class that allows you to do metadata/attribute programming with PHP. You can download the class here. But before we dig in, we must understand what attributes are and how they are useful…
[Read more]

Loading ...
Dec 29, 2007
Coming off an insane project done entirely in PHP, I’ve been using my downtime to drown myself in AS3. Anyone who has spent any amount of time dealing with PHP can feel me when I say that moving to any language approaching some sense of sanity in its design, is a feeling not unlike being thrown a life preserver from God.
[Read more]

Loading ...