ClassDBI-Aware Templates

Created 2005-04-05 / Edited 2005-04-24

So this is along the lines of delphi (and other system's) data-aware controls. The idea is to intwine cpan:Class::DBI objects with a template.

  $person = DB::Person('joe');
  $tpl = new Template('personView.tpl');
  $tpl->intwine(person => \$person);
  $tpl->render(
    title => 'This is the title of the page!'
  # ...