in reply to Templating algorithm - pass in variables vs callback?

Since many templating systems allow you to pass in an object, couldn't you just bundle your desired functionality into it, pass that to the template and route all your dynamic, lazy loading calls through it? That seems a lot more straightforward than creating a separate way of passing parameters to a template.

M-x auto-bs-mode