Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Free Perl/Mason Book Online

by Callum (Chaplain)
on Jan 16, 2003 at 08:25 UTC ( [id://227357]=note: print w/replies, xml ) Need Help??


in reply to Free Perl/Mason Book Online

Embedding Perl in HTML with Mason is a excellent book for what it does, though I'm not a fan of what it does.

More specifically, I really don't like the embed-one-language-in-another thing, primarily for maintainability reasons. A Mason-based website needs maintainers who understand HTML, Perl and Mason -- even if the first two knowledges are fairly common, and the third is fairly easy to pick up, it's a significant hurdle to ease of maintainability; and if a site can't be maintained easily/effectively by all of the people that admin it then quality will really suffer.

When it comes to more complex issues than simply serving web pages (eg performance and security) a still more rigorous knowledge of Mason will be required, in addition to the Perl-knowledge; resulting in a site that significantly fewer people could maintain well than could maintin a comparable perl-only site.

That aside, this is an excellent book -- in particular Ch 8: Building a Mason Site, Ch 9: Mason and CGI and Ch 11: Recipes make it easy to get to grips with real application of the language, work out how to do what you want to do, and put into play a Mason site quickly and efficiently.

Oh, and the answer to the most important question is -- it's an Arabian baboon

Replies are listed 'Best First'.
Re: Re: Free Perl/Mason Book Online
by autarch (Hermit) on Jan 16, 2003 at 23:31 UTC

    By a "Perl-only site", do you mean one where output is generated purely by code (either mod_perl handlers or scripts called via CGI, Apache::Registry, and so on?

    If you think that's more maintainable than a template-based site, I think you're quite mistaken. What does a designer who only knows HTML do in a pure Perl environment? She makes HTML and hands it off to developers, who then have to break it into chunks and stick it in code.

    I've seen that with a reasonably well-factored Mason-based site, HTML developers can learn pretty quickly not to touch the Mason parts, and are capable of making many changes without developer help. Major overhauls still require cooperation with the developers, but that's probably a good thing anyway. This means developers have more time to focus on real bug fixes and new features. How is that less maintainable?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://227357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-07-24 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.