100% found this document useful (5 votes)
150 views

Download Complete Modern Web Development with Deno Develop Modern JavaScript and TypeScript Code with Svelte React and GraphQL 1st Edition Mayur Borse PDF for All Chapters

React

Uploaded by

midhoojaben
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (5 votes)
150 views

Download Complete Modern Web Development with Deno Develop Modern JavaScript and TypeScript Code with Svelte React and GraphQL 1st Edition Mayur Borse PDF for All Chapters

React

Uploaded by

midhoojaben
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Get ebook downloads in full at ebookmeta.

com

Modern Web Development with Deno Develop Modern


JavaScript and TypeScript Code with Svelte React
and GraphQL 1st Edition Mayur Borse

https://ebookmeta.com/product/modern-web-development-with-
deno-develop-modern-javascript-and-typescript-code-with-
svelte-react-and-graphql-1st-edition-mayur-borse/

OR CLICK BUTTON

DOWNLOAD NOW

Explore and download more ebook at https://ebookmeta.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

The Modern Web Multi Device Web Development with HTML5


CSS3 and JavaScript 1st Edition Gasston Peter

https://ebookmeta.com/product/the-modern-web-multi-device-web-
development-with-html5-css3-and-javascript-1st-edition-gasston-peter/

ebookmeta.com

Test-Driven Development with React and TypeScript:


Building Maintainable React Applications 2nd Edition
Juntao Qiu
https://ebookmeta.com/product/test-driven-development-with-react-and-
typescript-building-maintainable-react-applications-2nd-edition-
juntao-qiu/
ebookmeta.com

Large Scale Apps with Svelte and TypeScript Damiano Fusco

https://ebookmeta.com/product/large-scale-apps-with-svelte-and-
typescript-damiano-fusco/

ebookmeta.com

Religious Evolution and the Axial Age 1st Edition Stephen


K Sanderson

https://ebookmeta.com/product/religious-evolution-and-the-axial-
age-1st-edition-stephen-k-sanderson/

ebookmeta.com
Vampire Book Club 0 5 Crossing the Lines 1st Edition Nancy
Warren

https://ebookmeta.com/product/vampire-book-club-0-5-crossing-the-
lines-1st-edition-nancy-warren/

ebookmeta.com

LGBTQ Politics A Critical Reader 1st Edition Marla


Brettschneider

https://ebookmeta.com/product/lgbtq-politics-a-critical-reader-1st-
edition-marla-brettschneider/

ebookmeta.com

Marks Basic Medical Biochemistry A Clinical Approach 5th


Edition Michael Lieberman

https://ebookmeta.com/product/marks-basic-medical-biochemistry-a-
clinical-approach-5th-edition-michael-lieberman/

ebookmeta.com

Peasant Wisdom Daniela Weinberg

https://ebookmeta.com/product/peasant-wisdom-daniela-weinberg/

ebookmeta.com

Vengeance Fated Sight 4 1st Edition Elle Lincoln

https://ebookmeta.com/product/vengeance-fated-sight-4-1st-edition-
elle-lincoln/

ebookmeta.com
Combustion Technology Essentials of Flames and Burners 2nd
Edition Vasudevan Raghavan

https://ebookmeta.com/product/combustion-technology-essentials-of-
flames-and-burners-2nd-edition-vasudevan-raghavan/

ebookmeta.com
Modern Web
Development with
Deno

Develop Modern JavaScript and


TypeScript
Code with Svelte, React, and GraphQL

Mayur Borse

www.bpbonline.com
Copyright © 2023 BPB Online

All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor BPB
Online or its dealers and distributors, will be held liable for any damages caused or
alleged to have been caused directly or indirectly by this book.

BPB Online has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, BPB Online cannot guarantee the accuracy of this information.

Group Product Manager: Marianne Conor


Publishing Product Manager: Eva Brawn
Senior Editor: Connell
Content Development Editor: Melissa Monroe
Technical Editor: Anne Stokes
Copy Editor: Joe Austin
Language Support Editor: Justin Baldwin
Project Coordinator: Tyler Horan
Proofreader: Khloe Styles
Indexer: V. Krishnamurthy
Production Designer: Malcolm D'Souza
Marketing Coordinator: Kristen Kramer

First published: 2023

Published by BPB Online


WeWork, 119 Marylebone Road
London NW1 5PU
UK | UAE | INDIA | SINGAPORE

ISBN 978-93-55510-969

www.bpbonline.com
Dedicated to
"To all the Developers in the world"
About the Author
Mayur is a Dynamic and Result Oriented professional with a passion
for Software Engineering and Perfection. Currently, working as a Full
Stack Software Engineer on various projects utilising Gatsby.js,
Nikola, HTML,CSS, Bootstrap, Javascript and so on. Mayur has also
used various design patterns such as CRUD, SearchBar,
CSVDownloader, Loader for UI creation of a network device and
written blogs on each of them. He has done Bachelors of Electronic
Engineering from University of Pune, along with a Diploma in
Electronics and Telecommunications. Apart from this, he posseses
60+ certifications on Pluralsight, which includes course subjects such
as React, React Native, GraphQL, Python, Django, Javascript, etc. He
is also passionate about philosophy and spirituality.
About the Reviewer
Chad Elofson is a Software Analyst using Node and Deno-based
technologies. He works at Thompson Rivers University as a Software
Analyst. He started his IT career 19 years ago as Network
Administrator. For the past eight years, he has moved to Software
Engineering focused on JavaScript runtime-based technologies.
Acknowledgement
I’m grateful to the team at BPB Publications for giving me the
opportunity to write the book.
Preface
This book introduces developers to the new JavaScript runtime
named Deno. It also shows how to create web applications on the
front-end and the back-end with TypeScript using Deno.js.
This book takes a practical approach for web developers or
JavaScript. It covers a few realtime examples as well.
This book is divided into 9 chapters. They will cover Introduction to
Deno, Introduction to TypeScript, Create Web Applications with
React, Introduction to GraphQL, Creating GraphQL API server,
Creating Svelte Application etc. The details are listed below.
Chapter 1 will cover what Deno is, why Deno was introduced by the
creator of Node.js (popular JavaScript runtime), what are the
differences between Deno and Node etc. Will list features of Deno.
Will explain different technologies used in creating Deno. It will also
provide information about What is JavaScript runtime and What is
JavaScript engine.
Chapter 2 will cover What is TypeScript, benefits of TypeScript,
features of TypeScript etc. It will also explain the basics of
TypeScript for the JavaScript developers. It will also provide details
about how to set up TypeScript.
Chapter 3 will provide details on how to install Deno. It will also list
some of the widely used developer tools like VS Code, Terminal etc.
necessary for development.
Chapter 4 will cover details about the Deno Ecosystem. Deno
ecosystem includes Deno CLI details like Environment variables,
subcommands, how to pass arguments, File watcher, Permission
flags, Permission allow-list etc. It will also list Deno runtime APIs like
Web APIs, Global APIs etc. Deno modules which are an essential
part of the ecosystem are listed as two categories Standard library
and Third-party modules. Also, Module registries like Deno’s own site
deno.land/x and nest.land will also be listed.
Chapter 5 will introduce Aleph.js, A Full-stack React framework for
Deno. It will list the concepts like pages, routing etc. in brief. It will
create a Todos App API using provided API like GET, POST, DELETE
etc. This will be helpful for the developer to get familiar with the
concepts utilized in the next chapter.
Chapter 6 will continue the Todos app development and will cover
UI implementation. It will provide details on how to use the Styled
component library to create React components with CSS styling. It
will provide code to create basic components like Button, Input etc.
and will utilize them in the app along with TodoList and TodoDetails
components.
Chapter 7 will introduce GraphQL and will provide details about
features like precise fetching, Single API Endpoint etc. It will also list
some of the core concepts like Type, Input, Mutation, Resolver etc.
It will then introduce oak module along with oak-graphql which will
be used to implement GraphQL Server in the next chapter.
Chapter 8 will cover implementation of GraphQL server using oak,
oak-graphql for creating Phonebook app. It will provide details on
how to create a git repo, will use trex as package manager and
velociraptor as script runner. It will also provide the code for server
setup, Schema, Resolvers. Database setup using ORM and
authentication etc.
Chapter 9 will introduce the promising JavaScript framework or
compiler Svelte. Snel is a module for creating Svelte applications
using Deno. It will cover the setup process for Snel and snel-carbon
(UI component module). It will then provide code for setting up
public private routes for the app along with Svelte components.
Coloured Images
Please follow the link to download the
Coloured Images of the book:

https://rebrand.ly/nbyzlk9
We have code bundles from our rich catalogue of books and videos
available at https://github.com/bpbpublications. Check them
out!

Errata
We take immense pride in our work at BPB Publications and follow
best practices to ensure the accuracy of our content to provide with
an indulging reading experience to our subscribers. Our readers are
our mirrors, and we use their inputs to reflect and improve upon
human errors, if any, that may have occurred during the publishing
processes involved. To let us maintain the quality and help us reach
out to any readers who might be having difficulties due to any
unforeseen errors, please write to us at :
[email protected]
Your support, suggestions and feedbacks are highly appreciated by
the BPB Publications’ Family.

Did you know that BPB offers eBook versions of every book
published, with PDF and ePub files available? You can upgrade
to the eBook version at www.bpbonline.com and as a print
book customer, you are entitled to a discount on the eBook
copy. Get in touch with us at: [email protected] for
more details.
At www.bpbonline.com, you can also read a collection of
free technical articles, sign up for a range of free newsletters,
and receive exclusive discounts and offers on BPB books and
eBooks.
Piracy
If you come across any illegal copies of our works in any form
on the internet, we would be grateful if you would provide us
with the location address or website name. Please contact us
at [email protected] with a link to the material.

If you are interested in becoming an


author
If there is a topic that you have expertise in, and you are
interested in either writing or contributing to a book, please
visit www.bpbonline.com. We have worked with thousands
of developers and tech professionals, just like you, to help
them share their insights with the global tech community. You
can make a general application, apply for a specific hot topic
that we are recruiting an author for, or submit your own idea.

Reviews
Please leave a review. Once you have read and used this book,
why not leave a review on the site that you purchased it from?
Potential readers can then see and use your unbiased opinion
to make purchase decisions. We at BPB can understand what
you think about our products, and our authors can see your
feedback on their book. Thank you!
For more information about BPB, please visit
www.bpbonline.com.
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
Other documents randomly have
different content

You might also like