Template::Plugin::Heritable 0.02
Sponsored Links
Template::Plugin::Heritable 0.02 Ranking & Summary
File size:
0.021 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
828
Date added:
2007-07-18
Publisher:
Sam Vilain
Template::Plugin::Heritable 0.02 description
Template::Plugin::Heritable is a Perl module with OO dispatching and inheritance for templates.
SYNOPSIS
[% USE Heritable %]
[%# searches providers for a "view" template method on
class (which should be a metamodel object, eg
someobj.meta in Perl 6) %]
[% Heritable.include(class, "view", { self = object }) %]
[%# return list of paths it would look %]
[% paths = Heritable.dispatch_paths(class, "view") %]
[%# if you dont have the class of the object handy, then
use invoke instead %]
[% Heritable.invoke(object, "method", { self = object } %]
[%# call the next method in the inheritance tree from
inside a template method %]
[% next_template() %]
Template::Plugin::Heritable provides support for selecting an appropriate template based on the class of an object. It is also possible to call the next template in the inheritance heirarchy/chain.
This provides a form of inheritance for template display.
The core of this is the template dispatch mechanism, which deals in terms of a suitable metamodel class. The module currently deals in the following metamodels; but no doubt you could fool it with modules which encapsulate other metamodels (such as Perl 5, NEXT, Class::C3, DBIx::Class::Schema, etc) with minimal effort by conforming to one of their APIs.
SYNOPSIS
[% USE Heritable %]
[%# searches providers for a "view" template method on
class (which should be a metamodel object, eg
someobj.meta in Perl 6) %]
[% Heritable.include(class, "view", { self = object }) %]
[%# return list of paths it would look %]
[% paths = Heritable.dispatch_paths(class, "view") %]
[%# if you dont have the class of the object handy, then
use invoke instead %]
[% Heritable.invoke(object, "method", { self = object } %]
[%# call the next method in the inheritance tree from
inside a template method %]
[% next_template() %]
Template::Plugin::Heritable provides support for selecting an appropriate template based on the class of an object. It is also possible to call the next template in the inheritance heirarchy/chain.
This provides a form of inheritance for template display.
The core of this is the template dispatch mechanism, which deals in terms of a suitable metamodel class. The module currently deals in the following metamodels; but no doubt you could fool it with modules which encapsulate other metamodels (such as Perl 5, NEXT, Class::C3, DBIx::Class::Schema, etc) with minimal effort by conforming to one of their APIs.
Template::Plugin::Heritable 0.02 Screenshot
Advertisements
Template::Plugin::Heritable 0.02 Keywords
OO
Heritable 0.02
Perl module
inheritance
template
object
class
Perl
module
Template::Plugin::Heritable
TemplatePluginHeritable
Template::Plugin::Heritable 0.02
Libraries
Programming
Bookmark Template::Plugin::Heritable 0.02
Template::Plugin::Heritable 0.02 Copyright
WareSeeker periodically updates pricing and software information of Template::Plugin::Heritable 0.02 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 Template::Plugin::Heritable 0.02 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
template gallery
inheritance cash advances
perl modules
inheritance trilogy
resume templates
templates microsoft
inheritance tax laws
inheritance tax
templates
inheritance forums
templates wilson jones
shining inheritance
install perl module
classic industries
object lessons
method of inheritance of poplydactyly
resume template
templates dreamweaver
Related Software
Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values. Free Download
Template::Plugins is a Perl module with plugin provider module. Free Download
HCKit::Template is a Perl module with a template system for HTML construction. Free Download
Plagger::Plugin::Filter::Babelfish is a Perl module to translate via WWW::Babelfish. Free Download
Template::Alloy::TT Perl module contains a Template::Toolkit role. Free Download
Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package. Free Download
Test::Perl::Critic is a Perl module use Perl::Critic in test programs. Free Download
Class::DBI::Template::Stash is a Perl module with Template::Stash subclass for Class::DBI::Template. Free Download
Latest Software
Popular Software
Favourite Software