Changes for version 0.85 - 2000-05-07
- Added object-oriented primitives to components. Components can define methods and attributes and inherit from parent components. Templates can access the current page's methods and attributes for greater flexibility.
- ** Major improvements/changes to autohandler feature. Autohandlers are now recursive by default, and all applicable autohandlers for a given page get a chance to run. If you have multiple autohandlers in parent/child directories, or if you used autohandlers with allow_recursive_autohandlers=0, you will need to adjust for the new policy.
- Integrated a revamped parse_component that is cleaner, more modular and easier to subclass. Courtesy of Dave Rolsky.
- New <%shared> section contains code that executes once per request and whose declarations are visible from the main component, methods and subcomponents alike.
- Added escape flags for <% %> output. Can now HTML-escape or URI-escape expressions on a site-wide or per-expression basis.
- Added choice of CGI or Apache::Request when using ApacheHandler. (submitted by Dave Rolsky)
- Documented $m->clear_buffer, which removes all pending output from the buffer.
- Fixed keys and expires cache actions from m->cache interface. (suggested by Matt Hoskins)
- dhandlers can now serve their own directory; added documentation about handling directories.
- Fixed dhandler bug introduced in 0.81 whereby $m->dhandler_arg only contains the first branch of a multi-branch argument.
- Removed memory leak in ApacheHandler::handle_request_1. (submitted by Pascal Eeftinck and Renzo Toma)
- Changed parent_comp() to owner() for subcomponents/methods.
- Increased maximum recurse level from 16 to 32.
- Reorganized syntax section of developer's manual and added a "how to use this manual" section.
- Added an UPGRADE guide to distribution.
- Added section about securing top-level components to Admin.pod. (suggested by Sean Cazzell)
- Added section about declining image requests to Admin.pod.
- Eliminated "Subroutine status_mason redefined" warning when creating multiple ApacheHandlers.
- Updated cookie expiration in CD-ME example. (reported by Renzo Toma)
- Added a "-f" flag to rm in faq Makefile. (reported by Jeremy Taylor)
Documentation
High-performance, dynamic web site authoring system
Mason Administrator's Guide
Former Developer's Guide
Mason Developer's Manual
Modules
A bundle to install the HTML::Mason package
Mason/mod_perl interface
Old Mason command reference
Mason Component Class
Mason Component Interpreter
Mason Component Parser
Mason Request Class
Provides
in lib/Apache/Mason.pm
in lib/HTML/Mason.pm
in lib/HTML/Mason/ApacheHandler.pm
in lib/HTML/Mason/Component/FileBased.pm
in lib/HTML/Mason/Component/Subcomponent.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/ApacheHandler.pm
in lib/HTML/Mason/Resolver.pm
in lib/HTML/Mason/Resolver/File.pm
in lib/HTML/Mason/Tools.pm
in lib/HTML/Mason/Utils.pm
Examples
- eg/handler.pl
- eg/parselog.p
- eg/perflog.p
- eg/session_handler.pl
- 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