RSS

giles

I'm Giles Bowkett. This is where I post random things that are too small for my main blog and too big for 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.