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.
Chris
M-x auto-bs-mode
In reply to Re: Templating algorithm - pass in variables vs callback?
by lachoy
in thread Templating algorithm - pass in variables vs callback?
by Tanktalus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |