Mixin
Class::Prototyped::Mixin Perl module contains Mixin Support for Class::Prototyped. SYNOPSIS Usage one: whip up a class and toss it in a scalar package HelloWorld; sub hello { my ($self, $age) = @_; return "Hello World! I am $age years old" } package HelloWorld::Uppercase; use base...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (92): Class::Prototyped::Mixin Download |
This script makes it easy to provide a full dictionary interface to a class defining only a few mapping methods for getting, setting, deleting, and listing keys. Also, a function is provided to incorporate the mixin at runtime so that code for existing modules need not be modified.By usmodules...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Dictionary Mixin / Framework Download |
This script implements the full suite of rich comparison operators if __cmp__ is defined.The __cmp__ method is sufficient to provide comparisons between user-defined classes. However, inheriting from a base class (such as a builtin) which already provides the rich-comparison methods will cause...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Rich Comparison Mixin Download |
This script allows you to create custom list classes from a small subset of list methods.Subclasses should define _get_element(i), _set_element(i, value), __len__(), _resize_region(start, end, new_size) and _constructor(iterable). Define __iter__() for extra speed. The _get_element() and...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): List mixin Download |
Felix Felicis (aka liquidluck) is a simple lightweight static blog generator. It supports markup of restructedText and markdown. Features . Light Weight It's really simple and lightweight, and requires less (only 4) libraries. . Fast It's static, it's really fast. . Organizable...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (40): liquidluck Download |
A simple django reusable application to provide markup control over a field in a model. Right now this is pretty hacked together, but should become more robust over time. Either way, I've found it quite useful in many places already. On big benefit? You can provide both a markup field, and a...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (39): django-markup-mixin Download |
Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an object-oriented scripting language based on Tcl. It was originally designed for providing language support for design patterns and provides novel constructs such as filters or transitive mixin classes. The language is designed for...
Platforms: *nix
License: Freeware | Size: 1.84 MB | Download (41): XOTcl for Linux Download |
Closure::Loop is a Perl module with redo, last, next for closure based loops. SYNOPSIS package MyIterator; use Closure::Loop; # mixin sub new { my $class = shift; return bless { }, $class; } sub forAll { my $self = shift; my $cb = pop || die "No callback"; for my $i (@_) { eval {...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (97): Closure::Loop Download |
Sprog is a graphical tool that anyone can use to build programs by plugging parts together. In Sprog jargon, the parts are known as gears and they are assembled to make a machine. Gears are selected from a palette and dragged onto the Sprog workbench, where they can be connected together....
Platforms: *nix
License: Freeware | Size: 245.76 KB | Download (104): Sprog Download |
Rose::DB::Object::Helpers is a mix-in class containing convenience methods for Rose::DB::Object. SYNOPSIS package MyDBObject; use Rose::DB::Object; our @ISA = qw(Rose::DB::Object); use Rose::DB::Object::Helpers clone, { load_or_insert => find_or_create }; ... $obj =...
Platforms: *nix
License: Freeware | Size: 481.28 KB | Download (114): Rose::DB::Object::Helpers Download |
Data::Inherited is a Perl module with hierarchy-wide accumulation of list and hash results. SYNOPSIS package Foo; use base Data::Inherited; use constant PROPERTIES => (qw/name address/); package Bar; use base Foo; use constant PROPERTIES => (qw/age/); package main; my $bar =...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (102): Data::Inherited Download |
PLWM is a Python package, containing classes suitable for implementing a window manager. PLWM is also a window manager, using the PLWM package. Whats New in This Release: - This is mostly a bug fix release, to get the latest set of fixes out the door. - Distutils is now used to build and...
Platforms: *nix
License: Freeware | Size: 450.56 KB | Download (91): PLWM Download |
Albatross library is a small and flexible Python toolkit for developing highly stateful web applications. The toolkit has been designed to take a lot of the pain out of constructing intranet applications although you can also use Albatross for deploying publicly accessed web applications. In...
Platforms: *nix
License: Freeware | Size: 256 KB | Download (89): Albatross 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 |
Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. Scala smoothly integrates features of object-oriented and functional languages including mixins, algebraic datatypes with pattern matching, genericity,...
Platforms: *nix
License: Freeware | Size: 13.2 MB | Download (105): Scala 2.5.1 / 2.6.0 Download |
Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. Scala smoothly integrates features of object-oriented and functional languages including mixins, algebraic datatypes with pattern matching, genericity,...
Platforms: *nix
License: Freeware | Size: 5.1 MB | Download (95): Scala Download |
Magda language was specially designed as a new programming language that is based on a thesis research.
Magda language contains the core notion of mixin, which defines a building block from which objects are created.
The first feature is the modularization of constructors. In Magda approach...
Platforms: Windows
License: Freeware | Download (48): Magda language Download |
Mixins are a powerful concept for object-oriented class composition. re-mix is a powerful package that comprises mixins for C# and Visual Basic .NET.
While C# and VB.NET are continuously improving, they still support only a single mechanism for class composition: single inheritance. Over the...
Platforms: Windows
License: Freeware | Download (55): re-mix Download |
Functional Programming for Python. Provides a small mixin to provide 1) type constraints for named tuples 2) pre/postcondition typechecking for functions 3) syntactical sugar to make your code look pretty (accomplished through a PEP 302 import hook)
Platforms: Windows, Mac, Linux
License: Freeware | Size: 5.75 KB | Download (48): Pii - Functional Programming for Python Download |
The Whiteoak programming language, http://whiteoak.sourceforge.net, is a Java 6 extension that supports: structural subtyping (structural conformance), virtual fields and constructors, mixin-like/trait-like composition of objects and more.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 3.1 MB | Download (53): Whiteoak Download |