technology / words

Custom JavaScript Gallery Slideshow Widget for the PhotoShelter API

August 23rd, 2012

Recently, my friend Amy Fletcher asked me to help her out with her site. Like many photographers, she’s using PhotoShelter for organizing, storing, and managing her client deliveries. It’s a great site and tool for a lot of things, but like many companies that provide full hosting, things get a little hard when you want […]

... Read More


Unmarshalling Dojo fromJson() with declaredClass

May 11th, 2011

If you’ve ever tried to unmarshall a Dojo object using the fromJson() method, you were probably annoyed to discover that none of your object’s methods were available to you. This is because the Dojo fromJson() method merely deserializes what you have, ignoring any links to the¬†declaredClass property. Here’s a little code that will do the […]

... Read More


PHP / JSON Object reflection & recursion

August 20th, 2009

If you’re dealing with any complex AJAX these days, you will inevitably run into the issue of how to reflect your objects into JSON. I found this little serialization code snippet, but quickly ran into a problem when dealing with many-to-one child objects.

... Read More