Rob Dodson 6/6/2012

Building a Countdown Timer with Socket.io pt. 2

Read Original

This article is part two of a series on building a countdown timer with Socket.io. It details how to create a Stopwatch model by extending Node.js's EventEmitter, correctly adding methods to the prototype, and handling tick events. The tutorial includes code examples and explains common pitfalls in JavaScript inheritance.

Building a Countdown Timer with Socket.io pt. 2

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes