Node


Friday, July 27th, 2012

Hello, BinaryJS

Category: JavaScript, Node

The BinaryJS framework employs websockets to handle binary data bidirectionally between browser-side javascript and server-side Node.js. Ikt supports a BinaryPack serialization format that is JSON-type compatible. It is said to automatically chunk large binary data buffers for streaming performance. BinaryJS currently supports Chrome 15+ and Firefox 11+, IE10. View the Hello World example.

Posted by jvaughan at 8:27 pm
Comment here

+++--
3.4 rating from 198 votes

Friday, May 18th, 2012

Vert.x ramblings: Asynchronous network, your time has come

Category: Node

With the debut of Vert.x, the asynchronous framework is reaching an inflection point, suggests Andrew Cholakian. With Vert.x, the software is packaged together in such a way as to be extremely practical, he states. For some JVM zealots, Vert.x may meet needs recently and apparently addressed by node.js. Vert.x is an asynchronous application server – Read the rest…

Posted by jvaughan at 9:00 pm
Comment here

+++--
3.7 rating from 213 votes

Friday, March 30th, 2012

Node.js – The objective is absolutely fast I/O

Category: Node

Node.js employs an event-driven architecture and a non-blocking I/O model, and it provides some blindingly fast performance to some types of data-intensive Web apps. It is about JavaScript on the server side. LinkedIn, Yahoo and eBay are among ardent Node.js users, and none other than Microsoft has discussed end-to-end JavaScript coverage on its Azure cloud. Read the rest…

Posted by jvaughan at 10:03 pm
2 Comments

+++--
3 rating from 173 votes

Friday, September 17th, 2010

Progressive enhancement using nothing but JavaScript?

Category: Node, Yahoo!, YUI

Progressive enhancement is still a confusing matter for a lot of people who are very excited about the capabilities of JavaScript in modern browser environments. It can feel anachronistic to write your solutions for a non-JS environment and then once more enhances in JavaScript. I grew up like that so for me it is a Read the rest…

Posted by Chris Heilmann at 1:06 pm
9 Comments

++---
2.5 rating from 2 votes

Wednesday, September 15th, 2010

pushState + node.js on the Server Side

Category: Node

pushState is a nifty way to manipulate browser history state without having to mess with the #hash value. You can use this to change the full path portion of the URL: javascript < view plain text > var stateObj = { foo: "bar" }; history.pushState(stateObj, "page 2", "bar.html"); This would change the URL bar to Read the rest…

Posted by Brad Neuberg at 7:00 am
7 Comments

+++--
3.7 rating from 6 votes

Thursday, July 1st, 2010

Keep your vows; Keeping wed to Node

Category: Node, Testing

Vows can be a beautiful thing. Alexis Sellier of LESS fame, is becoming an open source star. This time around he brings us Vows an asynchronous-friendly behavior driven development framework for Node.js. Write you BBD specs like this: javascript < view plain text > // division-by-zero-test.js   var vows = require(‘vows’),     assert = Read the rest…

Posted by Dion Almaer at 6:14 am
1 Comment

+++--
3.3 rating from 3 votes

Friday, June 11th, 2010

Connect: Great middleware for Node!

Category: Node

Tim Caswell has been doing awesome work, and his latest project is Connect, a high performance middleware framework for node.js. Ruby has Rack. Python has WSGI. Java has Servlets. Now, JavaScript has Node/Connect. I was able to set it up in minutes and took the following screencast of a sample application in action: Take a Read the rest…

Posted by Dion Almaer at 6:20 am
3 Comments

+++--
3.3 rating from 4 votes

Monday, May 24th, 2010

Node.NET: Running Node on Windows via .NET

Category: Node, Server

Node eventually wants to support all POSIX operating systems (including Windows with MinGW) but at the moment it is only being tested on Linux, Macintosh, and Solaris. At the Node.js meetup in Palo Alto, someone asked about running node on Windows, and the answer wasn’t pretty yet. You can probably hack it together, and it Read the rest…

Posted by Dion Almaer at 12:24 am
2 Comments

+++++
5 rating from 1 votes

Monday, May 10th, 2010

Hummingbird: Real time view of your Web traffic

Category: Canvas, Node, Server

Michael Nutt and Benny Wong have created a fun realtime web analytics product called Hummingbird. It comes with awesome buzzwords too! Node! Canvas! Web Sockets! MongoDB! To add tracking, you simple sprinkle in Gilt.Hummingbird.track(env) like this: Which calls the client: Which, as you can see, sets up a tracking gif on the server. You can Read the rest…

Posted by Dion Almaer at 3:58 pm
1 Comment

++++-
4.5 rating from 2 votes

Tuesday, May 4th, 2010

Express: Sinatra for Node

Category: Node, Server

javascript < view plain text > require.paths.unshift(‘path/to/express/lib’) require(‘express’)   get(‘/’, function(){   this.redirect(‘/hello/world’) })   get(‘/hello/world’, function(){   return ‘Hello World’ })   get(‘/bye/world’, function(){   this.render(‘title.html.haml’, {     layout: false,     locals: {       title: ‘Bye World’     }   }) })   run() In the rush to become Read the rest…

Posted by Dion Almaer at 6:01 am
1 Comment

++++-
4 rating from 1 votes

Thursday, April 29th, 2010

Heroku brings node.js support to its hosted solutions

Category: Node, Server

Heroku is known for its impressive Rails hosting, but on the heels of a post on how they decide their roadmap we see announced support for node.js in private beta. This is sure to be the first of many chaps putting their hat in the ring. With Ryan Dahl himself at Joyent, you would be Read the rest…

Posted by Dion Almaer at 12:20 am
Comment here

++++-
4 rating from 1 votes

Friday, April 23rd, 2010

Drawing Together with Cappuccino and Node.js

Category: Cappuccino, Comet, Node

Saikat Chakrabarti of Mockingbird is looking to make the tool collaborative. Along the way he wanted to test out tools to make this happen, and one test ended up with a collaborative drawing program using Node.js with WebSocket support from Socket.IO: , the actual interesting parts that are doing anything other than serving static files Read the rest…

Posted by Dion Almaer at 12:16 am
1 Comment

++---
2.1 rating from 7 votes

Tuesday, April 20th, 2010

Server side rendering with YUI on Node.js

Category: Node, Server, YUI

Dav Glass did some cool work with YUI and the server when he got it running on Node.js and then got the DOM working. Having the DOM available is important as it allows you to do interesting things. You can take the same code and render on either client OR server side. NoScript turned on? Read the rest…

Posted by Dion Almaer at 6:19 am
6 Comments

+++--
3.4 rating from 30 votes

Thursday, March 18th, 2010

RequireJS: Asynchronous JavaScript loading

Category: JavaScript, Node, Performance

A certain someone was talking to me about how they find it interesting that node.js, the JavaScript server framework du jour which loves all things async, starts life with a bunch of synchronous require() calls. Now, this is actually quite fine since the startup of the server is not the issue at hand. However, if Read the rest…

Posted by Dion Almaer at 6:15 am
19 Comments

+++--
3.8 rating from 31 votes

Tuesday, February 9th, 2010

Faye: Bayeaux protocol Comet server for Node.js

Category: Comet, Node

James Coglan has ported a Ruby/EventMachine Comet server to offer a new Node.js server on the Bayeux protocol. The project is Faye and you can check out the code on GitHub. On the client side: HTML4 < view plain text > <script type="text/javascript" src="/comet.js"></script>   <script type="text/javascript">// < ![CDATA[    CometClient = new Faye.Client(’/comet’);   Read the rest…

Posted by Dion Almaer at 6:24 am
Comment here

+++--
3.8 rating from 19 votes

Tuesday, November 24th, 2009

Node and Djangode Follow-Up

Category: Node, Server

Simon Willison’s Talk last week on Node generated a healthy dose of post-conference buzz, and he’s followed up with a blog post on Node and his higher-level API for Node, Djangode. Node’s core APIs are pretty low level—it has HTTP client and server libraries, DNS handling, asynchronous file I/O etc, but it doesn’t give you Read the rest…

Posted by Michael Mahemoff at 9:53 am
Comment here

+++--
3.8 rating from 29 votes