O'Reilly logo

Web Development with MongoDB and Node.js by Jason Krol

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Koa

Koa is a new web framework designed by the same team that created Express.js. The goal of Koa is to be smaller, more expressive, and a more robust foundation for web applications. One of the key features of Koa is the use of generators, which is a feature found in other popular programming languages such as Python, C#, and Ruby, and it is coming soon to JavaScript with ECMAScript 6 (the next version of JavaScript). Generators prevent the standard callback hell that is so popular with the development process in Node.js. As Koa is so lightweight, it does not come with any middleware out of the box. This is by design so that the choice of how to implement certain features can be left to the developer.

The Koa website (http://koajs.com) is shown ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required