brado23/jquery-ui — comment on commit c82ab8cd85adfb67ae8fb80fd8b86a49bfbcb240
File:  line 0
By jzaefferer:

I'd really like to see some options for template integration. Seems to me like the obvious way to integrate without a hard dependency would be custom tags, something like {{observe some.prop}}, which basically just accesses the propery via $.observer and outputs it, triggering creation of the child observers. Then other code can bind to change events at the level of the template in effect:

var address = observer.property("address");
address.bind("change", function() {
$.tmpl("address", address).appendTo(parent);
}).trigger("change")

Something in that direction?