Tagged with 'MVC'
Snippets
-
ActionScript Singleton by vixiom
The singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. Often a singleton is used as the Model in a Model View Controller (MVC) structure. Useful if you're looking for a quick (and better) way to store global variables and data than dumping them in a global or root holder.


