Changes for version 0.6 - 1999-07-16
- New <& &> tag provides a more convenient way to call components inside HTML. mc_comp still works.
- The "perl_" prefix has been eliminated from section names: now simply use <%init>, <%cleanup>, <%args>, etc. The old names still work.
- The utility bin/convert0.6.pl converts existing components to use the above new syntax.
- New autohandler feature finally provides an easy way to specify a common template or behavior for a directory. An autohandler is invoked just before any top-level components in its directory begins executing. It can display header/footers, apply a filtering function, set up globals, etc. A good complement to dhandlers.
- New <%once> section contains code that will be executed once when a component is loaded. It is useful for defining persistent variables and named subroutines.
- New <%text> section allows you to turn off Mason processing for a particular section of text.
- Implemented first installation test suite! [modus]
- HEAD optimization: we now automatically abort after headers are sent on a HEAD request.
- New Parser make() utility traverses a tree of components, compiling any out-of-date components into object files and reporting errors.
- New mc_comp_source command returns the source filename of this or any component.
- mc_file now uses current component path by default for relative paths if no static_file_root defined (suggested by John Landahl)
- Various previewer interface improvements
- Removed link tags in pods documentation due to 5.004 problems
- Took out previewer stub from Mason.pm to eliminate "subroutine redefined" warning
- Updated makeconfig.pl to prefer GDBM_File, to avoid a bug in Berkeley DB 1.x
- Cleaned and sped up interp hooks facility
- Stopped substituting control characters for section strings in Parser
- modus
- Fixed mc_cache 'expire' bug (reported by Aaron Ross)
- Changed ignore_warnings default to ignore "subroutine redefined" warnings to make <%once> more useful
- Removed defunct Safe code from Parser and defunct ALLOW_HANDLERS code from Interp
- Added index file to htdocs/
Documentation
High-performance, dynamic web site authoring system
Mason Administrator's Guide
Mason Developer's Manual
Modules
A bundle to install the HTML::Mason package
Mason/mod_perl interface
Mason command reference
Mason Component Interpreter
Mason Component Parser
Provides
in lib/Apache/Mason.pm
in lib/HTML/Mason.pm
in lib/HTML/Mason/ApacheHandler.pm
in lib/HTML/Mason/FakeApache.pm
in lib/HTML/Mason/FakeApache.pm
in lib/HTML/Mason/FakeApache.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Tools.pm
in lib/HTML/Mason/Utils.pm
Examples
- eg/handler.pl
- eg/parselog.p
- eg/perflog.p
- samples/README
- samples/cd-me/README
- samples/cd-me/Template
- samples/cd-me/add_cd
- samples/cd-me/artist
- samples/cd-me/cd-search
- samples/cd-me/contact
- samples/cd-me/data/artists
- samples/cd-me/data/cds
- samples/cd-me/data/genres
- samples/cd-me/genre
- samples/cd-me/images/CDcase.jpg
- samples/cd-me/images/antiqueRadios.jpg
- samples/cd-me/images/cdmeLogo.jpg
- samples/cd-me/images/disc.gif
- samples/cd-me/images/electricGuitar.jpg
- samples/cd-me/images/grandpiano.jpg
- samples/cd-me/images/recordPlayer.jpg
- samples/cd-me/images/saxophone.jpg
- samples/cd-me/images/stereo.jpg
- samples/cd-me/images/violin.jpg
- samples/cd-me/index.html
- samples/cd-me/kart
- samples/cd-me/search
- samples/cd-me/text_links
- samples/cd-me/tools/cd_details
- samples/cd-me/tools/cookie_manip
- samples/cd-me/welcome_msg
- samples/dump-request
- samples/preview
- samples/show-env