
Call Us Toll-Free (877) 256-0328
Site Map
|
 |
 |
 |
 |
 |
What Is Mason?
Mason is a powerful Perl-based web site development and delivery engine. With Mason you can embed Perl code in your HTML and construct pages from shared, reusable components.
Mason solves the common problems of site development: caching, debugging, templating, maintaining development and production sites, and more.
Feature Summary
-
Simple embedded Perl syntax. Infuse your HTML pages with the full power of Perl: variables, arrays and data structures, conditionals, iteration, and the wide variety of freely available Perl modules.
- Modular pages with components. Build pages from components that call one another and pass values back and forth like subroutines. Encapsulate common design elements (headers, footers, menus, logos) into shared components that need only change once to affect the whole site.
- Parameter handling. Access GET/POST parameters directly as lexical ("my") variables. Assign default values or trigger error conditions when parameters are omitted.
- Templates and filters. Assign a common template, filter, or piece of code to an entire site (or a particular section) with a single well-placed file.
- Object-oriented techniques. Define your own methods and attributes on pages; access them from templates for increased flexibility.
- Caching. Cache HTML and data, from small page elements to entire pages or complex data structures. Automatically expire elements after a certain time period or when a certain condition occurs.
- Staging/production modes. Adjust configuration settings to maximize ease of development on a staging server and raw performance on a live server.
Hosts Portal
|