Dorward's Ramblings

JSON and co

Published on

Last night I attended London JavaScript Night which featured a number of good talks (some of which I might discuss later).

Of note was the talk from Leo and Leon about offloading a bunch of work from the server to the client, with user preferences being of particular note. They called this JINC.

And so it was today when I was left with an interesting problem involving interdependent select elements in a webpage. I'm now thinking about trying JIAA.

JSON is stored in an attribute value where it can be accessed by scripting.

<option value="{ 123: 'foo', 124: 'bar'}">

Watch out for when I actually write code to make use of this! It might even be live in a couple of weeks. First though I need to extract the data from the fun, proprietary system where it resides at present.