Tag : Singleton

Title User Language Tags Description Date
Javascript Static Singleton Pattern timsommer JavaScript

In conventional software engineering, the singleton pattern can be implemented by creating a class with a method that creates a new instance of the class if one doesn't In conventional software engineering, the singleton pattern can be implemented by creating a class with a method that creates a new instance of the class if one doesn't

July 30
Singleton Skeleton andrewroycarter Objective C

Credit: http://iphone.galloway.me.uk/iphone-sdktutorials/singleton-classes/

January 20, 2011
PHP Singleton Nakor PHP How to implement a PHP Singleton Class July 15, 2010
Singleton Template Class stayscrisp C++ A reusable singleton template class, makes the creation of singleton classes nice and easy. Its short but sweet. May 29, 2010
ReadOnlyPrivateSingletonImplicitThisMetaClass Chris Jones python

Are you a totally agile rock star developer? Turn your code into a rock concert with this handy metaclass that makes your classes suitable for production deployment!

May 7, 2010
Singleton(subclass) with once initialization Dmitry python

Yet one singleton realization on Python without metaclass. Singleton may has __init__ method which will call only when first object create.

April 23, 2010
Singleton mifly Java May 31, 2009
Simple Singleton Template allnatural ActionScript 3

Easily create a SINGLE USE ONLY (Singleton) Class Object with this template.

April 28, 2009
Singleton example k0b13r Java It's a very simple singleton design pattern example March 27, 2009
Caching Singleton class (subclassable) Eugene Mirotin python

Allows decorating and caching expensive data consuming tasks

November 26, 2008
Implementando Designer Pattern - Singleton Adriano Cavalcanti C# Toda vez que precisar ter controle sobre a instancia de uma classe utilize este Pattern November 20, 2008
PHP Singleton Class DaveChild PHP

Not extensively tested but should work just fine!

September 17, 2008
VB.NET Singleton Class DaveChild VB.NET September 11, 2008
Mixing in a Module immediately after an objects Singleton class chrisaiv Ruby

There are two ways to insert a module above the objects singleton class but before the objects Class

June 20, 2008
Singleton Class Robert Dunbar C# Example code of a singleton class April 3, 2008