mason jars
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 289
Mason 1.0.0
Mason is a tool that interactively builds a firewall using Linux ipfwadm or ipchains firewalling. more>>
Mason is a tool that interactively builds a firewall using Linux ipfwadm or ipchains firewalling. You leave mason running on the firewall machine while you are making all the kinds of connections that you want the firewall to support (and want it to block). Mason gives you a list of firewall rules that exactly allow and block those connections.
Mason was specifically designed to make it possible for anyone with the ability to generally find their way around a Linux system to build a reasonably good packet filtering firewall for any and every system under their control. It takes care of all the low level grunt work; all you need to do is follow the instructions and be able to run all the TCP/IP applications that need to be supported.
The real work of the package is done by the mason script. Its job is to convert the log entries that the Linux kernel produces into ipfwadm or ipchains commands that you can use in your own firewall.
In order to make it easy to use, I have included a rudimentary tool called mason-gui-text. Its a very simple shell that handles the setup and creation process for those that want to be led through the process. I would sincerely like to see mason with a nicer interface.
<<lessMason was specifically designed to make it possible for anyone with the ability to generally find their way around a Linux system to build a reasonably good packet filtering firewall for any and every system under their control. It takes care of all the low level grunt work; all you need to do is follow the instructions and be able to run all the TCP/IP applications that need to be supported.
The real work of the package is done by the mason script. Its job is to convert the log entries that the Linux kernel produces into ipfwadm or ipchains commands that you can use in your own firewall.
In order to make it easy to use, I have included a rudimentary tool called mason-gui-text. Its a very simple shell that handles the setup and creation process for those that want to be led through the process. I would sincerely like to see mason with a nicer interface.
Download (0.48MB)
Added: 2006-07-06 License: GPL (GNU General Public License) Price:
1205 downloads
CD-Mason 0.1
CD-Mason is a GTK+ gui for cdrecord and mkisofs aimed at being easy to use for inexeperienced users. more>>
A GTK+ gui for cdrecord and mkisofs aimed at being easy to use for inexeperienced users.
CD-Mason is yet another GUI frontend for cdrecord and mkisofs. It tries to make CD burning on Linux and other POSIX platforms as easy as possible.
It has been designed with novice desktop users in mind (think Aunt Tillie) that dont want to know about burning modes, sector sizes, ISO-9660 images or even the difference between an MP3 and a WAV music file.
All these subtleties should be handled transparently using a simple dragndrop interface.
<<lessCD-Mason is yet another GUI frontend for cdrecord and mkisofs. It tries to make CD burning on Linux and other POSIX platforms as easy as possible.
It has been designed with novice desktop users in mind (think Aunt Tillie) that dont want to know about burning modes, sector sizes, ISO-9660 images or even the difference between an MP3 and a WAV music file.
All these subtleties should be handled transparently using a simple dragndrop interface.
Download (0.10MB)
Added: 2005-08-02 License: GPL (GNU General Public License) Price:
1547 downloads
HTML::Mason 1.32
HTML::Mason is a powerful Perl-based web site development and delivery engine. more>>
HTML::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.
Mason is 100% free and open source. Although it can be used from CGI or even stand-alone, it is optimally designed for use with two other open source technologies: mod_perl and Apache.
<<lessMason solves the common problems of site development: caching, debugging, templating, maintaining development and production sites, and more.
Mason is 100% free and open source. Although it can be used from CGI or even stand-alone, it is optimally designed for use with two other open source technologies: mod_perl and Apache.
Download (MB)
Added: 2006-01-26 License: Artistic License Price:
1366 downloads
One-JAR 0.95
One-JAR is a Java jar distribution mechanism. more>>
One-JAR is a simple solution to the problem of distributing an application as a single jar file, when it depends on multiple other jar files.
It uses a custom classloader to discover library jar files inside the main jar.
<<lessIt uses a custom classloader to discover library jar files inside the main jar.
Download (0.027MB)
Added: 2005-04-07 License: Freely Distributable Price:
932 downloads
Maven 1.1
Maven is a software project management and comprehension tool. more>>
Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a projects build, reporting and documentation from a central piece of information.
Main features:
Model based builds
- Maven is able to build any number of projects into predefined output types such as a JAR, WAR, or distribution based on metadata about the project, without any need to do any scripting in most cases.
Coherent site of project information
- Using the same metadata as for the build process, Maven is able to generate a web site or PDF including any documentation you care to add, and adds to that standard reports about the state of development of the project. Examples of this information can be seen at the bottom of the left-hand navigation of this site under the "Project Information" and "Project Reports" submenus.
Release management and distribution publication
- Without much additional configuration, Maven will integrate with your source control system such as CVS and manage the release of a project based on a certain tag. It can also publish this to a distribution location for use by other projects. Maven is able to publish individual outputs such as a JAR, an archive including other dependencies and documentation, or as a source distribution.
Dependency management
- Maven encourages the use of a central repository of JARs and other dependencies. Maven comes with a mechanism that your projects clients can use to download any JARs required for building your project from a central JAR repository much like Perls CPAN. This allows users of Maven to reuse JARs across projects and encourages communication between projects to ensure backward compatibility issues are dealt with. We are collaborating with the folks at Ibiblio who have graciously allowed the central repository to live on their servers.
Gump integration
- Integration with Gump. For those who are not familiar with Gump it is a tool used at Apache to help projects maintain backward compatibility with their clients. If you have a Maven project descriptor then you can easily participate in nightly Gump builds that will help your project stay abreast of the impact your changes actually have in Java developer community. We are working on our own massive build tool but integration with Gump comes at no cost to Maven users.
<<lessMain features:
Model based builds
- Maven is able to build any number of projects into predefined output types such as a JAR, WAR, or distribution based on metadata about the project, without any need to do any scripting in most cases.
Coherent site of project information
- Using the same metadata as for the build process, Maven is able to generate a web site or PDF including any documentation you care to add, and adds to that standard reports about the state of development of the project. Examples of this information can be seen at the bottom of the left-hand navigation of this site under the "Project Information" and "Project Reports" submenus.
Release management and distribution publication
- Without much additional configuration, Maven will integrate with your source control system such as CVS and manage the release of a project based on a certain tag. It can also publish this to a distribution location for use by other projects. Maven is able to publish individual outputs such as a JAR, an archive including other dependencies and documentation, or as a source distribution.
Dependency management
- Maven encourages the use of a central repository of JARs and other dependencies. Maven comes with a mechanism that your projects clients can use to download any JARs required for building your project from a central JAR repository much like Perls CPAN. This allows users of Maven to reuse JARs across projects and encourages communication between projects to ensure backward compatibility issues are dealt with. We are collaborating with the folks at Ibiblio who have graciously allowed the central repository to live on their servers.
Gump integration
- Integration with Gump. For those who are not familiar with Gump it is a tool used at Apache to help projects maintain backward compatibility with their clients. If you have a Maven project descriptor then you can easily participate in nightly Gump builds that will help your project stay abreast of the impact your changes actually have in Java developer community. We are working on our own massive build tool but integration with Gump comes at no cost to Maven users.
Download (4.9MB)
Added: 2005-10-05 License: The Apache License 2.0 Price:
1483 downloads
MasonX::Resolver::PAR 0.2
MasonX::Resolver::PAR is a Perl module to get mason components from a PAR file. more>>
MasonX::Resolver::PAR is a Perl module to get mason components from a PAR file.
SYNOPSIS
(Inside a web.conf)
PerlModule HTML::Mason::ApacheHandler
PerlModule MasonX::Resolver::PAR
< Location /myapp >
SetHandler perl-script
PerlSetVar MasonParStaticDirectoryIndex index.htm
PerlAddVar MasonParStaticnDirectoryIndex index.html
PerlSetVar MasonParFile ##PARFILE##
PerlSetVar MasonResolverClass MasonX::Resolver::PAR
PerlHandler HTML::Mason::ApacheHandler
< /Location >
This is a custom Mason Resolver which loads its content from a PAR archive. This is meant to be used in conjunction with Apache::PAR. Read the description for this module first. The web.conf above should be inside the par archive as specified by Apache::PAR. It will be appended to your apache conf.
<<lessSYNOPSIS
(Inside a web.conf)
PerlModule HTML::Mason::ApacheHandler
PerlModule MasonX::Resolver::PAR
< Location /myapp >
SetHandler perl-script
PerlSetVar MasonParStaticDirectoryIndex index.htm
PerlAddVar MasonParStaticnDirectoryIndex index.html
PerlSetVar MasonParFile ##PARFILE##
PerlSetVar MasonResolverClass MasonX::Resolver::PAR
PerlHandler HTML::Mason::ApacheHandler
< /Location >
This is a custom Mason Resolver which loads its content from a PAR archive. This is meant to be used in conjunction with Apache::PAR. Read the description for this module first. The web.conf above should be inside the par archive as specified by Apache::PAR. It will be appended to your apache conf.
Download (0.017MB)
Added: 2007-03-22 License: Perl Artistic License Price:
946 downloads
MasonX::Maypole 0.51
MasonX::Maypole is a Perl module to use Mason as the frontend and view for Maypole version 2. more>>
MasonX::Maypole is a Perl module to use Mason as the frontend and view for Maypole version 2.
SYNOPSIS
package BeerDB;
use warnings;
use strict;
use Class::DBI::Loader::Relationship;
use Maypole::Application qw( -Debug2 MasonX AutoUntaint );
BeerDB->setup( dbi:mysql:beerdb, username, password );
BeerDB->config->{template_root} = /home/beerdb/www/www/htdocs;
BeerDB->config->{uri_base} = /;
BeerDB->config->{rows_per_page} = 10;
BeerDB->config->{display_tables} = [ qw( beer brewery pub style ) ];
BeerDB->config->{application_name} = The Beer Database;
BeerDB->config->masonx->{comp_root} = [ [ factory => /var/www/maypole/factory ] ];
BeerDB->config->masonx->{data_dir} = /home/beerdb/www/www/mdata;
BeerDB->config->masonx->{in_package} = BeerDB::TestApp;
BeerDB->auto_untaint;
BeerDB->config->{loader}->relationship($_) for (
a brewery produces beers,
a style defines beers,
a pub has beers on handpumps,
);
1;
<<lessSYNOPSIS
package BeerDB;
use warnings;
use strict;
use Class::DBI::Loader::Relationship;
use Maypole::Application qw( -Debug2 MasonX AutoUntaint );
BeerDB->setup( dbi:mysql:beerdb, username, password );
BeerDB->config->{template_root} = /home/beerdb/www/www/htdocs;
BeerDB->config->{uri_base} = /;
BeerDB->config->{rows_per_page} = 10;
BeerDB->config->{display_tables} = [ qw( beer brewery pub style ) ];
BeerDB->config->{application_name} = The Beer Database;
BeerDB->config->masonx->{comp_root} = [ [ factory => /var/www/maypole/factory ] ];
BeerDB->config->masonx->{data_dir} = /home/beerdb/www/www/mdata;
BeerDB->config->masonx->{in_package} = BeerDB::TestApp;
BeerDB->auto_untaint;
BeerDB->config->{loader}->relationship($_) for (
a brewery produces beers,
a style defines beers,
a pub has beers on handpumps,
);
1;
Download (0.017MB)
Added: 2007-03-22 License: Perl Artistic License Price:
946 downloads
WorldForge::Mason 0.3
Mason is a game system being developed by WorldForge. more>>
WorldForge::Mason is the second game system being developed by WorldForge. The primary focus for Mason is to enable players to build a persistent world in-game. Players will be able to manipulate items by creating new items from raw materials, attaching existing items together or splitting items into component parts.
Complicated structures such as houses can be designed on paper as a blueprint and then built with suitable building blocks and skills.
Reaching this milestone will require expanding not only our existing server and client code, but also refining the Atlas protocal that connects them.
The expansion will cover item creation (using a recipe system), construction of houses and other large structures (attaching items together), creating complex machines (combining simple machine parts), simulating organic reactions (festering wounds, adrenaline rush) with a detailed body system, editing text and other information objects in-game, and running an economy that changes with the world.
To demonstrate these techniques we will create a competitive and cooperative game centering about settling the uninhabited lands in the north-western corner of Moraf in our Dural world.
The players can play either human settlers attracted by the rumors of gold or promises of free land, or orcs, driven down to the plains from the overpopulated dens of the orc tribes of Sarnak.
Game
This section contains things related to the Mason Game in general, such as background story, game objectives, and planned features for version 1.0 of the game. It will also contain an installation guide, a players guide, and a game administrators guide. Theres also a page of links to screenshots and downloads.
If you are a potential future player and would like to know what the game will be like, or a creative writer interested in making the game interesting and fun to play, or if you want to write or translate documentation for end users, then this is the place for you.
Technology
This section contains the design of the various abstract systems that will implement all the central features of Mason. The systems include: the Item System, the Mechanical System, the Information Object System, the Body System, the Mind System, and others.
If you are a developer or game designer, interested in how all the revolutionary features supported by Mason are going to be implemented, then this section is for you.
Content
This section deals with all the general data needed for the Mason Game: item and creature descriptions and stats, maps of the Moraf area in the Dural world, and media for items and terrain. This data can be directly reused in later games.
If you are a world designer, artist, musician, or a MU* wizard who loves creating cool new items, then this section is for you.
Enhancements:
- Mason is now supported in two major 3D clients, Ember and Sear.
- An advanced terrain system has been implemented, including procedural texturing, paths, modified areas, and swimming in water.
- Building materials and resources can be gathered from the world using tools.
- Work has started on a new combat system.
<<lessComplicated structures such as houses can be designed on paper as a blueprint and then built with suitable building blocks and skills.
Reaching this milestone will require expanding not only our existing server and client code, but also refining the Atlas protocal that connects them.
The expansion will cover item creation (using a recipe system), construction of houses and other large structures (attaching items together), creating complex machines (combining simple machine parts), simulating organic reactions (festering wounds, adrenaline rush) with a detailed body system, editing text and other information objects in-game, and running an economy that changes with the world.
To demonstrate these techniques we will create a competitive and cooperative game centering about settling the uninhabited lands in the north-western corner of Moraf in our Dural world.
The players can play either human settlers attracted by the rumors of gold or promises of free land, or orcs, driven down to the plains from the overpopulated dens of the orc tribes of Sarnak.
Game
This section contains things related to the Mason Game in general, such as background story, game objectives, and planned features for version 1.0 of the game. It will also contain an installation guide, a players guide, and a game administrators guide. Theres also a page of links to screenshots and downloads.
If you are a potential future player and would like to know what the game will be like, or a creative writer interested in making the game interesting and fun to play, or if you want to write or translate documentation for end users, then this is the place for you.
Technology
This section contains the design of the various abstract systems that will implement all the central features of Mason. The systems include: the Item System, the Mechanical System, the Information Object System, the Body System, the Mind System, and others.
If you are a developer or game designer, interested in how all the revolutionary features supported by Mason are going to be implemented, then this section is for you.
Content
This section deals with all the general data needed for the Mason Game: item and creature descriptions and stats, maps of the Moraf area in the Dural world, and media for items and terrain. This data can be directly reused in later games.
If you are a world designer, artist, musician, or a MU* wizard who loves creating cool new items, then this section is for you.
Enhancements:
- Mason is now supported in two major 3D clients, Ember and Sear.
- An advanced terrain system has been implemented, including procedural texturing, paths, modified areas, and swimming in water.
- Building materials and resources can be gathered from the world using tools.
- Work has started on a new combat system.
Download (4.5MB)
Added: 2005-11-30 License: GPL (GNU General Public License) Price:
1423 downloads
MasonX::Resolver::CVS 0.02
MasonX::Resolver::CVS is a Perl component path resolver for components in CVS. more>>
MasonX::Resolver::CVS is a Perl component path resolver for components in CVS.
SYNOPSIS
my $resolver = MasonX::Resolver::CVS->new(
cvs_module => cvs/module,
cvs_repository => /var/cvs
);
my $info = $resolver->get_info(/some/comp.html);
This HTML::Mason::Resolver(3) subclass is used when components are stored in the Concurrent Version System (cvs(1)). Currently, this subclass only supports local CVS repositories. As such, it is able to deliver component source without checking the files out into a working directory (see "IMPLEMENTATION NOTES").
<<lessSYNOPSIS
my $resolver = MasonX::Resolver::CVS->new(
cvs_module => cvs/module,
cvs_repository => /var/cvs
);
my $info = $resolver->get_info(/some/comp.html);
This HTML::Mason::Resolver(3) subclass is used when components are stored in the Concurrent Version System (cvs(1)). Currently, this subclass only supports local CVS repositories. As such, it is able to deliver component source without checking the files out into a working directory (see "IMPLEMENTATION NOTES").
Download (0.017MB)
Added: 2007-03-22 License: Perl Artistic License Price:
946 downloads
Class::Container 0.12
Class::Container is a Perl module with Glues object frameworks together transparently. more>>
Class::Container is a Perl module with Glues object frameworks together transparently.
SYNOPSIS
package Car;
use Class::Container;
@ISA = qw(Class::Container);
__PACKAGE__->valid_params
(
paint => {default => burgundy},
style => {default => coupe},
windshield => {isa => Glass},
radio => {isa => Audio::Device},
);
__PACKAGE__->contained_objects
(
windshield => Glass::Shatterproof,
wheel => { class => Vehicle::Wheel,
delayed => 1 },
radio => Audio::MP3,
);
sub new {
my $package = shift;
# windshield and radio objects are created automatically by
# SUPER::new()
my $self = $package->SUPER::new(@_);
$self->{right_wheel} = $self->create_delayed_object(wheel);
... do any more initialization here ...
return $self;
}
This class facilitates building frameworks of several classes that inter-operate. It was first designed and built for HTML::Mason, in which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and several other objects must create each other transparently, passing the appropriate parameters to the right class, possibly substituting other subclasses for any of these objects.
The main features of Class::Container are:
Explicit declaration of containment relationships (aggregation, factory creation, etc.)
Declaration of constructor parameters accepted by each member in a class framework
Transparent passing of constructor parameters to the class that needs them
Ability to create one (automatic) or many (manual) contained objects automatically and transparently
<<lessSYNOPSIS
package Car;
use Class::Container;
@ISA = qw(Class::Container);
__PACKAGE__->valid_params
(
paint => {default => burgundy},
style => {default => coupe},
windshield => {isa => Glass},
radio => {isa => Audio::Device},
);
__PACKAGE__->contained_objects
(
windshield => Glass::Shatterproof,
wheel => { class => Vehicle::Wheel,
delayed => 1 },
radio => Audio::MP3,
);
sub new {
my $package = shift;
# windshield and radio objects are created automatically by
# SUPER::new()
my $self = $package->SUPER::new(@_);
$self->{right_wheel} = $self->create_delayed_object(wheel);
... do any more initialization here ...
return $self;
}
This class facilitates building frameworks of several classes that inter-operate. It was first designed and built for HTML::Mason, in which the Compiler, Lexer, Interpreter, Resolver, Component, Buffer, and several other objects must create each other transparently, passing the appropriate parameters to the right class, possibly substituting other subclasses for any of these objects.
The main features of Class::Container are:
Explicit declaration of containment relationships (aggregation, factory creation, etc.)
Declaration of constructor parameters accepted by each member in a class framework
Transparent passing of constructor parameters to the class that needs them
Ability to create one (automatic) or many (manual) contained objects automatically and transparently
Download (0.019MB)
Added: 2006-10-06 License: Perl Artistic License Price:
1113 downloads
HTML::Mason::Devel 1.34
HTML::Mason::Devel is a Perl module with Mason Developers Manual. more>>
HTML::Mason::Devel is a Perl module with Mason Developers Manual.
This manual is written for content developers who know HTML and at least a little Perl. The goal is to write, run, and debug Mason components.
If you are the webmaster (or otherwise responsible for the Mason installation), you should also read the administrators manual. There you will find information about site configuration, performance tuning, component caching, and so on.
If you are a developer just interested in knowing more about Masons capabilities and implementation, then the administrators manual is for you too.
We strongly suggest that you have a working Mason to play with as you work through these examples. Other component examples can be found in the samples/ directory.
While Mason can be used for tasks besides implementing a dynamic web site, that is what most people want to do with Mason, and is thus the focus of this manual.
If you are planning to use Mason outside of the web, this manual will still be useful, of course. Also make sure to read the running outside of mod_perl section of the administrators manual.
<<lessThis manual is written for content developers who know HTML and at least a little Perl. The goal is to write, run, and debug Mason components.
If you are the webmaster (or otherwise responsible for the Mason installation), you should also read the administrators manual. There you will find information about site configuration, performance tuning, component caching, and so on.
If you are a developer just interested in knowing more about Masons capabilities and implementation, then the administrators manual is for you too.
We strongly suggest that you have a working Mason to play with as you work through these examples. Other component examples can be found in the samples/ directory.
While Mason can be used for tasks besides implementing a dynamic web site, that is what most people want to do with Mason, and is thus the focus of this manual.
If you are planning to use Mason outside of the web, this manual will still be useful, of course. Also make sure to read the running outside of mod_perl section of the administrators manual.
Download (0.37MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1101 downloads
VPNmonitor 1.2
VPNmonitor is a free Java tool to observe network traffic. more>>
VPNmonitor is a free Java tool to observe network traffic. Network administrators can use it to monitor VPN (PPTP and IPSec) and SSL (HTTPS) connectivity of wireline/wireless networks.
If you are using Linux this way you will run VPNmonitor:
1. Install libpcap 0.7.2 or above from http://www.tcpdump.org/
2. Copy Jpcap libraries to the jre directories:
cp net.sourceforge.jpcap-0.01.13.jar /jre/lib/ext
cp libjpcap.so /jre/lib/i386
3. su to root
4. Run VPNmonitor
java -jar VPNmonitor.jar
<<lessIf you are using Linux this way you will run VPNmonitor:
1. Install libpcap 0.7.2 or above from http://www.tcpdump.org/
2. Copy Jpcap libraries to the jre directories:
cp net.sourceforge.jpcap-0.01.13.jar /jre/lib/ext
cp libjpcap.so /jre/lib/i386
3. su to root
4. Run VPNmonitor
java -jar VPNmonitor.jar
Download (0.67MB)
Added: 2006-06-27 License: GPL (GNU General Public License) Price:
1219 downloads
Jar::Signer 0.1
Jar::Signer Perl module ease the process of creating a signed Jar file. more>>
Jar::Signer Perl module ease the process of creating a signed Jar file.
SYNOPSIS
# using FindBin is just a suggestion.
use FindBin qw( $RealBin );
use Jar::Signer;
my $signer = Jar::Signer->new;
# location of the keystore, created if needed.
$signer->keystore("$RealBin/MyKeyStore");
# dname properties of the certificate.
$signer->dname("CN=Mark Southern, O=My Corporation, L=My State, C=USA");
# name for .fingerprint and ..cert files, created if needed.
$signer->alias("$RealBin/MyCert");
# the Jar file that we want to sign.
$signer->jar(shift);
# if signed_jar is undefined then the default is basename.signed.jar where basename is the basename of the Jar file.
$signer->signed_jar(shift);
# create the signed Jar.
$signer->process;
This module, and the script that uses it make it a lot simpler to generate signed Jar files for use in Java applets etc. It steps through all the needed jar, jarsigner and keytool command lines.
<<lessSYNOPSIS
# using FindBin is just a suggestion.
use FindBin qw( $RealBin );
use Jar::Signer;
my $signer = Jar::Signer->new;
# location of the keystore, created if needed.
$signer->keystore("$RealBin/MyKeyStore");
# dname properties of the certificate.
$signer->dname("CN=Mark Southern, O=My Corporation, L=My State, C=USA");
# name for .fingerprint and ..cert files, created if needed.
$signer->alias("$RealBin/MyCert");
# the Jar file that we want to sign.
$signer->jar(shift);
# if signed_jar is undefined then the default is basename.signed.jar where basename is the basename of the Jar file.
$signer->signed_jar(shift);
# create the signed Jar.
$signer->process;
This module, and the script that uses it make it a lot simpler to generate signed Jar files for use in Java applets etc. It steps through all the needed jar, jarsigner and keytool command lines.
Download (0.003MB)
Added: 2007-06-15 License: Perl Artistic License Price:
890 downloads
Text::MicroMason::Mason 1.96.0
Text::MicroMason::Mason is a simple compiler for Mason-style Templating. more>>
Text::MicroMason::Mason is a simple compiler for Mason-style Templating.
SYNOPSIS
Mason syntax provides several ways to mix Perl into a text template:
< %args >
$name
< /%args >
% if ( $name eq Dave ) {
Im sorry < % $name % >, Im afraid I cant do that right now.
% } else {
< %perl >
my $hour = (localtime)[2];
my $daypart = ( $hour > 11 ) ? afternoon : morning;
< /%perl >
Good < % $daypart % >, < % $name % >!
% }
< & "includes/standard_footer.msn" & >
< %doc >
Heres a private developr comment describing this template.
< /%doc >
Create a Mason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
You can compile and execute templates using the standard MicroMason methods:
$coderef = $mason->compile( file => simple.tmpl );
print $coderef->( %arguments );
print $mason->execute( file => simple.tmpl, %arguments );
Main features:
- Template interpolation with
- Literal Perl lines with leading %
- Named %args, %perl, %once, %init, %cleanup, and %doc blocks
- The $m mason object, although with many fewer methods
- Expression filtering with |h and |u (via -Filter mixin)
<<lessSYNOPSIS
Mason syntax provides several ways to mix Perl into a text template:
< %args >
$name
< /%args >
% if ( $name eq Dave ) {
Im sorry < % $name % >, Im afraid I cant do that right now.
% } else {
< %perl >
my $hour = (localtime)[2];
my $daypart = ( $hour > 11 ) ? afternoon : morning;
< /%perl >
Good < % $daypart % >, < % $name % >!
% }
< & "includes/standard_footer.msn" & >
< %doc >
Heres a private developr comment describing this template.
< /%doc >
Create a Mason object to interpret the templates:
use Text::MicroMason;
my $mason = Text::MicroMason->new();
You can compile and execute templates using the standard MicroMason methods:
$coderef = $mason->compile( file => simple.tmpl );
print $coderef->( %arguments );
print $mason->execute( file => simple.tmpl, %arguments );
Main features:
- Template interpolation with
- Literal Perl lines with leading %
- Named %args, %perl, %once, %init, %cleanup, and %doc blocks
- The $m mason object, although with many fewer methods
- Expression filtering with |h and |u (via -Filter mixin)
Download (0.046MB)
Added: 2007-08-09 License: Perl Artistic License Price:
806 downloads
zeMail 1.0
zeMail is a minimalist webmail package written in Mason. more>>
zeMail is a minimalist webmail package written in Mason. It implements the basic features one would expect from an IMAP mail client, displaying folder and message contents, handling attachments and allowing you to move, mark and purge your messages.
zeMail package is written in plain HTML, and uses JavaScript only to reduce the click count, it will work perfectly with scripting disabled. Compared to the modern AJAX trend, this web mail package is designed to work everywhere.
Installation:
Download and unpack the tarball. Copy the directory lib/Zentus into your Perl inc. path (/usr/local/lib/perl/5.8.4 on Debian).
Copy the contents of mason/ into the desired subdirectory of your Apache htdocs directory or virtual host. Then add the following to your httpd.conf:
PerlModule Zentus::Mail::Connection
PerlModule Zentus::Mail::AttachmentHandler
PerlModule HTML::Mason::ApacheHandler
PerlModule Apache::Session::File
PerlModule Text::Autoformat
< Location / >
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
DirectoryIndex folder
< /Location >
< Location /attachment >
SetHandler perl-script
PerlHandler Zentus::Mail::AttachmentHandler
< /Location >
< LocationMatch "(/icons|/images|.ico|.html|.txt)" >
SetHandler default-handler
< /Location >
< LocationMatch "(autohandler|dhandler|.inc)" >
SetHandler None
< /Location >
This code segment can be added as-is if you intend to devote a VirtualHost to zeMail, otherwise prefix a directory name in the < Location > and < LocationMatch > tags.
Now install the necessary Perl modules from CPAN:
cpan -i HTML::Mason # or deb: libhtml-mason-perl
cpan -i Apache::Session # or deb: libapache-session-perl
cpan -i DB_File::Lock # or deb: libdb-file-lock-perl
cpan -i Text::Autoformat # or deb: libtext-autoformat-perl
cpan -i HTML::FormatText # or deb: libhtml-format-perl
cpan -i Net::IMAP::Simple # (needed really in name only,
# to be removed in next release)
You may have to create the temporary directory manually:
mkdir /tmp/zemail
chown www /tmp/zemail
Now restart your Apache and your are good to go.
Enhancements:
- Supports all basic forms of email, strips out MIME, displays attached images inline, and lets you download the rest.
<<lesszeMail package is written in plain HTML, and uses JavaScript only to reduce the click count, it will work perfectly with scripting disabled. Compared to the modern AJAX trend, this web mail package is designed to work everywhere.
Installation:
Download and unpack the tarball. Copy the directory lib/Zentus into your Perl inc. path (/usr/local/lib/perl/5.8.4 on Debian).
Copy the contents of mason/ into the desired subdirectory of your Apache htdocs directory or virtual host. Then add the following to your httpd.conf:
PerlModule Zentus::Mail::Connection
PerlModule Zentus::Mail::AttachmentHandler
PerlModule HTML::Mason::ApacheHandler
PerlModule Apache::Session::File
PerlModule Text::Autoformat
< Location / >
SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
DirectoryIndex folder
< /Location >
< Location /attachment >
SetHandler perl-script
PerlHandler Zentus::Mail::AttachmentHandler
< /Location >
< LocationMatch "(/icons|/images|.ico|.html|.txt)" >
SetHandler default-handler
< /Location >
< LocationMatch "(autohandler|dhandler|.inc)" >
SetHandler None
< /Location >
This code segment can be added as-is if you intend to devote a VirtualHost to zeMail, otherwise prefix a directory name in the < Location > and < LocationMatch > tags.
Now install the necessary Perl modules from CPAN:
cpan -i HTML::Mason # or deb: libhtml-mason-perl
cpan -i Apache::Session # or deb: libapache-session-perl
cpan -i DB_File::Lock # or deb: libdb-file-lock-perl
cpan -i Text::Autoformat # or deb: libtext-autoformat-perl
cpan -i HTML::FormatText # or deb: libhtml-format-perl
cpan -i Net::IMAP::Simple # (needed really in name only,
# to be removed in next release)
You may have to create the temporary directory manually:
mkdir /tmp/zemail
chown www /tmp/zemail
Now restart your Apache and your are good to go.
Enhancements:
- Supports all basic forms of email, strips out MIME, displays attached images inline, and lets you download the rest.
Download (0.079MB)
Added: 2006-01-26 License: BSD License Price:
1366 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above mason jars search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed