JS Dsgn Patterns 20 Patterns for Advancing Your JS Skills: Singleton Dsgn Pattern | packtpub.com
338 views · Published 4 November 2015 · 13:32 · Indexed 29 October 2026
Channel: Packt · 2015 · Science & Technology
Part of 'JavaScript Design Patterns 20 Patterns for Advancing Your JavaScript Skills' video series. For full Course visit: http://bit.ly/20tpuVA The Singleton design pattern restricts instantiation to a single instance and enables a delayed instantiation. This enables a public constant API to retrieve the instance while validating that only one instance of it can ever be created. This makes it easy to share the object with multiple objects. • Check out the delayed instantiation of an object • Take a look at the constant interface to gain access to the object • Check out how only one instance of the object is needed For the latest web development video tutorials, please visit http://bit.ly/1KYwKQ5 Find us on Facebook -- http://www.facebook.com/Packtvideo Follow us on Twitter - http://www.twitter.com/packtvideo
More from this channel
-
4:13
Fast Track to Adobe Captivate 6 Tutorial: Inserting New Slides | packtpub.com
-
3:24
UDK Game Programming with UnrealScript Tutorial: Configuring Kismet | packtpub.com
-
7:48
Building a Website with Drupal Tutorial: Content Types and Location | packtpub.com
-
2:40
Getting Started with Magento Tutorial: Introduction to Payment Methods | packtpub.com
-
3:25
Getting Started with Apache Maven Tutorial: Introducing Maven Plugins | packtpub.com
-
2:55
Moodle for Mobile Learning Tutorial: LTI (Learning Tool Interoperability) | packtpub.com
-
3:56
Moodle for Mobile Learning Tutorial: Embedding Twitter Feeds in Moodle | packtpub.com
-
4:27
XNA 3D Game Development By Example Tutorial: Drawing Sprites | packtpub.com