Live Fortune (Node.js) that do not crash

Do you enjoy reading interesting or funny sentences like below?

A nuclear war can ruin your whole day.

He who knows, does not speak. He who speaks, does not know. – Lao Tsu

If you do, check out: http://fortune.crash4.us/ ((Trust me, it won’t crash…)) For the record, this is a project built with Node.js, Express and Faye. One fortune will be pushed from server to each client every 2 mins thanks to the html5 WebSocket. Client can trigger a server push/broadcast as well ((open multiple browser windows or tabs to test)). All the source code is available at github. Next step is to convert this project to CoffeeScript.

Buy me a coffee
  • Post author: Samson Wu
  • Post link: 3115.html
  • Copyright Notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally.
0%