"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If the web-page skeletons are written by perl-savvy developers, there is no benefit in using a templating system over perl-code. Actually, the perl-code you present could be considered some sort of a templating system in its own right.
The beauty of an MVC-system is not that it uses a templating system but makes a clear separation of concerns between the Model, Controller and View parts of the application. How each of these components is practically implemented is of far less importance and a templating system is but one possibility. CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James In reply to Re: The hidden charm of Template::Toolkit (and templates generally)
by CountZero
|
|