惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Scott Helme
Scott Helme
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Palo Alto Networks Blog
Google Online Security Blog
Google Online Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
WordPress大学
WordPress大学
博客园 - 聂微东
L
LINUX DO - 最新话题
月光博客
月光博客
小众软件
小众软件
T
Troy Hunt's Blog
A
Arctic Wolf
量子位
I
Intezer
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
S
Schneier on Security
Schneier on Security
Schneier on Security
NISL@THU
NISL@THU
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
有赞技术团队
有赞技术团队
N
News and Events Feed by Topic
美团技术团队
The Cloudflare Blog
P
Privacy International News Feed
S
Security Affairs
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
GRAHAM CLULEY
N
News | PayPal Newsroom
Apple Machine Learning Research
Apple Machine Learning Research
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LINUX DO - 热门话题
V
Vulnerabilities – Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
Application and Cybersecurity Blog
Application and Cybersecurity Blog
IT之家
IT之家
Hacker News: Ask HN
Hacker News: Ask HN
雷峰网
雷峰网

Deno

Deno 2.8 | Deno Claw Patrol: an open-source security firewall for agents | Deno Fresh 2.3: Zero JS by default, View Transitions, and Temporal support | Deno Deno 2.7: Temporal API, Windows ARM, and npm overrides | Deno Build a dinosaur runner game with Deno, pt. 6 | Deno Build a dinosaur runner game with Deno, pt. 5 | Deno Deno Deploy is Generally Available | Deno Introducing Deno Sandbox | Deno Build a dinosaur runner game with Deno, pt. 4 | Deno Build a dinosaur runner game with Deno, pt. 3 | Deno Build a dinosaur runner game with Deno, pt. 2 | Deno React / Next.js Denial-of-Service Vulnerability: Deno Deploy users protected | Deno Deno 2.6: dx is the new npx | Deno Build a dinosaur runner game with Deno, pt. 1 | Deno React Server Functions / Next.js Vulnerability: Deno Deploy users protected | Deno My highlights from the new Deno Deploy | Deno Deno's Other Open Source Projects | Deno How Deno protects against npm exploits | Deno Help Us Raise $200k to Free JavaScript from Oracle | Deno Deno 2.5: Permissions in the config file | Deno Fresh 2.0 Graduates to Beta, Adds Vite Support | Deno Deno 2.4: deno bundle is back | Deno JavaScript™ Trademark Update | Deno What's coming to JavaScript | Deno A brief history of JavaScript | Deno Reports of Deno's Demise Have Been Greatly Exaggerated | Deno An Update on Fresh | Deno How Plaid migrated 100 services to a new database platform 5x faster with Deno | Deno Deno 2.3: Improved deno compile, local npm packages, and more | Deno Add JSR packages with pnpm and Yarn | Deno Zero-config Debugging with Deno and OpenTelemetry | Deno Exploring Art with TypeScript, Jupyter, Polars, and Observable Plot | Deno Deno v Oracle Update 3: Fighting the JavaScript Trademark | Deno Build a custom RAG AI agent in TypeScript and Jupyter | Deno How to get deep traces in your Node.js backend with OTel and Deno | Deno toranoana.deno #20 登録受付中(2025年3月14日) | Deno Node just added TypeScript support. What does that mean for Deno? | Deno The Dino 🦕, the Llama 🦙, and the Whale 🐋 | Deno Publish a lint rule, get a prize | Deno Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite | Deno If you're not using npm specifiers, you're doing it wrong | Deno How Deno's documentation is evolving | Deno Oracle justified its JavaScript trademark with Node.js—now it wants that ignored | Deno Introducing the JSR open governance board | Deno Intro to Wasm in Deno | Deno Announcing OpenAI on JSR | Deno Deno in 2024 | Deno Goodbye WinterCG, welcome WinterTC | Deno Build a SolidJS app with Deno | Deno Run your Next.js SSR app on Deno Deploy | Deno Solve Advent of Code 2024 with Deno and Win Prizes! | Deno Deno v. Oracle: Canceling the JavaScript Trademark | Deno Deno 2.1: Wasm Imports and other enhancements | Deno Build a Typesafe API with tRPC and Deno | Deno Self-contained Executable Programs with Deno Compile | Deno Build a Database App with Drizzle ORM and Deno | Deno Introducing your new JavaScript package manager: Deno | Deno Announcing Growthbook on JSR | Deno Build an Astro site with Deno | Deno How to convert CommonJS to ESM | Deno Announcing Deno 2 | Deno The Final Touches: What’s New In v2.0.0-rc.10 | Deno Announcing Stable V8 Bindings for Rust | Deno Deno 2.0 Release Candidate | Deno Secure, efficient private npm registries with Cloudsmith and Deno | Deno Painting the Plane as We Fly It: Designing JSR | Deno Introducing Web Cache API support on Deno Deploy | Deno Deno 1.46: The Last 1.x Release | Deno Protect your cloud spend with new Deno Deploy spend limits | Deno What we got wrong about HTTP imports | Deno Benchmarking AWS Lambda Cold Starts Across JavaScript Runtimes | Deno Announcing Supabase on JSR | Deno Deno 1.45: Workspace and Monorepo Support | Deno Introducing KV Backup for Deno Subhosting | Deno A Gentle Intro to TypeScript | Deno Announcing Hono on JSR | Deno How We Made the Deno Language Server Ten Times Faster | Deno How the Guardian uses Deno to audit accessibility and performance across their 2.7 million articles | Deno Introducing More Flexible Domain Association for Deno Subhosting | Deno The stabilization process of the Standard Library has begun | Deno Deno 1.44: Private npm registries, improved Node.js compat, and performance boosts | Deno How we built a secure, performant, multi-tenant cloud platform to run untrusted code | Deno The Deno Standard Library is now available on JSR | Deno How to document your JavaScript package | Deno Your Low Code Solution Needs an Escape Hatch | Deno Deno 1.43: Improved Language Server performance | Deno How Slack used Deno to save months of engineering effort in launching their new platform | Deno JSR Is Not Another Package Manager | Deno Announcing the Hookdeck SDK on JSR | Deno Announcing the Neon Serverless Driver on JSR | Deno An intro to TSConfig for JavaScript Developers | Deno How we built JSR | Deno How Netlify used Deno Subhosting to build a successful edge functions product | Deno Introducing Simpler Project Creation in Deno Deploy | Deno Deno 1.42: Better dependency management with JSR | Deno Introducing deployctl, the command line interface for Deno Deploy | Deno Introducing JSR - the JavaScript Registry | Deno How to add Monaco to a Next.js app and securely run untrusted user code | Deno Survey Results and Roadmap | Deno Deno 1.41: smaller deno compile binaries | Deno
Introducing Deno Deploy onboarding tutorials | Deno
2024-02-08 · via Deno

Deno Deploy, our global v8 isolate cloud, not only makes it easy to deploy JavaScript, TypeScript, and Wasm, globally within seconds, but also offers a set of cloud primitives — Deno KV, Cron, and Queues — that become globally distributed for optimal performance.

We’ve recently updated our Deno Deploy onboarding flow to introduce these primitives in the context of Deploy. Your new Deno Deploy dashboard now includes resources at the top, including a link to the “Learning Playground”, which we’ll go over below.

⚠️ Experience the fastest way to deploy JavaScript and TypeScript to the cloud. Signup for a free Deno Deploy account today.

The new Deno Deploy dashboard

Your new Deno Deploy dashboard now includes resources, projects, and account-wide metrics. The red circle highlights the Learning Playground, which will take you to a series of tutorials.

Your new Deno Deploy dashboard.

Under Recently updated projects, you’ll notice a new green tag,
Deno EDU, which means the project is one of the onboarding tutorials.

Let’s take a look at the tutorials found in Learning Playground.

Your new learning playground

The learning playground currently covers five simple use cases:

  • creating an HTTP server,
  • persisting data to a global KV store with Deno KV,
  • building a REST API with Hono,
  • setting up real time application with WebSockets, and
  • scheduling recurring tasks with Deno Cron

There are currently five simple tutorials

Learning Playground currently includes these five tutorials.

The goal is to help new users become familiar with the Deno Deploy platform, Deno’s built-in cloud primitives, and guide them towards success when building and hosting own projects on Deno Deploy.

To give you a better idea of this new onboarding experience, let’s go through the first tutorial.

A simple HTTP server

The first tutorial offered in the Learning Playground is building a simple HTTP server.

If you’ve used Deno Deploy’s Playgrounds before, then this should look familiar. On the left side there are explanations, suggestions, and tips on the code in the editor. Finally, once you’ve made the necessary changes to the code and hit “Save and Deploy”, you’ll see the on the bottom right corner.

We update our server response, save and deploy, and see the changes within seconds.

Once you’re done with the tutorial, you can check out another one with the links on the bottom of the left side.

Or, if you want to revert to the original code template, simply hit the “Reset” button.

How about we look at another tutorial, this time using a cloud primitive?

Persisting data with Deno KV

Deno KV is a zero config, globally distributed, ACID-supported key value database that’s built right into the runtime, which means you can skip provisioning a database and juggling API keys, and connect to the database with a single line of code:

const kv = await Deno.openKv();

While you can use it in Deno, when that project is deployed to Deno Deploy, it becomes globally distributed with multiple read regions for optimal performance.

This tutorial is a gentle introduction to Deno KV by creating a server uses each request to increment and store a counter in Deno KV:

Updating the increment count in the web server, deploying, and seeing the results.

Once you’ve saved and deployed, the playground output now displays three new tabs: Logs, KV, and Cron. Note: all of your projects on Deno Deploy will have these tabs visible in your project settings.

The Cron tab on Deno Deploy

Under the KV tab, you’ll notice the key ["visitors"] populated with the counter value.

Scheduling a recurring task with Deno Cron

Deno.cron is a zero config, simple way to create scheduled jobs that’s built right into the runtime. When used on Deno Deploy, it’s automatically detected and managed — you can even run cron jobs without a web server or consistent incoming requests to keep your isolate alive. Deno Deploy handles all of it behind the scenes.

This tutorial shows you how to create a scheduled task with cron expressions, as well as using Deno KV to keep track of how many times this task was executed:

Updating the cron expression, saving and deploying, and seeing the scheduled task succeed.

When you click on the “cron” tab in the playground output, you can see the job that was detected by Deno Deploy: its name, schedule (as represented in cron syntax), as well as when it was last executed. Note this cron tab is also available on all your Deno Deploy projects in the settings view.

Have an onboarding tutorial suggestion? Let us know here.

What’s next?

Deno Deploy is a simple and fast way to host JavaScript and TypeScript. And with native TypeScript support, web standards APIs, native Node and npm modules support, and built-in cloud primitives such as Deno KV, Cron, and Queues, you can build complex production applications easier and faster.

If you don’t have an existing project and want to try Deno Deploy, try forking and editing this more advanced Playground that uses Deno cron to ping a weather API — it’s the fastest way to host JavaScript on the internet.

Are you using Deno Deploy? We’d love to hear from you on Discord or Twitter!