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

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?

主站蜘蛛池模板: 分宜县| 当雄县| 罗城| 青龙| 临高县| 顺义区| 南丹县| 大港区| 景洪市| 惠来县| 文水县| 衡阳市| 堆龙德庆县| 南安市| 宜章县| 织金县| 沙湾县| 广宁县| 福泉市| 余庆县| 西昌市| 钟山县| 钦州市| 南川市| 罗山县| 聊城市| 芜湖市| 繁昌县| 承德县| 阿克| 都安| 正阳县| 平顶山市| 昌图县| 永昌县| 百色市| 滨海县| 温宿县| 利川市| 新河县| 林州市|