Wednesday, May 7, 2014

Episode 33: Design Patterns


Download

News
Book of the Show
Tool of the Show
  • Jason: VirtualBox
  • Patrick: Bittorrent Sync

Design Patterns
  • Singleton
    • Create only one instance of a class
      • Eager Initialization
      • Lazy Initialization
    • Example: Instance of a log file that should be shared across application
    • Danger: Use as Replacement for global variables
  • Facade
    • ZombieDB
  • Observer (Publisher/Subscriber)
    • Asynchronous device driver
    • Socket.IO
  • Resources