to address non- currency issues in existing frameworks • Currently owned and maintained by Joyent and Isaac Schlueter http://www.youtube.com/watch?v=SAc0vQCC6UQ Thursday, September 27, 12
app = express(); app.post('/user/register', function(req, res) { var user = req.body.user; }); app.listen(80); Get posted user CALLBACK HELL User Registration Example Thursday, September 27, 12
app = express(); app.post('/user/register', function(req, res) { var user = req.body.user; bcrypt.genSalt(function(err, salt) { if(err === null) { } else { // Failed to generate salt res.send(err); } }); }); app.listen(80); Generate hash salt Get posted user CALLBACK HELL User Registration Example Thursday, September 27, 12