roopurt18 Posted June 14, 2007 Share Posted June 14, 2007 I've written a short tutorial on creating singletons within Javascript. I'm posting it here for a couple reasons. The first is that I'm tired and likely made a mistake; if anyone notices any errors I'd like to hear about them. The second is it might help the readers of this forum. http://rbredlau.com/drupal/node/8 Cheers! Link to comment https://forums.phpfreaks.com/topic/55541-tutorial-how-to-make-a-singleton/ Share on other sites More sharing options...
lighton Posted June 15, 2007 Share Posted June 15, 2007 whats a singleton? Link to comment https://forums.phpfreaks.com/topic/55541-tutorial-how-to-make-a-singleton/#findComment-275206 Share on other sites More sharing options...
jimmyyami Posted June 15, 2007 Share Posted June 15, 2007 ??? ??? yeah!! yeah!! whats a singleton? Link to comment https://forums.phpfreaks.com/topic/55541-tutorial-how-to-make-a-singleton/#findComment-275327 Share on other sites More sharing options...
roopurt18 Posted June 15, 2007 Author Share Posted June 15, 2007 A singleton is an object of which only one instance can exist at any given time. I take it you chaps didn't read the tutorial or have a great sense of humor. Link to comment https://forums.phpfreaks.com/topic/55541-tutorial-how-to-make-a-singleton/#findComment-275364 Share on other sites More sharing options...
lighton Posted June 15, 2007 Share Posted June 15, 2007 why would you need a singleton? Link to comment https://forums.phpfreaks.com/topic/55541-tutorial-how-to-make-a-singleton/#findComment-275390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.