You must be logged in to purchase an issue - Log in or register now

September 2012

JSMag September 2012


USD $4.99 Log in or register to purchase

In this issue...

Node.JS Clustering - John Carnell

Node.js's single-threaded, event-loop based programming model combined with its use of asynchronous calls for processing incoming requests makes it incredibly easy to build highly scalable, server-side applications. However, a thread can only be bound to a single-core when it is running and this means a standard Node application can at most use only one CPU on a server to process a request. Fortunately, Node's cluster API provides a flexible framework in which a Node application can launch multiple copies of the same Node script as independent operating system processes.

Transitions from Image to Image - Jeanine Meyer

In this article Jeanine explains how to use HTML5 and JavaScript to produce animated transitions from one image into another. The techniques include the use of an internal canvas element as a buffer, setInterval for animation, calculations for the canvas coordinates, and setting the cursor icon. She also includes general tips on creating programs involving iterations.

URL Routing in Node.js - Dino Gambone

MVC based architecture is all the rage right in web development. There are multiple different frameworks out there that implement MVC or MV* style application architecture. But what if you simple want to leverage the cool routing that MV* apps use but don’t care about actually implementing the full MVC stack or framework? In In Listing 2, we start off with the basic object declaration. this article, we’ll create a simple router that you can use in your Node.js web apps. By the end, you’ll have a router that will allow you to implement URL routing actually needing to use a third-party framework.

Community News Roundup - David Calhoun

David Calhoun rounds up the latest news from the world of JavaScript.


Page count: 26



USD $4.99 Log in or register to purchase


© webdevpublishing 2011