node.js ko

Observer

Who

How

The technology

The site is build upon a custom content management system that is driven by MongoHQ’s mongodb. It allows me to edit the pages on the fly without having to push code changes. This makes it a really flexible application, where I can spawn pages by just working in the back-end of my application. New pages can be generated on the fly and bugs can be fixed without having to reboot the server and lose the persistent connection that socket.io has established with my server.

The cms allows different template engines, such a Jade or EJS. I personally think that is pretty rad.

The connections and the following are established by Socket.IO. It uses the rooms the functionality of socket.io to follow the different connections. Both the user and the observer join the same room, where the events are broadcasted to.

Administration / logged in version of the Observer runs through a different namespace so we can do a authorization check based on the information we gathered. We check if the user is logged in to the observer.no.de site, and checking the session of it. If you are not authorized to login you get notified of it.

NPM libraries used to achieve this awesomeness

useragent@0.1.2 ./node_modules/useragent 
ejs@0.4.3 ./node_modules/ejs 
underscore@1.1.7 ./node_modules/underscore 
long-stack-traces@0.1.2 ./node_modules/long-stack-traces 
connect@1.6.4 ./node_modules/connect 
datejs@0.0.2 ./node_modules/datejs 
validator@0.2.7 ./node_modules/validator 
jade@0.15.2 ./node_modules/jade 
express@2.4.6 ./node_modules/express 
nko@0.1.1 ./node_modules/nko 
mongodb@0.9.6-13 ./node_modules/mongodb 
socket.io@0.8.1 ./node_modules/socket.io 
├── policyfile@0.0.4
├── redis@0.6.6
└── socket.io-client@0.8.1

public vote

Hello people, I would like to ask you guys for one last big favor, if you love this service and would like to continued after the Node Knockout please cast a vote at http://observer.no.de/vote.

By winning in the solo category I would gain sufficient funds and toys to build a working commercial service out of it.

Votes

Your Vote

Voting is now closed.

Other Votes