Hey All --

Kenny Smith writes:
> If any piece of the MVC paradigm isn't being followed in an
> application that
> uses HTML::Template, it's only in the Model or the Controller,
> which really
> isn't in Mr. Tregar's scope. :)


If I may add one thing to this:  The goal of HTML::Template was *not* to be
the "View" in Model-View-Controller.  The goal of HTML::Template was
actually to maximally separate application code from HTML code, and to
provide an interface which was easier for non-programmer HTML designers to
work with.  If it so happens that the goal of separation of HTML from Perl
is compatible with a particular approach to development (such as MVC), that
is entirely coincidental.

FWIW, IMHO, <TMPL_IF> enhances the separation of HTML from Perl code.
Before <TMPL_IF> it would be necessary to have a <TMPL_VAR
NAME="CONDITIONAL_OUTPUT_HERE">, which was much worse.  I also believe that
the decision to only provide Boolean operators (not relational: <, >, etc.)
also enhances the separation of code from HTML.  If you disagree, you can
always create your own filter.

Warmest regards,

-Jesse-

--

  Jesse Erlbaum
  The Erlbaum Group
  [EMAIL PROTECTED]
  Phone: 212-684-6161
  Fax: 212-684-6226




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to