Observer Pattern: Manage list of observer objects

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 49 All time: 503 This week: 1Up
Version License JavaScript version Categories
observer 0.1Free for non-comm...1.0Data types
Description Author

This package can be use to manage list of observer objects.

The list object can add an object to a list, return the object in a given list position, get the position of a object on the list and get the count of objects in the list, remove an object in a given position.

A timer object is provided as example of observer that can notify the list of added observers when a given timer countdown is reached.

Innovation Award
JavaScript Programming Innovation award winner
December 2014
Winner


Prize: One year server license IP to country, region, city, latitude, longitude, ZIP code, time zone, area code database
The observer design pattern can be used to keep track of a list of objects interested in events that happen on another object.

This package implements the observer design pattern to allow a list of objects be notified when a countdown timer reaches zero.

Manuel Lemos
Picture of Chi H.
Name: Chi H. <contact>
Classes: 3 packages by
Country: France France
Age: 38
All time rank: 1318 in France France
Week rank: 6 Up2 in France France Up
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.html Data example script
Accessible without login Plain text file example.js Example example script
Plain text file observer.js Class Main class
Accessible without login Plain text file unittest.html Data Unit Test
Accessible without login Plain text file unittest.js Test Unit Test

 Version Control Unique User Downloads Download Rankings  
 0%
Total:49
This week:0
All time:503
This week:1Up