Plugin::Installer 0.04
Sponsored Links
Plugin::Installer 0.04 Ranking & Summary
File size:
0.012 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
917
Date added:
2007-05-03
Publisher:
Steven Lembark
Plugin::Installer 0.04 description
Plugin::Installers goal is to provide a simple, flexable interface for developing plugin languages.
SYNOPSIS
package Myplugin;
use base qw( Plugin::Installer Plugin::Language::Foobar );
...
my $plugin = Myplugin->construct;
# frobnicate is passed first to Plugin::Installer
# via AUTOLOAD, then to P::L::Foobars compile
# method. if what comes back from the compiler is
# a referent it is intalled in the P::L::F namespace
# and if it is a code referent it is dispatched.
$plugin->frobnicate;
The goal of this module is to provide a simple, flexable interface for developing plugin languages. Any language that can store its object data as a hash and implement a "compile" method that takes the method name as an argument can use this class. The Plugin framework gives runtime compile, install, and dispatch of user-defined code. The code doesnt have to be Perl, just something that the object handling it can compile.
The installer is language-agnostic: in fact it has no idea what the object does with the name passed to its compioer. All it does is (by default) install a returned reference and dispatch coderefs. This is intended as a convienence class that standardizes the top half of any plugin language.
Note that any referent returned by the compiler is installed. Handing back a hashref can deposit a hash into the callers namespace. This allows for plugins to handle command line switches (via GetoptFoo and a hashref) or manipulate queues (by handing back an [udpated] arrayref.
By default coderefs are dispatched via goto, which allows the obvious use of compiling the plugin to an anonymous sub for later use. This make the plugins something of a trampoline object, with the exception that the "trampolines" are the class methods rather than the object itself.
SYNOPSIS
package Myplugin;
use base qw( Plugin::Installer Plugin::Language::Foobar );
...
my $plugin = Myplugin->construct;
# frobnicate is passed first to Plugin::Installer
# via AUTOLOAD, then to P::L::Foobars compile
# method. if what comes back from the compiler is
# a referent it is intalled in the P::L::F namespace
# and if it is a code referent it is dispatched.
$plugin->frobnicate;
The goal of this module is to provide a simple, flexable interface for developing plugin languages. Any language that can store its object data as a hash and implement a "compile" method that takes the method name as an argument can use this class. The Plugin framework gives runtime compile, install, and dispatch of user-defined code. The code doesnt have to be Perl, just something that the object handling it can compile.
The installer is language-agnostic: in fact it has no idea what the object does with the name passed to its compioer. All it does is (by default) install a returned reference and dispatch coderefs. This is intended as a convienence class that standardizes the top half of any plugin language.
Note that any referent returned by the compiler is installed. Handing back a hashref can deposit a hash into the callers namespace. This allows for plugins to handle command line switches (via GetoptFoo and a hashref) or manipulate queues (by handing back an [udpated] arrayref.
By default coderefs are dispatched via goto, which allows the obvious use of compiling the plugin to an anonymous sub for later use. This make the plugins something of a trampoline object, with the exception that the "trampolines" are the class methods rather than the object itself.
Plugin::Installer 0.04 Screenshot
Plugin::Installer 0.04 Keywords
Installer 0.04
to provide
plugin
object
provide
simple
languages
interface
Plugin::Installer
PluginInstaller
Plugin::Installer 0.04
Libraries
Programming
Bookmark Plugin::Installer 0.04
Plugin::Installer 0.04 Copyright
WareSeeker periodically updates pricing and software information of Plugin::Installer 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Plugin::Installer 0.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Template::Plugin::ASCIITable is a Perl module that allows you to use Text::ASCIITable in your templates. Free Download
Template::Plugin::Data::HTMLDumper is a template toolkit plugin interface to Data::HTMLDumper. Free Download
libRUIN is a rendering library for various XML-based user interface markup languages. Free Download
Object::Meta::Plugin::Host are hosts plugins that work like Object::Meta::Plugin. Free Download
Template::Plugin::MP3::Tag is a Perl interface to the MP3::Tag Module. Free Download
Nagios::Plugin::Getopt is a OO perl module providing standardised argument processing for Nagios plugins. Free Download
XML::Simple::DTDReader is a simple XML file reading based on their DTDs. Free Download
SPGM is a PHP script that displays picture galleries on the web. Free Download
Latest Software
Popular Software
Favourite Software