An OpenShift Tutorial with Node.js and HTML5
Jeremy Osborne of OpenShift recently published a lengthy, in-depth tutorial that will get you working with WebSockets, Node.js, npm, and OpenShift. Here's a piece of the introduction - you can get the whole thing by visiting the original post here.
If you follow this article, you will get:
- A real, running chat server and client
- A Node.js rough setup that should give you the experience, if you are new to Node.js, to jump right in later for bigger and badder projects.
- A contrived, yet fun example of what it's like to organize and run some chunks of code on both the client and the server without (much) modification.
- All of the scaffolding and Kung Fu practice necessary to almost-one-button our code up to the OpenShift platform. Even better, as you'll see, the code here is not locked in, in anyway, to OpenShift, and you're free to use it on your own server or elsewhere.
Original Post - Get Chatty with Node.js and HTML5