Memento design pattern in python

Category: Python - Education

Memento design pattern in python script allows you to cache instances based on what arguments are passed to them. Date: 12 January, 2012


Design Pattern - Pattern In Python - Memento Design - Design - Pattern - Python

Homepage: http://code.activestate.com/

Developer: code.activestate.com

License: Freeware

Operating System: All

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

This script is a sample implementation of the 'Null Object' design pattern.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This code implements the policy design pattern in Python by using metaclasses and multiple inheritance.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script presents a design pattern that is highly reusable.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


Singleton design pattern implementation in ruby.

developer Developer: snippets.dzone.com
license License: Freeware
operating systems Operating System: Windows, Linux


This class implements the observer design pattern.

developer Developer: code.activestate.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Take an instance (call it foo) and create a factory class (call it InstanceFactory) that produces foo's.

developer Developer: Daniel Cohn
license License: Freeware
operating systems Operating System: Windows


This recipe builds on two previously posted recipes for a null or dummy object by modifying a few methods (e.

developer Developer: George Sakkis
license License: Freeware
operating systems Operating System: Windows


This function makes it easier to use the timeit module from the interactive interpreter.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


This script is an implementation of a round-robin algorithm for "fair" pairing of items from a list.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All