Installing nginx 1.9.7 on Ubuntu 15.04 / 15.10
December 18, 2015
Historically I’ve been one for the LAMP stack. However over the past year or two I’ve spent a lot more time working with new fun technologies like Node.JS and Meteor. While there is nothing wrong with running these applications inside the LAMP world, some things like Websockets just don’t work well with Apache. As such I’ve been exploring the dark and dangerous world of nginx. Being one to love the latest and greatest (along with a desire to get in on this cool HTTP/2 train), I figured out how install the latest edition of nginx on Ubuntu 15.04/15.10
SocketIO IRC-style Tutorial – Part 4 – The client code
July 23, 2015
SocketIO IRC-style Tutorial – Part 3 – The server code
July 21, 2015
This is the 3rd post in a multi-part tutorial series on Socket.io. See Part 2 here. In today’s portion of the tutorial, I’ll be explaining the server side (NodeJS) code in a bit more verbosity than the comments. A fair portion of this will simply be explaining the “why” of each section of code. Additionally, since we haven’t discussed the client side code, I’ll be enumerating on the missing links between the two where necessary.
SocketIO IRC-style Tutorial – Part 2 – Getting started
July 17, 2015
This is the 2nd post in a multi-part tutorial series on Socket.io. See Part 1 here. As with all things in life, code is in a constant state of change. Eventually, this tutorial series will be improved, but so that we can all stay on the same page, let’s start with the same version of code. You can go to ShakataGaNai/socketio-sample/d9b7bcc132 to browse the exact working copy this tutorial is based off of. You should download version d9b7bcc132…zip file as well, to work with locally. The repository only has three important files; app.js – which contains the NodeJS server application, index.html – which is our client side (in browser) application, and package.json – which provides some basics about this app, including the dependencies.
SocketIO IRC-style Tutorial – Part 1 – Intro
July 16, 2015
One of the technology things that excites me the most is the use of Websockets to help power the “Real Time Web“. When you use a modern browser and use a web based chat system (like IRCCloud), it very likely uses websockets. Twitter feed constantly updating? Websockets. Facebook feed growing as you waste the day? Websockets. “Real Time” Google Analytics? Websockets. You get the idea, lots of cool things we use every day built for the real time web, many of which probably use websockets. The easiest way to use Websockets with NodeJS (which I’ve been spending some of my free time on over the last year) is a nifty tool called Socket.IO.