Mason (Perl)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Stable release
2.24 / May 16, 2015; 3 years ago (2015-05-16)[1]
Written in Perl
Operating system Cross-platform
Type Web application framework
License GNU General Public License, Artistic License

HTML::Mason, or Mason for short, is a web application framework written in Perl. It is distributed on CPAN.

It has features which make it a suitable backend for high-load sites serving dynamic content, such as online newspapers or database-driven e-commerce sites. Several popular web sites including[2] and Delicious[3] are or were powered by Mason. An extensive list of sites using Mason can be found at Mason HQ.

The general style of Mason is similar to StoryServer or even PHP, but Mason uses Perl as its control language, and as such can use almost any CPAN module.

Mason can be used with Apache HTTP Server via mod_perl – for which Mason provides its own handler, HTML::Mason::ApacheHandler. It also has support for Common Gateway Interface (CGI), and can therefore run on any CGI-enabled web server.


External links[edit]