RSS

giles

Rails programming, robotics, video art, dance music, strange things happening in the world that might end up in science fiction maybe, advertizing, usability, and other randomness. I also have a portfolio site, a programming blog, a podcast on Hollywood, a flickr stream, and of course a del.icio.us feed, and yes, I finally started using Twitter.
Aug 16
Permalink

JS MVC Nanoframework

Here’s the problem: you want to be able to show a list of things. The list has certain parameters defining it. You want to be able to do Ajax div loads of new versions of the list based on UI elements which constrain it. If you specify a variety of constraints on the list, you want the list to get more and more specific. You don’t want specifying new constraints to obliterate old constraints. That is, you want the various UI elements which constrain the list to coordinate, or stack.

You need the browser to have a tiny MVC implementation; otherwise the sheer number of hand-coded Ajax Updaters would be an insane nightmare.

Here’s one solution.

Design patterns don’t have to be a big deal to be useful.