I was working through
a tutorial on Bogart and CouchDB and decided to implement the examples in
CoffeeScript instead of JavaScript as I've been meaning to play with CoffeeScript for a while now.
One of the files in the tutorial is the package.json file for managing dependencies in the (absolutely lovely) package manager npm. When I wrote the data structure out in CoffeeScript, however, the compiled data structure wasn't valid JSON according to JSONLint (it was nested between parentheses, had unquoted keys, and a trailing semi-colon, as you can see in the code snippet.) (more...)
If you're as lazy as I am, you might want to write out your static data structures in CoffeeScript instead of JSON. This little script lets you convert a file containing a CoffeeScript data structure to valid JSON.
Introducing Open Country Codes: easy to use ISO 3166 country codes for your apps.
Why are some things just much harder than they need to be? Finding a current, easy-to-use data source for populating a country selection box, for example.
(more...)
The reports of SWX's death have been greatly exaggerated. Well, OK, the one report, that is.
I'm referring to the blog post by David Arno that asks Has Adobe just killed SWX?
David's post refers to the recent opening of the AMF format (good one, Adobe, and about time, I'd say) and the open source release of BlazeDS.
(more...)