Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.547.448 Times

Class::MakeMethods::Template 1.01

  Date Added: May 07, 2010  |  Visits: 599

Class::MakeMethods::Template

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Classmakemethodstemplate Code Contains Extensible Libraries Makemethods Methods Package Programming Template
Users rating: 0/10

License: Freeware Size: 163.84 KB
USER REVIEWS
More Reviews or Write Review


CLASS::MAKEMETHODS::TEMPLATE RELATED
Libraries  -  KOJAC 1.0
KOJAC project contains Java libraries and applications for optical raytracing. KOJAC is a set of Java classes implementing optical elements and optics laws in order to build and simulate optical systems. It is also aimed at being a...
61.44 KB  
Audio Tools  -  MindsEye for Linux 20020617
MindsEye is a highly modular and extensible 3d modeling/animation package with support for NURBS surfaces. It's designed to allow multiple scenes and to provide extensive network support. Mutli-user support is also planned.
471.04 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  AxKit2::Transformer::XSP 1.1
AxKit2::Transformer::XSP Perl module contains eXtensible Server Pages. SYNOPSIS Time::Piece XSP...
645.12 KB  
Libraries  -  MetaRuby 0.7
MetaRuby contains miscellaneous libraries (useful now) for a future Ruby-in-Ruby interpreter including Array/Hash/String as abstract ("Hollow") classes, an undo queue, a statistical time-profiler. It also has an event loop, a modular marshaller...
52.22 KB  
Development Editors  -  IDAutomation Java Barcode Package for Mac OS 9.11
The JavaBeans, Applets, Servlets and Class Libraries in this package may be used on any platform with a Java Virtual Machine, including Windows, Linux, MacOS, Unix, Solaris, HP/UX, AS/400 and OS/390 to integrate automated barcoding in Java...
2.2 MB  
Libraries  -  Hub::Perl::Language 04.00.012
Hub::Perl::Language is a Perl module that contains a lot of methods. PUBLIC METHODS sizeof Integer size of hashes, arrays, and scalars Usage: sizeof %hash Usage: sizeof @array Usage: sizeof $scalar_ref Usage: sizeof $scalar Usage:...
143.36 KB  
Science  -  R Package for the Analysis of DCE-MRI 4.0.45
A collection of code, bundled into a single R package, to perform several aspects of data management, image pre-processing, data analysis and statistical inference related to the quantitative analysis of dynamic contrast-enhanced MRI (DCE-MRI).
4.16 MB  
Programming  -  PRAjax - PHP Reflected Ajax 1.2.8
The PRAjax class can be used to reflect PHP code into JavaScript and Ajax methods and vice-versa. PHP objects can be used in JavaScript trough Ajax calls, both properties and (registered) functions.
402.73 KB  
Programming  -  TeXGrapher 1.0
TeXGrapher is an application for drawing graphs and exporting them into code for GraphTeX, which is a package for LaTeX that provides macros for specifying drawings within LaTeX source file.
483.31 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB