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



  • computer worm

    A computer worm is a type of malicious software program whose primary function is to infect other computers while remaining ...

  • Single Sign-On (SSO)

    Single sign-on (SSO) is a session and user authentication service that permits a user to use one set of login credentials (e.g., ...

  • Certified Information Systems Auditor (CISA)

    Certified Information Systems Auditor (CISA) is a certification issued by ISACA to people in charge of ensuring that an ...



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


  • VRAM (video RAM)

    VRAM (video RAM) is a reference to any type of random access memory (RAM) used to store image data for a computer display.

  • Kilo, mega, giga, tera, peta, exa, zetta and all that

    Kilo, mega, giga, tera, peta, exa, zetta are among the list of prefixes used to denote the quantity of something, such as a byte ...

  • flash memory

    Flash memory, also known as flash storage, is a type of nonvolatile memory that erases data in units called blocks.