Thursday, September 2nd, 2010

The Node.js now running on webOS – and more Web improvements

By Dion Almaer
webOS 2.0 SDK has just launched, and it has node.js built in (and more). The following is taken from my personal blog

At our last Palm Developer Day, Ben and I discussed future APIs for webOS including “JavaScript services” as a way to write code that runs on the other side of the device service bus using JavaScript.

If you think about it, node delivers a services platform for the cloud, so is there a way that we could work together? We got together with Ryan Dahl of Node to try this out, and it turns out that node works fantastically well on a mobile device! Major kudos should go to the V8 team for creating a great VM and to Ryan for writing efficient code that scaled down from the cloud to the device.

Today we announce that node is part of webOS 2.0:

The popular Node.js runtime environment is built into webOS 2.0, which means that you can now develop not just webOS apps but also services in JavaScript. The active Node ecosystem is on hand to provide community support and a rapidly growing library of modules that you can use in your webOS services.

Besides powering the new Synergy APIs, JavaScript services strengthen webOS’s support for background processing and add new capabilities—like low-level networking, file system access, and binary data processing—to the web technology stack.

I am really excited about this move for us. The node community is top class. I get to see this time and time again, most recently over the weekend and this week as I judge the node knockout. There is magic in the air with Node. It feels like the Rails days. I remember being so happy to jump to Rails and get away from the heavy world of Enterprise Java. It was a breath of fresh air to not have to argue with folks about every piece of the stack. “What about JSF with HiveMind and Commons-Logging and ….” Argh! Too. Much. Choice. And, a logging abstraction above Log4J was hilarious :)

Node is low level, yet simple. It is more like Sinatra than Rails. The event-based opinions keep you in good stead, and with cloud solutions such as Heroku and you have great deployment stories, unlike Rails back in the day.

If you check out the modules that are growing daily, and the fun real-time hacks from the knockout you will get a good feel for node.

It feels great to have webOS as the first mobile device that embeds node. With db8 we offer a JSON store than can sync to the cloud (e.g. sync with CouchDB). This stack is starting to look pretty great.

Posted by jvaughan at 8:20 pm

3.3 rating from 3 votes


Comments feed TrackBack URI

Awesome to see JavaScript as an integral part of a major OS.

Comment by Vezquex — September 2, 2010

Next step should be an open protocol for push notifications based on web hooks

Comment by mikek — September 3, 2010

JavaScript is really going through a major renaissance at the moment – I’m really glad that more and more people are going to be exposed to it.

Comment by Skilldrick — September 3, 2010

and with cloud solutions such as Heroku and you have great deployment stories, unlike Rails back in the day.

Or hopefully will soon, since Heroku is in private beta and seems to be reserved for only Node Knockout entrants. However, due to node’s lower memory and cpu usage I imagine we will soon see many affordable deployment options.

Comment by mnutt — September 3, 2010

Leave a comment

You must be logged in to post a comment.