Methods Example
The memento pattern is great for transaction-like processing. This script adds transactional semantics to methods. Methods decorated with @transactional will rollback to entry state upon exceptions.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Memento Closure Download |
Catalyst::Example::InstantCRUD is a CRUD scaffolding for Catalyst. SYNOPSIS instantcrud.pl -name=My::App -dsn=dbi:Pg:dbname=CE -user=zby -password=pass The instantcrud.pl executable creates a skeleton CRUD application in current directory. The parameters are: name of the application and...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (95): Catalyst::Example::InstantCRUD Download |
Catalyst::Example::Controller::InstantCRUD is a Catalyst CRUD example Controller. SYNOPSIS use base Catalyst::Example::Controller::InstantCRUD; METHODS load_interface_config Returns the config hash for input forms (widgets) and other interface elements get_resultset Returns the...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (101): Catalyst::Example::Controller::InstantCRUD Download |
This allows a site owner to choose which USPS shipping methods will be available to the customer. Settings can be changed in the admin interface under Modules->Shipping->United States Postal Service.For example, if you select "Express" and "Priority", then a customer will only be shown those two...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (50): USPS Methods 2.8d Download |
The point is that python doesn't have a notion of abstract methods.Abstract methods are part of a base class that defines an interface, without any code. Abstract methods can't be called directly, because they don't contain any code in their definition. In the definition of the base class, you...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Abstract methods/classes Download |
When creating a class,one often end up writing lots get/set methods which essentially do the same thing e.g. get_name, get_age, ... , set_name, set_age, ... - each such method will simply set or return the value of its associated attribute. This script is a stategy for automating the creation of...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Generating get/set methods using closures Download |
Proxy Example script demonstrates how to build a proxy object.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Proxy Example Download |
This script implements class methods that do not require an object instance.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Static or Class Methods Download |
Mutating list methods such as 'append' or 'extend' return None instead of the (mutated) list itself. Sometimes, this is not the desired behaviour. To have a reference to the (mutated) list returned is usefull, if one wants to chain commands such as mylistinstance.append(7).sort().
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Changing return value for mutating list methods Download |
This example shows how to implement a Listbox control into your applications.It also shows how to add, delete, kill duplicates and search for an item. & add, delt;
Platforms: C and C plus plus
License: Freeware | Size: 10 KB | Download (50): Listbox Example Download |
Windows Animation Example code shows you how to make animation in C .
Platforms: C and C plus plus
License: Freeware | Size: 20.48 KB | Download (54): Windows Animation Example Download |
Play Wav File Example shows how to play a .wav file through your application and the different options (SYNC, ASYNC, LOOP).
Platforms: C and C plus plus
License: Freeware | Size: 10 KB | Download (70): Play Wav File Example Script Download |
The overlap add and overlap save are the two generally implemented methods when the input is greater than the maximum processible block in MATLAB because of memory constraints.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Overlap Add Overlap Save methods implementation for block DFT processing Download |
ulxmlrpcpp is a library to call methods on a remote server. ulxmlrpcpps main goal is to be as easy to use as possible but be fully compliant. It is object oriented and written in C++. ulxmlrpcpp is a library to perform calls via XML-RPC in an object oriented approach implemented in C++. It is...
Platforms: *nix
License: Freeware | Size: 542.72 KB | Download (90): ulxmlrpcpp Download |
CAD::Drawing is a Perl module with methods to create, load, and save vector graphics. SYNOPSIS The primary intention of this module is to provide high-level operations for creating, loading, saving and manipulating vector graphics without having to be overly concerned about smile floormats....
Platforms: *nix
License: Freeware | Size: 39.94 KB | Download (228): CAD::Drawing Download |
Method::Declarative is a Perl module to create methods with declarative syntax. SYNOPSIS use Method::Declarative ( --defaults => { precheck => [ [ qw(precheck1 arg1 arg2) ], # ... ], postcheck => [ [ qw(postcheck1 arg3 arg4) ], # ... ], init => [ [ initcheck1 ], # ... ],...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (92): Method::Declarative Download |
CompBio::DB is a Perl module with methods for accessing data stored according to the CompBio base schema. SYNOPSIS use CompBio::DB; my $cbdb = CompBio::DB->new({host => "foo.bar.edu"); my $AR_defs = $cbdb->get_annotation([keys %seqs]); Example code for parsing the return for a simple...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (93): CompBio::DB Download |
MyPageKit::MyModel is an example Derived Model Class implementing Backend Code for pagekit.org website. This module provides a example of a Derived Model component (Business Logic) of a PageKit website. It is also the code used for old the http://www.pagekit.org/ web site. It contains two...
Platforms: *nix
License: Freeware | Size: 133.12 KB | Download (88): MyPageKit::MyModel Download |
WordNet::Similarity::PathFinder is a Perl module to implement path finding methods (by node counting) for WordNet::Similarity measures of semantic relatedness. SYNOPSIS use WordNet::QueryData; my $wn = WordNet::QueryData->new; use WordNet::Similarity::PathFinder; my $obj =...
Platforms: *nix
License: Freeware | Size: 645.12 KB | Download (92): WordNet::Similarity::PathFinder Download |
Brahmi project aims at producing Java Input Methods and OpenType fonts for Indian languages. They are bundled with Brahmi - Word Processor which installs the fonts, Input Methods and font.properties files
Platforms: Windows, Mac, Linux
License: Freeware | Size: 907.02 KB | Download (60): Brahmi - Indic Input Methods & OT fonts Download |