blog

Sep 05 2010

drupal_to_js() vs vanilla PHP json_encode() for conversion to JSON

by Joseph Smith

When needing to output JSON for a module I've been working on, I turned to drupal_json() and found this to be a very frustrating function to work with, as it simply doesn't seem to work. It's...

Apr 17 2010

Create a New York Subway / MTA-style Train Stop list using CSS3 and Javascript

by Joseph Smith

As a New Yorker, I pretty much have a love/hate/love relationship with the MTA. However, from a design perspective, I do really like the work that has been put into the new cars. There are multiple interactive maps, video screens, and current stop indicators that make...