Writing Middleware in Koajs
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=40_Nx2RQYYg
In this episode we'll learn to write middleware, the foundational building block for Koajs (http://koajs.com/) and Expressjs (http://expressjs.com/). • Of course the best way to learn programming is to make stuff, • so we'll build a Session Management Middleware . • We'll start off writing a few tests using mocha (http://mochajs.org/) and supertest (https://github.com/tj/supertest), then we'll implement our Session Management Middleware first storing the session information in memory. • Next we'll take a quick look at rethinkDB (http://rethinkdb.com/), a cool new open source database, that we'll use to store our session information. • Lastly we'll refactor our solution to save our session information using rethinkDB. • If you are unfamiliar with Middleware or Koajs, please checkout my quick start screencast on those topics: • http://knowthen.com/episode-3-koajs-q... • Please join my mailing list so I can let you know when new screencasts are released • http://knowthen.com/join/
#############################
