(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| var express = require('express'); | |
| var session = require('express-session'); | |
| var cookieParser = require('cookie-parser'); | |
| var flash = require('connect-flash'); | |
| var app = express(); | |
| app.use(cookieParser('secret')); | |
| app.use(session({cookie: { maxAge: 60000 }})); | |
| app.use(flash()); |
| 'use strict' | |
| @App = Ember.Application.create | |
| LOG_TRANSITIONS: true | |
| ready: -> | |
| console.log "app ready, starting server" | |
| @set 'server', App.EventedServer.create | |
| url: '192.168.1.101:8888/game' | |
| delegateType: App.FixtureWebSocket |