Deno Web Development: Write, test, maintain and deploy JavaScript and TypeScript web applications using Deno

iebukes PACKT 156 次浏览 没有评论
Deno Web Development: Write, test, maintain and deploy JavaScript and TypeScript web applications using Deno Front Cover

Deno Web Development: Write, test, maintain and deploy JavaScript and TypeScript web applications using Deno

by Alexandre Portela dos Santos
  • Length: 267 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2021-04-09
  • ISBN-10: 180020566X
  • ISBN-13: 9781800205666
  • Sales Rank: #316759 (See Top 100 Books)
Description

Learn how to use Deno, the secure JavaScript and TypeScript runtime written in Rust, to write reliable web applications

Key Features

  • Understand Deno’s essential concepts and features
  • Learn how to use Deno in real-world scenarios
  • Use Deno to develop, test and deploy web applications and tools

Book Description

Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience.

“Deno Web Development” will introduce Deno’s primitives, its principles, and how developers can use them to build real-world applications. The book is divided into three main sections: introducing Deno, building an API from scratch, and testing and deploying a Deno application. The first chapters present the runtime and the motivations behind its creation. It explores some of the concepts introduced by Node, why many of them transitioned into Deno, and why new features were introduced. After getting comfortable with Deno and why it was created, the reader will start to experiment with Deno, exploring the toolchain, and writing simple scripts and CLI applications.

As we transition in the second section of the book, the reader will start with a very simple web application and will slowly add more features to it. This application will evolve from a simple “hello world” API to a web application connected to the database, with users, authentication, and a JavaScript client. In the meantime, topics like dependency management, configuration, testing, and application structure, among others will be addressed.

By the end of the read, the reader is comfortable in using Deno to create, maintain, and deploy secure and reliable web applications.

What you will learn

  • Why should you use Deno?
  • Tooling and the Deno ecosystem
  • Leverage existing Node and EcmaScript6 knowledge in Deno
  • Leverage the standard-library and Deno’s security model
  • Explore common practices and web frameworks to build a REST API in Deno
  • Implementing real-world functionalities in Deno
  • Using dependency injection, inversion of control, and explore application architecture practices
  • Test and deploy a Deno application in the cloud using Docker

Who This Book Is For

This book targets developers who want to leverage their JavaScript and TypeScript skills in a secure, simple, and modern runtime, using it for web development. Node.js knowledge is not required but recommended.

Table of Contents

  1. What is Deno
  2. The toolchain
  3. Runtime and standard-library
  4. Building your first web application
  5. Adding Users and Migrating to Oak
  6. Adding Authentication and Connecting to the Database
  7. HTTPS, extracting configuration, and Deno oin the browser
  8. Testing – Unit and Integration
  9. Deploying a Deno application
  10. Wrapping up

Deno Web Development: Write, test, maintain and deploy JavaScript and TypeScript web applications using Deno

 
 “你有一个苹果,我有一个苹果,彼此交换一下,我们彼此仍然是各有一个苹果;你有一本电子书,我有一本电子书,我们交换一下,一人就有两本电子书”,扫描下面二维码,加入iebukes电子书分享群,和大家一起分享你手中的电子书吧!本站分享的电子书访问密码见群公告,赶快入群吧!  
                微信公众号二维码