Main > Programming > Libraries >

Class::MakeMethods::Template 1.01

Class::MakeMethods::Template 1.01

Sponsored Links

Class::MakeMethods::Template 1.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.16 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 859
Date added: 2007-06-18

Class::MakeMethods::Template 1.01 description

Class::MakeMethods::Template package contains extensible code templates.

SYNOPSIS

package MyObject;
use Class::MakeMethods::Template::Hash (
new => new,
string => foo,
number => bar,
);

my $obj = MyObject->new( foo => "Foozle", bar => 23 );
print $obj->foo();
$obj->bar(42);

MOTIVATION

If you compare the source code of some of the closure-generating methods provided by other subclasses of Class::MakeMethods, such as the hash accessors provided by the various Standard::* subclasses, you will notice a fair amount of duplication. This module provides a way of assembling common pieces of code to facilitate support the maintenance of much larger libraries of generated methods.

This module extends the Class::MakeMethods framework by providing an abstract superclass for extensible code-templating method generators.
Common types of methods are generalized into template definitions. For example, Template::Generics new provides a template for methods that create object instances, while Template::Generics scalar is a template for methods that allow you to get and set individual scalar values.

Thse definitions are then re-used and modified by various template subclasses. For example, the Template::Hash subclass supports blessed-hash objects, while the Template::Global subclass supports shared data; each of them includes an appropriate version of the scalar accessor template for those object types.

Each template defines one or more behaviors, individual methods which can be installed in a calling package, and interfaces, which select from those behaviours and indicate the names to install the methods under.

Each individual meta-method defined by a calling package requires a method name, and may optionally include other key-value parameters, which can control the operation of some meta-methods.

Class::MakeMethods::Template 1.01 Screenshot

Advertisements

Class::MakeMethods::Template 1.01 Keywords

Bookmark Class::MakeMethods::Template 1.01

Hyperlink code:
Link for forum:

Class::MakeMethods::Template 1.01 Copyright

WareSeeker periodically updates pricing and software information of Class::MakeMethods::Template 1.01 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 Class::MakeMethods::Template 1.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Class::MakeMethods::Template::Generic Perl module contains templates for common meta-method types. Free Download
Class::MakeMethods::Docs::ToDo is a Perl module with Ideas, problems, and suggestions. Free Download
The MfGames.Template library is a C# native library for creating template libaries. Free Download
Rose::Class::MakeMethods::Set is a Perl module to create class methods to manage sets. Free Download
Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express. Free Download
kmail templates is a patch for current 3.5 branch of kdepim package. Free Download
Blitz templates is a fast template engine written in C and compiled as a PHP module. Free Download
Class::DBI::Template::Stash is a Perl module with Template::Stash subclass for Class::DBI::Template. Free Download