跳到正文
视频入门

Cloudflare Workers 101:面向初学者的完整课程

全面介绍 Cloudflare Workers,从注册账号到在 Cloudflare 全球边缘网络部署无服务器函数。

作者
Cloudflare Developers
发布时间
2024年3月12日
时长
1:00:00
在 YouTube 观看

该介绍目前仅提供英文版本。

This comprehensive video course provides a complete introduction to Cloudflare Workers for beginners. Cloudflare Workers is a powerful serverless platform that enables you to deploy JavaScript code to Cloudflare’s global edge network, bringing your applications closer to users worldwide.

What You’ll Learn

  • Account Setup: How to create and configure your Cloudflare Workers account
  • Wrangler CLI: Installing and using the Wrangler command-line tool for Workers development
  • Creating Projects: Generating new Workers projects from scratch and from templates
  • Basic Functions: Writing your first serverless functions with JavaScript
  • Deployment: Previewing and publishing your Workers to the Cloudflare edge
  • HTML Rendering: Building websites and rendering HTML with Workers
  • Location Data: Using the request.cf object to access region data and personalize content
  • Custom Domains: Configuring Workers to run on your own domain names

Key Highlights

Unlike traditional serverless platforms that only operate in regional data centers, Cloudflare Workers runs on hundreds of servers distributed globally, providing lower latency and better performance for your users regardless of their location.

This course is perfect for web developers looking to explore serverless architecture and edge computing. By the end, you’ll have the knowledge to build and deploy your own projects on Cloudflare Workers, from simple API endpoints to full applications that leverage Cloudflare’s global network.

Prerequisites

  • Basic knowledge of JavaScript
  • Familiarity with web development concepts
  • No prior serverless experience required

Start your journey into the world of edge computing with this beginner-friendly guide to Cloudflare Workers!

继续学习