Node.js and the Mobile Device
HP/Palm is implementing Node.js inside of their WebOS operating system which is enabling some interesting scenarios. Below is an example scenario which describes how Node.js can be used both on and off the device.
- As you can see in the logical architecture diagram below, the Mobile Device hosts the ‘Client Code’ which uses a ‘Middle Tier Code’ Node.js Service, which ultimately uses a system based node.js service for I/O. By implementing a node.js host and exposing operating system level services (i.e. I/O), WebOS is enabling a simple and familiar programming model which is easy to consume and low power (since it’s non-blocking).
For more information about the WebOS node.js implementation visit http://www.ekeepo.com/1/post/2011/08/nodejs-the-cloud-and-the-mobile-device.html.