Link Details

For projects and for some experiments I want to get a better way to do server push. With the new HTML 5 becoming the standard and therefore WebSockets becoming available in all mayor browsers, it seems that WebSockets is the way forward. A very nice implementation of WebSockets that is backwards compatible with older browsers is available through Socket.io. This is a Node.js library. Node.js brings JavaScript to the server. If you are as sceptic about this as I was, stay with me, you will like it after trying. Within this blog post I want to share some of the things I learned while creating a sample application. The sample shows twitter integration for authentication, server push in a chat application that also shows the other persons that are online. The most important node.js libraries I use in the sample are: expressjs, socket.io, node-oauth, connect, jade and sass

Posted by jettro  |   Apr 18 2011 / 15:32

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Comments

User 851059 avatar

Tony Lukasavage replied ago:

Serious, non-inciting question: Is there anyone who isn't a web dev that thinks Node.js is a good idea?

Reply 0 votes
User 196895 avatar

Jettro Coenradie replied ago:

Not sure what you mean with à web developer. But i have been an enterprise java developer for about 10 years. Actually i still am. I think there is room for node.js, just like there is room for rube, groovy or any other Language. Of course you have to think about when to use IT and for what reason.

Reply 0 votes
User 393686 avatar

RawThinkTank replied ago:

I tried to google for reason to even look at Node.js but not one is convincing enough.

It seems its only for those having hardcore Javascript coding experience.


But anyways , i am sure if its really worth it then some people will create a scala compiler to get output in minified Node.js

Reply 0 votes

Recommended Links

Scala
Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone