darren chamberlain wrote:
> This isn't required, though, and you can definitely write Mason components
> that are only HTML, with calls to other mason components, and mason
> components that are only Perl.

It's true, you can write a Mason site that uses an MVC design and keeps 
the main code separate from HTML presentation.  However, almost nobody 
does, because it's not entirely obvious how to do it and it isn't a view 
that the Mason docs promote.  I've been on the Mason list since it 
began, and I've only seen a dozen or so people express any interest in 
ideas like this.  Everyone else is almost certainly doing in-line Perl code.

I would also argue that the TT variable syntax is much easier for 
non-programmers than using straight Perl access to nested data 
structures and references.

- Perrin



Reply via email to