5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

Aspire     Web Programmer to Apprentice Programmer     Apprentice Programmer Track 4: Apprentice Programmer

In this 12-video course, learners discover how to implement the Observer pattern for communication and the Iterator pattern to work with collections. Examine how to set up publishers and subscribers and the role of Observer pattern in event handling, then learn how to trigger custom events in jQuery, use Observer pattern with custom events, iterate over elements in a collection, and use Iterators in jQuery. Key concepts covered here include main characteristics of Observer pattern and how it is widely used in practice; how to implement publishers and subscribers; and how to publish messages with the publisher and receive them as subscribers. Learn about the role of Observer pattern in event handling; how to trigger custom events in jQuery; and observe how to design the Observer pattern with custom events in jQuery. Finally, learn about characteristics of Iterator pattern and how it allows access to elements within a collection in a sequential manner; how to implement Iterator Mixin; learn iterating over elements in a collection; and implement Iterators in jQuery.



Objectives

Design Patterns in JavaScript: Observer & Iterator Behavioral Patterns

  • discover the key concepts covered in this course
  • recall the key characteristics of the Observer pattern
  • implement publishers and subscribers
  • publish messages using the publisher and receive them at subscribers
  • recognize the role of the Observer pattern in event handling
  • trigger custom events in jQuery
  • design the Observer with custom events in jQuery
  • describe characteristics of the Iterator pattern
  • implement the Iterator mixin
  • iterate over elements in a collection
  • describe Iterators in jQuery
  • recall the key concepts covered in this course