Stateful Objects use Mix-ins to define behaviour 1.0

Version: 1.0

Downloads:0

Hits:516

SourceNO

Link Broken:Report It!

Package:Without source

Price:$0

More info Download

Description

If you want to implement stateful objects, which have a different set of behaviours according to what state they are in, this requirement can be achieved with the use of mix-ins. A mix-in is a class which is dynamically inherited by an object. The methods of the mix-in class are thus accessible through the object. This is a clean way of providing objects with standard interfaces.

Language: Python

Related:

Define Behaviour - Object Oriented Programming - Objects - Programming - Stateful - Stateful Objects

User Reviews:

Write Review *
Your name *
Email *
(Your comments will be reviewed by our staff before they are posted)
Rate this product *
Captcha Image
Enter code from image *

 

Related:

Simple Collection class 1.0

This script deals with a collection groups a set of objects together and forwards attribute lookups to all elements of the collection that...

By: code.activestate.com Homepage

Freeware

Factory pattern 1.1

In the factory pattern script you have an object that creates other objects.

By: code.activestate.com Homepage

Freeware

Just in time instantiation 1.0

JIT is a class for Just In Time instantiation of objects.

By: code.activestate.com Homepage

Freeware

ObjectMerger 1.1

The ObjectMerger class dynamically merges two given objects, making one a subclass of the other.

By: code.activestate.com Homepage

Freeware

SimPy 1.8

SimPy (= Simulation in Python) is an object-oriented, process-based discrete-event simulation language based on standard Python.

By: Simpy Homepage

Freeware

True Objects 1.0

True Objects is an object-oriented web development framework, based on PHP, MySQL, jQuery, JSON, Ajax, CSS and dynamic HTML.

By: Trueobjects Homepage

Freeware

PRADO 1.0beta

This is a PHP built development framework with which you can build powerful web applications through an object oriented approach. This web...

By: Xi Software Community Homepage

Freeware

OO PHP Library 1.8a 1.0

OO PHP Library is an object-oriented library written in PHP with enhanced features for RAPID creation of web-interface to databases.

By: Oophplib Homepage

Freeware

Introduction to PHP Classes

Introduction to PHP Classes is a PHP based article with which you can get introduced with all PHP classes along with its structure and usage. Using...

By: PHP freak Homepage

Freeware

MerlinWork 0.9.0-rc1

A fully Object-Oriented PHP framework for building stateful web applications. It is totally event driven. Every object can trigger actions on a...

By: merlinwork.sourceforge.net Homepage

Freeware