Null Object Design Pattern

License: Freeware
Date Added: 20 May, 2013
Category: Scripts / Others
Author: activestate.com

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


Advertisements



 

This script is a sample implementation of the 'Null Object' design pattern. Roughly, the goal with Null objects is to provide an 'intelligent' replacement for the often used primitive data type None in Python or Null (or Null pointers) in other languages. These are used for many purposes including the important case where one member of some group of otherwise similar elements is special for whatever reason. Most often this results in conditional statements to distinguish between ordinary elements and the primitive Null value.


Operating Systems:  Python, Windows, Linux, BSD, Solaris, Mac OS


Null Object Design Pattern Related Downloads
 
Download Observer Design Pattern 1.1

Observer Design Pattern 1.1  This class implements the observer design pattern. Acting as a registration hub, it fires simple Events when requested.

Download Memento design pattern in python 1.0

Memento design pattern in python 1.0  Memento design pattern in python script allows you to cache instances based on what arguments are passed to them.

Download Handler stack 2.2

Handler stack 2.2  This script presents a design pattern that is highly reusable. Simple handlers implement one specific task from a complex set of tasks to be performed on an object.

Download Metaclass Class Policies 1.2

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

Download SILVERRUN ModelSphere 2.5

SILVERRUN ModelSphere 2.5  SILVERRUN ModelSphere combines business process, data and UML modeling and provides a complete model management environment. Separately available modules integrate and share metadata within the same project.

Download EMS SQL Manager 2007 Lite for MySQL 4.2

EMS SQL Manager 2007 Lite for MySQL 4.2  EMS SQL Manager Lite for MySQL is an excellent freeware graphical tool for MySQL Server administration. It has minimal required set of instruments for those users who are new to MySQL server and need only its basic functionality.

Download DllRegSvr 1.1

DllRegSvr 1.1  This is a simple tool for registering ActiveX dll and ocx controls. It uses a Windows interface so it is quicker and easier than working at the command prompt.

Download VB Project Eye Freeware 4.0

VB Project Eye Freeware 4.0  VB Project Eye is an analysis tool for cross-references, graphical call chains and statistics. The program makes an easy navigation possible by the call chains of a Visual Basic project and represents project statistics in open diagrams.

Download Scriptol PHP Compiler 7.0

Scriptol PHP Compiler 7.0  Scriptol is a modern object oriented programming language with innovative features as XML declaration in source code . It may be interpreted or compiled or embedded into web pages.

Others Popular Downloads
 
Download mvnForum .2GA 1.0

mvnForum .2GA 1.0  mvnForum is an open source, powerful, easy to use, easy to setup bulletin board (forum) built on the Java J2EE technology (Jsp/Servlet). mvnForum is compatible with any Servlet Containers which supports Jsp 1.2 and Servlet 2.3.

Download Aardvark Topsites PHP 5.2.0

Aardvark Topsites PHP 5.2.0  Aardvark Topsites PHP has a ton of features. I'm not going to bore you with all the inane details, but here is a list of the main features. - Members ranks can be shown on their button.

Download Guestbook class 1.0

Guestbook class 1.0  This class is meant to manage a guest book storing its records either in XML files database or in a SQL database. Currently it supports only MySQL databases.

Download MOC Designs PHP News 1.1

MOC Designs PHP News 1.1  MOC Designs PHP News is a PHP-SQL powered, dynamic, news editor and displayer. Adding news on your website is done through a web-page form, saving you the time of editing your news page and then uploading the news page again.

Download Php Board Script 6.4.3

Php Board Script 6.4.3  Php Board Script allows you to create a simple discussion forum. It is made in Php, without My SQL, which on each server or Webspace is installed in well 5 minutes.

Download CMS Mini 0.2.2

CMS Mini 0.2.2  CMS Mini is a very small PHP application for manage content for small web sites. Not intended for a cooperative group of editors and rewiers: simply one editor can insert new contents, immediatly pubblished on web: "one task, one click".

Download m-phorum 0.3

m-phorum 0.3  m-phorum is a new small phorum, using PHP with one mysql database backend. Tested on php 4.3, apache 1.3.27 & mysql 3.23.52. It is simple and fast.

Download PDF::Reader 1.0

PDF::Reader 1.0  The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.

Download guest-magic 0.1.2

guest-magic 0.1.2  guest-magic is a friendly tool for the rapid provisioning of Xen Guest Domains. It is written in Python with a pyGTK/Glade based user interface for maximum user friendliness. The code can be easily ported across many operating systems.

Submit Reviews for Null Object Design Pattern
- required fields