Browse Definitions :


HTML::Mason (generally referred to simply as Mason) is an open source Perl-based platform for creating, serving, and managing Web sites. Originally developed for CMP Media (a publisher of technology magazines), Mason was designed to overcome some of the limitations of the Web's common gateway interface (CGI), a mechanism that allows a user's Web page request to be passed to a program to select and process the Web page to return to the user. Mason establishes a system that makes it relatively easy to develop and manage large volumes of Web pages that encompass both shared and distinct template elements. Although it began as a supplemental set of improvements to the CGI model, Mason became more fully featured as developers adopted and improved it. In 1998, the first version of HTML::Mason was released under the Perl Artistic License.

Mason is structured around reusable components, which consist of HTML, Perl code, and Mason commands. An entire Web page is considered a top level component, and typically contains several smaller embedded components. This object-based architecture means that when a shared component is changed, that change is automatically reflected in dependent pages not only within the same site but also across any other sites sharing the component. The component approach also makes it possible for developers to separate a Web page's programming elements from its design, so that content managers -- who are not usually programmers -- can work on the design aspects of a page without having to deal with the more technically demanding aspects.

Other features of Mason include: the ability to cache components for reuse; easy template creation for applying common features to pages within a directory or hierarchy; and a previewing proxy utility that allows users to see their pages as they would be seen in various situations (such as a different browser, for example). Mason is optimized for use with the Apache Web server and mod_perl (an Apache plug-in used to embed the Perl interpreter -- also called perl, but spelled with a lower case "p" -- into the server to increase performance and flexibility). However, the program can also be used with CGI or as a standalone tool.

Vignette is a similar product.

This was last updated in September 2005

Continue Reading About HTML::Mason

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.


File Extensions and File Formats


  • data governance policy

    A data governance policy is a documented set of guidelines for ensuring that an organization's data and information assets are ...

  • risk management

    Risk management is the process of identifying, assessing and controlling threats to an organization's capital and earnings.

  • compliance as a service (CaaS)

    Compliance as a Service (CaaS) is a cloud service service level agreement (SLA) that specified how a managed service provider (...


  • Advanced Encryption Standard (AES)

    The Advanced Encryption Standard, or AES, is a symmetric block cipher chosen by the U.S. government to protect classified ...

  • intrusion detection system (IDS)

    An intrusion detection system (IDS) is a system that monitors network traffic for suspicious activity and alerts when such ...

  • Secure Shell (SSH)

    SSH, also known as Secure Shell or Secure Socket Shell, is a network protocol that gives users, particularly system ...




  • cache memory

    Cache memory, also called CPU memory, is high-speed static random access memory (SRAM) that a computer microprocessor can access ...

  • capacity management

    Capacity management is the broad term describing a variety of IT monitoring, administration and planning actions that are taken ...

  • cloud storage

    Cloud storage is a service model in which data is transmitted and stored on remote storage systems, where it is maintained, ...