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 32.391.092 Times

Class::MakeMethods::Template 1.01

  Date Added: May 07, 2010  |  Visits: 649

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  -  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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
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