Deno Advanced Development Notes

Reading notes

As of late August 2020, this notebook tutorial is used Deno@v1.3.1. If you need to run the demo instance locally, please ensure that the local operating environment on your computer isDeno@v1.3.1

Book goal

  • An Denointroductory tutorial on technology development
  • From a practical 应用开发level, to learn Denoto use, it will not go into the underlying principle
  • To Denothe ability of native implementation-dependent code does not rely on deno_std(except for unit testing)
  • To TDDdevelop model combines integration testing to ensure that the example demo adapt production environments

About the author

Disclaimer

At present, the content of this book belongs to study notes and is not recommended for use in a production environment. Because the Denoofficial functions are in the development stage, this book is and will be in the update stage for a long time. The code content in it is not recommended to be used in the production environment, but I also hope that developers can use it in the production environment and share relevant practical experience.

Book agreement LICENSE MIT

table of Contents

Why write this book

  • 2020 impressions
  • The official Deno API has basically stabilized, and it is officially announced that it will release version 1.0 on the occasion of the second anniversary of May 13, 2020
  • Deno official also published API usage document Deno official API document
  • It means that Deno is approaching perfection and its subsequent use in the production environment is just around the corner
  • 2019 impressions
  • Since Deno was born in June 2018, it has triggered intense discussions in the JavaScript development community. Many developers have misunderstood and even rumored that the rygreat god will Denobe the next generation Node.js, and even made a ridiculous issuebuilding farce.
  • From the end of 2018 to the beginning of 2019, in the JavaScript community, Deno’s related discussions gradually faded, and more talk about TypeScriptwhether it will lead the next wave of front-end development trends and even Denotake off.
  • Since there are new things to play, no matter what others talk about, the tools are good or not until you use them. Facing a new technology, it is not the behavior that a technology developer should do.
  • Taking advantage of the 2019 Spring Festival at home, make good use of this “winter vacation” to play with this new technology. As of early 2019, there Denoare too few domestic and foreign data.
  • In addition to the “Deno Core Guide” and the corresponding denoliblearning documents recommended by the GitHub organization that are more constructive, in addition to the lack of deno development materials.
  • DenoThe basic module and the official standard module deno_std deno_std are in an unstable state during development, with a lot// TODO of code and APIthe uncertainty of frequent changes.
  • Abruptly eating several foreign countries during the 2019 Spring Festival Denopilot project warehouse. I wrote this “Deno Advanced Development Notes”, firstly as Denoa note record for my own study , and secondly, I hope to Denocontribute to the development community.

Features of this book

Since the Denoofficial purpose is to provide efficient, secure scripting environment for modern programmers. The daily WEBdevelopment of this book and the realization of common functions of tool development are the main.

  • TDDExamples of development, are examples of functions in TDD(Test-Driven Development)the development of model-based, a functional module, with the corresponding test units.
  • Travis CI build, Used to integrate Linuxall unit tests in the build test environment
  • Azure Pipelines, Used to integrate Window|Mac|Ubuntuall unit tests in the environment to build and test to ensure that the examples can be executed normally in each production environment.

Download Details:

Author: chenshenhai

Demo: https://chenshenhai.com/deno_note

Source Code: https://github.com/chenshenhai/deno_note

#deno #nodejs #javascript #node

Deno Advanced Development Notes
2.85 GEEK