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    
Last Updated Ratings Unique User Downloads Download Rankings
2014-12-11 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 49 All time: 496 This week: 3Up
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

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
Name: Chi Hoang <contact>
Classes: 3 packages by
Country: Viet Nam Viet Nam
Age: 35
All time rank: 1303 in Viet Nam Viet Nam
Week rank: 15 Up1 in Viet Nam Viet Nam 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  
This week:0
All time:496
This week:3Up