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