Node
Friday, July 27th, 2012
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.
3.3 rating from 266 votes
Friday, May 18th, 2012
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…
3.6 rating from 278 votes
Friday, March 30th, 2012
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…
Friday, September 17th, 2010
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…
Wednesday, September 15th, 2010
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: < View plain text > javascript var stateObj = { foo: "bar" }; history.pushState(stateObj, "page 2", "bar.html"); This would change the URL bar to Read the rest…
Thursday, July 1st, 2010
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: < View plain text > javascript // division-by-zero-test.js var vows = require(‘vows’), assert = Read the rest…
Friday, June 11th, 2010
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…
Monday, May 24th, 2010
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…
Monday, May 10th, 2010
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…
Tuesday, May 4th, 2010
Category: Node
, Server
< View plain text > javascript 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…
Thursday, April 29th, 2010
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…
Friday, April 23rd, 2010
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…
Tuesday, April 20th, 2010
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…
Thursday, March 18th, 2010
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…
Tuesday, February 9th, 2010
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: < View plain text > HTML <script type="text/javascript" src="/comet.js"></script> <script type="text/javascript">// < 
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…