Jonas Liljegren <[EMAIL PROTECTED]> wrote:
> Quoting the code instead of the print functions.  Just like PHP.

Just for the record, there's a template system for PHP that is very much
like TT2:

http://www.phpinsider.com/php/code/Smarty/

It allows for a similar template system under PHP that TT2 does under Perl.
I've always preferred templates for creating information-centric web pages
over the component model that most other in-page server-side scripting
offers (which I prefer for more function-centric applications that don't
require so much fluidity in presentation). 

> > > Most of the time it's better to separate
> > > 
> > >  - data 
> > >  - configuration
> > >  - logic
> > >  - presentation
> > 
> > All templating systems allow you to do this.

I'm a rank beginner at OOD, but that's what I believe they call the Model
(data) -View (presentation) -Controller (logic & configuration) pattern.
That's how I've always looked at TT2, while Mason or other embeded Perl
methods or straight PHP always seemed more like a component framework. Each
has its place.

  MSM

Michael S. Manley
Application Development Mgr.
[EMAIL PROTECTED]
T: 312.373.2817
F: 312.751.8073

Nihil tam munitum quod non expugnari pecuna possit.

"Software encapsulates skill."
Bruce Schneier's 2nd Natural Law of the Digital World



Reply via email to