At Tue, 23 May 2006 08:58:46 -0400,
Robert Hicks wrote:
> 
> Alex Kavanagh wrote:
> > At Sat, 25 Feb 2006 18:12:43 -0600,
> > Ryan Perry wrote:
> >> Has anyone worked with Catalyst and Mason?  What are you opinions?
> > I think they go very well together.  However, as another noted, I'm
> > now using Mason to *just* do the templating - but it seems to work
> > very well.
> >
> Then why use Mason at all as *just* a templating system? If you are
> not going to use Mason's object system, I don't see the point. I would
> move to TT for just a templating system.

Well, I'm not sure I can really justify the decision by the process I
arrived at using both Catalyst and Mason was:

1. I was already using Mason before I found Catalyst
2. I didn't want to learn another template language.  I quite like
   using (very small) amounts of perl within the templates
3. I really like the way Mason allows me to build the templates using
   autohanders and dhandlers.  Some would argue that it obscures what
   is going on.  However, I like each 'content' file only dealing with
   its bit of content rather than having includes to get headers and
   menu's onto each page.
4. I do use some of Mason's object system, but almost ALL of the
   actual application logic is in external modules orchestrated by
   Catalyst.

Thus, Catalyst responds to the HTTP requests, bits of Catalyst and
external modules do the logic and Mason creates the pages.

However, TT seems to have a very strong following because so many
people like to use it.  It's just that I haven't and maybe I'm just
too 'used' to Mason.

However, although I've used Mason to create sites I'm still embroiled
in my Catalyst/Mason site and currently toying with the idea of using
HTML::Widget to do the forms ... so nothing in particular is running,
yet!

Cheers
Alex.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to