Class
Class::Adapter is a Perl implementation of the "Adapter" Design Pattern. The Class::Adapter class is intended as an abstract base class for creating any sort of class or object that follows the Adapter pattern. What is an Adapter? The term Adapter refers to a "Design Pattern" of the same...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (102): Class::Adapter Download |
Class::Observable is a Perl module that allows other classes and objects to respond to events in yours. SYNOPSIS # Define an observable class package My::Object; use base qw( Class::Observable ); # Tell all classes/objects observing this object that a state-change # has occurred sub...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (102): Class::Observable Download |
Class::MethodMaker::V1Compat is a V1 compatibility code for C::MM. SYNOPSIS This class is for internal implementation only. It is not a public API. Class::MethodMaker version 2 strives for backward-compatiblity with version 1 as far as possible. That is to say, classes built with version 1...
Platforms: *nix
License: Freeware | Size: 88.06 KB | Download (102): Class::MethodMaker::V1Compat Download |
Class::Accessor::Fast::Contained is a Perl module for fast accessors with data containment. SYNOPSIS package Foo; use base qw(Class::Accessor::Fast::Contained); # The rest is the same as Class::Accessor::Fast This module does two things differently to the venerable Class::Accessor::Fast...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (101): Class::Accessor::Fast::Contained Download |
Class::Accessor::Named is a great way to automate the tedious task of generating accessors and mutators. One small drawback is that due to the details of the implemenetation, you only get one "__ANON__" entry in profiling output. That entry contains all your accessors, which can be a real pain...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (100): Class::Accessor::Named Download |
Validate_fields Class is an easy-to-use form field validation PHP script. This class can be used to validate database inputs or mail forms. It can validate simple text, numbers, dates, urls, email addresses, and the presence of HTML tags. Invalid form fields will be reported inside a detailed...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (100): Validate_fields Class Download |
This may be one of the simplest C++ class libraries for Windows developers! A static library compiled on Microsoft Visual C++ 6.0 is available, and all source codes of the library are included. One of the striking features of SOL++2000 is the simplicity of handling of Windows events.
Platforms: Windows
License: Freeware | Size: 1.3 MB | Download (100): SOL++2000 Class Library Download |
Class::HPLOO is an easier way to declare classes on Perl, based in the popular class {...} style and ePod. USAGE use Class::HPLOO ; class Foo extends Bar , Baz { use LWP::Simple qw(get) ; ## import the method get() to this package. attr ( array foo_list , int age , string name , foo )...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (99): Class::HPLOO Download |
Class::Method::hash is a Perl module that helps you create methods for handling a hash value. SYNOPSIS use Class::MethodMaker [ hash => [qw/ x /] ]; $instance->x; # empty $instance->x(a => 1, b => 2, c => 3); $instance->x_count == 3; # true $instance->x = (b => 5, d => 8); # Note this...
Platforms: *nix
License: Freeware | Size: 89.09 KB | Download (99): Class::Method::hash Download |
Class::DBI::Plugin::FilterOnClick is a Perl module to generate browsable and searchable HTML Tables using FilterOnClick in conjunction with Class::DBI. SYNOPSIS # Inside of your sub-class of Class::DBI add these lines: use Class::DBI::Plugin::FilterOnClick; use Class::DBI::Pager; use...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (98): Class::DBI::Plugin::FilterOnClick Download |
class.upload.php manipulates uploads and images very easily. It can convert and resize uploaded images in many ways. It uses the GD library. How does it work? - the class constructor upload handles a uploaded file (it can also handle a local file) some optional parameters can be set up to...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (98): class.upload.php Download |
Class::Inner is a perlish implementation of Java like inner classes. SYNOPSIS use Class::Inner; my $object = Class::Inner->new( parent => ParentClass, methods => { method => sub { ... } }, }, constructor => new, args => [@constructor_args], ); Yet another implementation of an...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (98): Class::Inner Download |
EXAMPLE # This is a really long synopsis, but hopefully it will give you an idea... package MyPackage; use Class::Driver; use base q(Class::Driver); our %drivers; return 1; sub new { my($class, %args) = @_; die "mime_type is required" unless($args{mime_type}); die "no driver to...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (98): Class::Driver Download |
Class::DBI::DataMigration::Mapping is an abstract parent class for objects that map a single column in a single row from the source database to the target database. Synopsis use Class::DBI::DataMigration::Mapping; # ... Later, when building $mappings hashref for use by a #...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (97): Class::DBI::DataMigration::Mapping Download |
Class::MOP is a Meta Object Protocol for Perl 5. SYNOPSIS # ... This will come later, for now see # the other SYNOPSIS for more information This module is an attempt to create a meta object protocol for the Perl 5 object system. It makes no attempt to change the behavior or characteristics...
Platforms: *nix
License: Freeware | Size: 73.73 KB | Download (97): Class::MOP Download |
Class::Agreement is a Perl module that add contracts to your Perl classes easily. SYNOPSIS package SomeClass; use Class::Agreement; # use base Class::Accessor or Class::MethodMaker, # or roll your own: sub new { ... } invariant { my ($self) = @_; $self->count > 0; }; precondition...
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (96): Class::Agreement Download |
The Ionflux Tools Class Library is a lightweight multi-platform C++ framework designed for rapid development of applications in a client/server architecture. The Ionflux Tools Class Library is released under the GNU General Public License, meaning it is free software! (See LICENSE in the...
Platforms: *nix
License: Freeware | Size: 245.76 KB | Download (96): Ionflux Tools Class Library Download |
Class::XML is a Perl module for simple XML Abstraction. SYNOPSIS package Foo; use base qw/Class::XML/; __PACKAGE__->has_attributes(qw/length colour/); __PACKAGE__->has_child(bar => Bar); package Bar; use base qw/Class::XML/; __PACKAGE__->has_parent(foo);...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (96): Class::XML Download |
Class::StrongSingleton is a stronger and more secure Singleton base class. SYNOPSIS package My::Singleton::Class; use base qw(Class::StrongSingleton); sub new { my ($class, %my_params) = @_; # create our object instance my $instance = { %my_params }; bless($instance, $class); # and...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (96): Class::StrongSingleton Download |
Class::Generate is a Perl module that can generate Perl class hierarchies. SYNOPSIS use Class::Generate qw(class subclass delete_class); # Declare class Class_Name, with the following types of members: class Class_Name => [ s => $, # scalar a => @, # array h => %, # hash c => Class, #...
Platforms: *nix
License: Freeware | Size: 53.25 KB | Download (96): Class::Generate Download |