Deno: The Complete Guide Zero to Mastery
Section 2: Deno Foundations
4. Why Deno?
- Deno
- Rust by Mozilla
- TypeScript by Microsoft
- V8 Engine by Google
5. Deno Runtime And V8 Engine
- JS / TS -> V8 Engine -> Mobile / Web
6. Deno Installation
curl -fsSL https://deno.land/x/install/install.sh | sh
- Deno was installed successfully to /Users/chesterheng/.deno/bin/deno
- Manually add the directory to your $HOME/.bash_profile (or similar)
- export DENO_INSTALL=“/Users/chesterheng/.deno”
- export PATH=“$DENO_INSTALL/bin:$PATH”
open /Users/chesterheng/.deno/bin/deno
/Users/chesterheng/.deno/bin/deno --help
deno
7. Quick Note: Installing Deno
Deno online editor
10. Setting Up Our Developer Environment
deno run deno.js
deno run deno2.ts
11. Quick Note: Official VS Code Plugin
12. Our First Deno App
✂️ Copy and 📋 Paste Emoji deno doc
const food = Deno.args[0]
if(food === 'love') {
console.log('🦕...Deno is born!')
} else {
console.log('🥚...this egg needs some love')
}
deno run deno.js 'love'
13. Exercise: Our First Deno App
const food = Deno.args[0];
const parent = Deno.args[1];
if (food === 'love' && parent === 'ryan') {
console.log('🦕...Deno is born!')
}
deno run deno.js 'love' 'ryan'
15. Deno Internals And Architecture
|
Node JS |
Deno |
Engine |
V8 |
V8 |
Written In |
C++ |
Rust |
Asynchronous I/O |
LIBUV |
TOKIO |
17. Deno Metrics
setTimeout(() => {
console.log('check')
console.table(Deno.metrics())
}, 1000)
18. Exercise: Deno Architecture
When do we run the Rust code?
|
Node JS |
Deno |
Window Object |
global |
window |
window.fetch |
node-fetch |
available |
19. Web Developer Monthly
20. Endorsements On LinkedIN
Section 3: Deno vs Node
21. Deno Game Changers
22. Deno Game Changers 2
23. Will Deno Kill NodeJS?
24. Single Executable To Rule Them All
25. Deno Security
26. Deno Permissions
27. Deno Permissions 2
28. Deno Permissions 3
Section 4: Deno Modules And Tooling
Section 5: TypeScript?
Section 6: Deno File I/O - Planets Project
Section 7: Exercise: SpaceX Launch Data
Section 8: NASA Project: Deno For Backend Development
Section 9: NASA Project: Deno Production And The Cloud (Docker + AWS)
Section 10: Where To Go From Here?
Section 11: Bonus: How JavaScript Works
Section 12: Bonus: Learning TypeScript
Section 13: Bonus: HTTP, AJAX, JSON and APIs
Download Details:
Author: chesterheng
Source Code: https://github.com/chesterheng/deno-complete-guide
#deno #nodejs #node #javascript