Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Answer: MASON - more than templates ?

by archangelq (Novice)
on Feb 04, 2004 at 20:46 UTC ( #326595=categorized answer: print w/replies, xml ) Need Help??

Q&A > object-oriented programming > MASON - more than templates ? - Answer contributed by archangelq

Mason is a very powerful system, it all depends on your needs. If your target is to have a perlish replacement for PHP, then I'd fully suggest it, having had to work in both a great deal.

My preference is strongly on the perl side, so take this with the grain of salt it's worth, but I find mason to be massively more flexable than PHP.

As for a general purpous templating system, both cephas and merlyn have good points. It comes down to that, you can do nearly anything in Mason that you can do in perl, with the display code nicely seperated, but still closely associated. This is good, but you have to be careful of adding in to lengthy of code into any mason component. Nutshell: The more perl there is, the harder it is for an html design person to come in and edit anything. You have to decide for yourself if that's what you want.

Log In?

What's my password?
Create A New User
talexb adds his 'Ditto' to that thought.
[Corion]: marioroy: Heh, glad that you get enjoyment out of it! It's mainly a valve for me to vent some of the pressure ;-D
[Corion]: Oooh - note is interesting, at least in the sense that I will steal its command line interface for my own note taking app ;-D

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-08-16 14:03 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (265 votes). Check out past polls.