Skip to main content
CF

Deno 101 For Web Developers

2h 46m 30s
English
Paid

Welcome to Deno 101! In this comprehensive series, you will embark on a journey to learn about Deno, a modern and secure runtime built on top of Rust, designed to improve your web development skills.

Introduction to Deno

Deno is a new and innovative runtime for executing JavaScript and TypeScript outside of the browser. Its development addresses several limitations found in Node.js, offering modern features and enhanced security.

Why Choose Deno?

  • Security First: Deno prevents common security vulnerabilities by default, requiring explicit permission for operations like file read/write or network access.
  • Built-in Tools: Comes equipped with a package manager, a bundler, a code formatter, a test runner, and a linter, simplifying the development process.
  • Compatibility: Directly supports TypeScript, reducing the need for additional compilation steps.
  • No node_modules: Uses a different dependency management without the traditional node_modules directory, offering a more streamlined approach.

Getting Started with Deno

To start using Deno, you will need to install it on your system. Follow the official installation guide to get it up and running efficiently.

Installation Steps

  1. Visit the official Deno website and follow the instructions specific to your operating system.
  2. Verify your installation with deno --version to ensure everything is set up correctly.

Building Your First Deno Application

Once Deno is installed, you can create your first application. This section will guide you through building a basic Deno application, illustrating its core concepts and features.

Basic Deno Script

console.log('Hello, Deno world!');

This simple script demonstrates how easily you can execute JavaScript using Deno. To run this, save it in a file hello.ts and execute it with the command deno run hello.ts.

Conclusion

Deno offers modern web developers a robust and secure environment to build their applications. Through this course, you will gain insights into its powerful features and learn to leverage them in your projects effectively.

About the Author: Level Up Tutorials (Scott Tolinski)

Level Up Tutorials (Scott Tolinski) thumbnail

Level Up Tutorials is the online course platform of Scott Tolinski, a US developer best known as the co-host (with Wes Bos) of the long-running Syntax podcast. Level Up Tutorials has been publishing modern web-development course material continuously since 2012 — one of the longer-running independent course platforms in the JavaScript ecosystem.

The course catalog covers the modern full-stack JavaScript landscape: React (including Next.js), Svelte / SvelteKit (Scott has been a long-running advocate for Svelte), Vue, GraphQL, Node.js, MongoDB, the testing tracks, Tailwind CSS, animation patterns, and the surrounding tooling. Material is structured around long-form project-based tutorial series rather than disconnected feature videos.

The CourseFlix listing under this source carries over 10 Level Up Tutorials courses spanning that range. Material is paid; Level Up Tutorials runs on a monthly / annual subscription on the original platform. Courses are aimed at intermediate-and-up web developers.

Watch Online 22 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 22 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: #0 Deno 101 For Web Developers
All Course Lessons (22)
#Lesson TitleDurationAccess
1
#0 Deno 101 For Web Developers Demo
01:05
2
#1 What Is Deno?
06:47
3
#2 Installing Deno
05:20
4
#3 Getting Started
09:28
5
#4 VSCode Setup
04:53
6
#5 Denon
05:15
7
#6 Deno Permissions
05:48
8
#7 Deno CLI
06:38
9
#8 How To Read A File In Deno
06:18
10
#9 How To Write A File In Deno
03:44
11
#10 Contract Generator
14:11
12
#11 Deps TS
05:58
13
#12 HTTP Serving With Oak
09:31
14
#13 Serving Static Files with Oak
07:40
15
#14 Routing and Serving JSON
08:04
16
#15 Real World Organization
12:44
17
#16 Oak Middleware
12:28
18
#17 Error Handling
10:32
19
#18 Project Organization
15:50
20
#19 Environment Variables
08:34
21
#20 Bundling
02:34
22
#21 Where To Go From Here
03:08
Unlock unlimited learning

Get instant access to all 21 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

  • Deno Full Course thumbnailUpdated 1y ago

    Deno Full Course

    By: Fireship
    Deno Full Course is a hands-on training course where you will build a full-fledged web application using Deno without relying on external dependencies.
    2h 10m

Frequently asked questions

What prerequisites are needed to enroll in this course?
Before enrolling in this course, you should have a basic understanding of JavaScript or TypeScript, as Deno is a runtime for these languages. Familiarity with Node.js will be helpful but not essential, as Deno addresses several limitations of Node.js and offers a different approach. The course starts with introductory lessons on Deno, so prior experience with Deno itself is not required.
What kind of projects will I build during the course?
Throughout the course, you will work on various projects such as creating a contract generator and building HTTP servers using the Oak framework. These projects are designed to help you understand how to leverage Deno's features like TypeScript support, built-in tools, and security permissions in real-world applications.
Who is the target audience for this course?
The course is aimed at web developers who are interested in learning about Deno as an alternative to Node.js. It is suitable for those looking to improve their skills in modern JavaScript and TypeScript development, with a focus on security and efficient project management. Developers curious about transitioning to or experimenting with new runtime environments would benefit the most.
How does the depth of this course compare to similar courses?
This course offers a comprehensive introduction to Deno, spanning 22 lessons that cover everything from installation to project organization. It includes practical exercises with tools like VSCode and frameworks such as Oak, focusing on both the basics and more advanced features of Deno. The scope is suitable for beginners to intermediate learners, providing a solid foundation in Deno compared to specialized or advanced courses.
What specific tools and platforms are covered in this course?
The course covers several tools and platforms integral to Deno development, including the Deno CLI, Denon for process management, and the Oak framework for HTTP server creation. It also addresses setting up the development environment using VSCode and managing project dependencies without a traditional node_modules directory.
What is not covered in this course?
The course does not cover advanced topics like custom Deno modules beyond the provided Oak framework or deep dives into Rust, the language on which Deno is built. It focuses on core Deno functionalities and practical web application development rather than advanced runtime customization or performance tuning.
How can skills from this course carry over to other web development careers?
Skills acquired from this course, such as mastering TypeScript, understanding security permissions, and using built-in tools like test runners and linters, are transferable across various web development roles. The knowledge of creating efficient, secure, and modern web applications with Deno complements existing JavaScript and TypeScript skills, making you versatile in adopting new technologies and frameworks in the industry.