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.
Chris
M-x auto-bs-mode
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Templating algorithm - pass in variables vs callback?
by Tanktalus (Canon) on Mar 01, 2005 at 02:19 UTC | |
by lachoy (Parson) on Mar 01, 2005 at 02:36 UTC | |
by Thilosophy (Curate) on Mar 01, 2005 at 03:14 UTC |