Zum Hauptinhalt springen Zur Suche springen Zur Hauptnavigation springen

Introducing Deno

46,99 €

Sofort verfügbar, Lieferzeit: Sofort lieferbar

Format auswählen

Introducing Deno, Apress
A First Look at the Newest JavaScript Runtime
Von Fernando Doglio, im heise Shop in digitaler Fassung erhältlich

Produktinformationen "Introducing Deno"

Learn everything there is to know about the new secure runtime for JavaScript: Deno. A proposed replacement for Node.js envisioned and created by the same developer who wrote the first version of Node, Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. This book will cover everything from its inception to the currently available version.

You’ll see how to take advantage of the security layer in order to avoid unwanted security holes, and how to use TypeScript to develop your applications without having to manually set up a build process. You'll also learn how to create and use modules without having to depend on a package manager, and much more. Armed with these newly learned concepts, by the time you finish this book, you’ll be ready to build and test your own Deno applications.

Whether you’re a brand new developer to the back end with a JavaScript background or a seasoned Node.js developer looking to understand this competing technology, Introducing Deno will put you on the right path.

WHAT YOU'LL LEARN

* Learn why Deno was created and why it is different from Node
* Build real applications using Deno and related technologies
* Create backend applications with Typescript
* Resolve how to live without npm and package.json
* Set permissions and default behavior

WHO THIS BOOK IS FOR

Anyone with knowledge of back-end development looking to learn a new way of doing things and those with a basic understanding of JavaScript and Node.js core concepts.

FERNANDO DOGLIO has been a part of the Software Development industry for the past 16 years. He’s worked on countless web projects, which include (amongst other things) APIs, Web Services, SPA, Node.js applications, PHP, Ruby, and a lot of JavaScript/HTML/CSS. He was there when SOAP hit the web and it was all the rage and he was also there when XML was the magic X on AJAX. He’s worked with Node.js for several years now and he’s written several books and countless articles about it, covering everything from the art of designing REST APIs with it to understanding the best design patterns and how they can be implemented with it. Now, working as a Technical Manager, he’s an eager evangelist of using JavaScript for backend development given how flexible and powerful this language is. You can find him on Twitter @deleteman123.

CHAPTER 1: WHY DENO?

Covering the reasons why Deno was created, what new features and improvements it brings over Node.js, and some basic code samples.

● What problems is it trying to solve?

● A quick overview of what’s new

○ TypeScript as first-class citizen

○ Security

○ Top-level await

○ Extended and improved standard library

○ No more npm

● Trying Deno

○ Online playgrounds

○ Installing Deno on your computer

CHAPTER 2: TYPESCRIPT YOU NEED TO KNOW

The chapter will cover the basic concepts of TypeScript to make sure the reader understands the basics for the code samples that will follow.

CHAPTER 3: LIVING A SECURE LIFE

A more in-depth chapter covering everything about the new security layer and code examples to showcase the feature.

● Understanding how to set permissions & default behavior

● Code examples

CHAPTER 4: NO MORE NPM

A detailed chapter covering how Deno intends to handle modules including several code examples showcasing the different features.

● Importing external modules

● Handling versions

● Importing once, requiring many times

● What happened to package.json?

● What if the external resource is removed?

● Potential pitfalls

CHAPTER 5: EXISTING MODULES

Review of the standard library and some already existing ports from Node.js that can be used with Deno. All covered modules will have at least one code sample associated with them.

● The standard library, what is it and how can we use it?

● Ported modules from Node

CHAPTER 6: PUTTING IT ALL TOGETHER-SAMPLE APPS

The final chapter will cover a few practical projects to showcase how different types of applications can look like using Deno and how to structure them.

● Building an API with Deno and Mongo

● Building a chat server with Deno

● Building a command line tool with Deno

Artikel-Details

Anbieter:
Apress
Autor:
Fernando Doglio
Artikelnummer:
9781484261972
Veröffentlicht:
16.09.20