官术网_书友最值得收藏!

Introducing Koa

Node.js, which was introduced in 2009, has become very popular for building applications and APIs on the web. One of the major factors that influenced its increase in popularity is the fact that developers can now use a single language for developing their applications, both on the server side and client side. JavaScript developers who usually only worked on client-side applications in the past could now work on server-side applications with the same development stack. This increase in popularity and adoption has led to a lot of community enthusiasm and support, which by extension has caused a lot of frameworks and plugins being developed to optimize scripting and software development in Node.js.

Many of these frameworks are focused on different ideologies and functionalities. Express.js, with over four million weekly downloads as at the time of writing, is one of the more popular frameworks for Node.js. It was built to be a very simple and unopinionated framework for quickly building out web applications in Node.js. Koa.js was built to be an improvement on Express.js, with the same underlying philosophy.

Since its introduction, JavaScript has continually evolved and every iteration brings with it advantages and upgrades. Koa leverages on a lot of new and shiny things in the newer JavaScript versions, such as the async... await syntax. These features are part of what makes Koa a fast and easy-to-use web development tool.

The topics that will be covered in this chapter are the following:

  • What is Koa?
  • What can you do with Koa?
  • Why choose Koa?
  • When you should not use Koa
  • Introducing Koa2
  • Koa versus Express
  • How can this book help you understand Koa better?

主站蜘蛛池模板: 安多县| 云阳县| 城固县| 瑞安市| 濮阳市| 临泉县| 错那县| 察雅县| 荔浦县| 怀来县| 昌乐县| 师宗县| 衡东县| 格尔木市| 邵阳县| 新竹县| 澄城县| 祥云县| 昌江| 贵溪市| 永仁县| 岑溪市| 东丰县| 嘉善县| 遂昌县| 项城市| 葵青区| 临沧市| 高密市| 出国| 萨迦县| 霍山县| 赣州市| 伊吾县| 伊金霍洛旗| 阜南县| 成武县| 息烽县| 沙河市| 灵川县| 河源市|