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

Powered by:


  • 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 (...

  • data protection impact assessment (DPIA)

    A data protection impact assessment (DPIA) is a process designed to help organizations determine how data processing systems, ...


  • identity provider

    An identity provider is a system component that is able to provide an end user or internet-connected device with a single set of ...

  • firewall

    A firewall is software or firmware that enforces a set of rules about what data packets will be allowed to enter or leave a ...

  • encryption

    Encryption is the method by which information is converted into secret code that hides the information's true meaning. The ...



  • business continuity plan (BCP)

    A business continuity plan (BCP) is a document that consists of the critical information an organization needs to continue ...

  • disaster recovery team

    A disaster recovery team is a group of individuals focused on planning, implementing, maintaining, auditing and testing an ...

  • cloud insurance

    Cloud insurance is any type of financial or data protection obtained by a cloud service provider.