Main > Programming > Libraries >

Class::Container 0.12

Class::Container 0.12

Sponsored Links

Class::Container 0.12 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.019 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1113
Date added: 2006-10-06
Publisher: Ken Williams

Class::Container 0.12 description

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

Class::Container 0.12 Screenshot

Advertisements

Class::Container 0.12 Keywords

Bookmark Class::Container 0.12

Hyperlink code:
Link for forum:

Class::Container 0.12 Copyright

WareSeeker periodically updates pricing and software information of Class::Container 0.12 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::Container 0.12 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::Inner is a perlish implementation of Java like inner classes. Free Download
Class::CGI is a Perl module to fetch objects from your CGI object. Free Download
Class::Contract - Design-by-Contract OO in Perl. Free Download
Class::StrongSingleton is a stronger and more secure Singleton base class. Free Download
Basset::Container::Hash Perl module implements a layered hash. Free Download
Class::Adapter is a Perl implementation of the "Adapter" Design Pattern. Free Download
Class::Driver is a Perl module to generate driver ("composite") class hierarchies on-the-fly. Free Download
Class::Meta is a Perl class automation, introspection, and data validation. Free Download