Modern Web Development with Deno: Develop Modern JavaScript and TypeScript Code with Svelte, React, and GraphQL
- Length: 200 pages
- Edition: 1
- Language: English
- Publisher: BPB Publications
- Publication Date: 2022-10-07
- ISBN-10: 9355510969
- ISBN-13: 9789355510969
- Sales Rank: #3394422 (See Top 100 Books)
Learn Deno with TypeScript
KEY FEATURES
- Take advantage of modern tools and frameworks like React and GraphQL.
- Exposure to the Deno ecosystem and many different third-party modules.
- Coverage of the creation of UIs and APIs for numerous apps.
DESCRIPTION
Deno is a web platform that offers capabilities for JavaScript and TypeScript and supports modern web standards. It is a straightforward, up-to-date, secure runtime environment for web developers.
This book will teach all you need to know about Deno’s primitives, its ideas, and how you can use them to build applications that work in the real world. The book’s first part is devoted to familiarizing you with Deno’s runtime and comprehensive ecosystem. This book will help you to get familiar with TypeScript and experiment with Deno. The book will also help you to learn about GraphQL and Oak and build basic scripts. It will help you to design basic web applications such as a phonebook application and a to-do list application, both of which will have their user interfaces (UI) and APIs developed.
This book will help you to get a good level of confidence with Deno over NodeJS so that you can start using Deno to build, maintain, and deploy web apps that are reliable and secure.
WHAT YOU WILL LEARN
- Get started with the basics of TypeScript and Deno.
- Use Deno to create your next React or Svelte app’s user interface.
- Develop a GraphQL API server with Deno.
- Make the most of TypeScript when creating applications.
- Take advantage of the various plugins that Deno and its creators offer.
WHO THIS BOOK IS FOR
Readers interested in utilizing the power of Deno to fuel their apps, whether they are web developers, TypeScript users, or JavaScript users will find this book helpful. The code will be easier to understand if you are familiar with JavaScript already.
Cover Page Title Page Copyright Page Dedication Page About the Author About the Reviewer Acknowledgement Preface Errata Table of Contents 1. The Deno Land Introduction Structure Objectives Introducing Deno The Node Revolution Event loop Deno comparison with Node Deno features Deno foundation stack The V8 Engine by Google Rust Tokio I/O library What is a JavaScript engine What is a JavaScript runtime Conclusion 2. Introduction to TypeScript Introduction Structure Objectives Introducing TypeScript TypeScript benefits TypeScript features Basics of TypeScript Basic types Interfaces Optional properties Read only properties Type aliases Interfaces versus type aliases Type inference Type assertions Unions Intersections Classes Modifiers Getter and Setter Static Abstract Static versus dynamic typing Strong versus weak typing TypeScript setup tsconfig.json Conclusion 3. Setting Up Deno Introduction Structure Objectives Installing Deno Development tools Terminal zsh + oh my zsh Vim VS Code VS Code extensions Git and GitHub Postman Docker Docker Compose Silver Searcher Databases PostgreSQL MongoDB and MongoDB Atlas Redis Heroku Tmux Pomodoro Technique Conclusion 4. Deno Ecosystem Introduction Structure Objectives Deno CLI Environment variables Subcommands Passing arguments File watcher Permission flags Permissions allow-list Deno runtime APIs Web APIs Deno global APIs Variables Classes Deno modules Standard library Third-party modules Module registries Central dependencies in deps.ts Conclusion 5. Todos App—API Introduction Structure Objective Introducing Aleph.js Features Command Line Interface Concepts Pages Routing Application Programming Interface (API) Initializing Todos App Project structure Todos API GET (list) POST GET (object), PATCH, and DELETE Conclusion 6. Todos App—UI Implementation Introduction Structure Objective Styled components Creating Todos components TodoList TodoDetails Conclusion 7. Introduction to GraphQL, Oak, and Oak-GraphQL Introduction Structure Objective Introducing GraphQL Features Precise fetching Single API endpoint Validation and type checking Fragments Autogenerated API documentation Core concepts Schema Type Input Query Mutation Relationship Resolver Introducing Oak framework Introducing Oak-GraphQL middleware Conclusion 8. PhoneBook App—API Implementation Introduction Structure Objective Initial setup Version control using git Trex as the package manager Velociraptor as script runner Oak GraphQL server setup Schema Database setup Models Controllers Authentication Conclusion 9. PhoneBook App - UI Implementation Introduction Structure Objective Initial setup Snel setup Snel Carbon installation Routes Login Register Home NotFound Private route Contacts ContactTable ContactForm Layout Header SideNav Conclusion Index
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.