版权所有:内蒙古大学图书馆 技术提供:维普资讯• 智图
内蒙古自治区呼和浩特市赛罕区大学西街235号 邮编: 010021
I S B N:(纸本) 9781789345391
出 版 社:Packt Publishing
出 版 年:2018年
主 题 词:Node.js server side Koa async await applications APIs error handling middleware JavaScript
学科分类:08[工学] 0812[工学-计算机科学与技术(可授工学、理学学位)]
摘 要:Build real-world robust web applications and APIs using the modern and expressive Koa *** framework. Key Features • Get up and running with *** and leverage its power with *** • Get the most out of Koa Async functions and generators • Create real time dynamic serverside apps efficiently with *** Book Description Every developer wants to build modular and scalable web applications. Modern versions of JavaScript have made this possible in ***, and Koa is a *** framework that makes it easy. This book is the ideal introduction for JavaScript developers who want to create scalable server side applications using *** and ***. The book shows you how Koa can be used to start projects from scratch, register custom and existing middleware, read requests, and send responses to users. We will explore the core concepts in Koa, such as error handling, logging, and request and response handling. We will dive into new concepts in JavaScript development, and see how paradigms such as async/await help with modern *** application development. By the end of this book, you will be building robust web applications in Koa using modern development paradigms and techniques of *** development. What you will learn • Create a simple server in *** and Koa • Work with custom middleware in Koa • Handle errors in Koa • Create routes, handle requests, and send responses from APIs • Build views and use templates in Koa • Authenticate your application and structure it properly in Koa Who this book is for This book is for serverside developers and JavaScript developers who want to use *** and *** to create fast and real time back end applications.