Lộ trình đang học Current learning path Current learning path

Developer Platform Developer Platform Developer Platform

Lộ trình cho người muốn ship API hoặc tool mà không quản máy chủ. Đọc bài kiến thức, rồi làm lab hub, rồi lab chính thức nếu có. A path for people who want to ship an API or a tool without running a server. Read the knowledge lesson, do the hub lab, then the official lab when one exists. ផ្លូវសម្រាប់អ្នកចង់ ship API ឬ tool ដោយមិនដំណើរការ server។ អានមេរៀនចំណេះដឹង រួចធ្វើ lab hub រួច lab ផ្លូវការ បើមាន។

Về trang lộ trình Track home Track home

Phần 0: Kiến trúc và quy trình Part 0: Architecture and workflow Part 0: Architecture and workflow · Bài 1/1 Lesson 1/1 Lesson 1/1

Kiến thức Knowledge Knowledge Khoảng 15 phút About 15 min About 15 min

Kiến trúc Developer Platform Developer Platform architecture Developer Platform architecture

Không cần bài trước. No prerequisites. No prerequisites. Có thể bắt đầu bằng workers.dev. Muốn gắn domain riêng thì học Application Services trước. You can start on workers.dev. Learn Application Services first if you want your own domain. You can start on workers.dev. Learn Application Services first if you want your own domain.

Ý chính Main ideas Main ideas

App mới chạy trên Worker. Site Git có sẵn thì dùng Pages. Dữ liệu đi qua binding (KV, D1, R2). AI chỉ làm sau khi secret và storage đã ổn. A new app runs on a Worker. An existing Git site uses Pages. Data goes through a binding (KV, D1, or R2). Add AI only after secrets and storage are in place. A new app runs on a Worker. An existing Git site uses Pages. Data goes through a binding (KV, D1, or R2). Add AI only after secrets and storage are in place.

Developer Platform architecture

Cách hoạt động How it works How it works

Worker là một chương trình nhỏ chạy trên mạng Cloudflare. Bạn không thuê máy chủ. Request vào Worker, Worker gọi binding nếu cần, rồi trả lời. Pages giữ file tĩnh từ Git và có thể gọi Function cùng runtime đó. A Worker is a small program that runs on Cloudflare’s network. You do not rent a server. A request hits the Worker, the Worker calls a binding if it needs data, then it answers. Pages keeps static files from Git and can call a Function on the same runtime. A Worker is a small program that runs on Cloudflare’s network. You do not rent a server. A request hits the Worker, the Worker calls a binding if it needs data, then it answers. Pages keeps static files from Git and can call a Function on the same runtime.

Kiến trúc Architecture Architecture

Thứ tự học: (1) Worker với C3 và Wrangler, (2) Pages chỉ khi site đã nằm trên Git, (3) chọn KV, D1 hoặc R2, (4) log và Turnstile, (5) Workers AI. Durable Objects, Queues, Workflows và Hyperdrive là nhánh sau, mỗi cái một việc. Learn in this order: (1) a Worker with C3 and Wrangler, (2) Pages only when the site already lives in Git, (3) pick KV, D1, or R2, (4) logs and Turnstile, (5) Workers AI. Durable Objects, Queues, Workflows, and Hyperdrive come later, one job each. Learn in this order: (1) a Worker with C3 and Wrangler, (2) Pages only when the site already lives in Git, (3) pick KV, D1, or R2, (4) logs and Turnstile, (5) Workers AI. Durable Objects, Queues, Workflows, and Hyperdrive come later, one job each.

Sơ đồ Diagrams Diagrams

Hình 1: Cloudflare Developer Platform

Ứng dụng fullstack Fullstack applications Fullstack applications

Ví dụ fullstack trên Developer Platform — Workers/Pages, storage và AI services trong một kiến trúc thực tế. A practical example of how these services come together in a real fullstack application architecture. A practical example of how these services come together in a real fullstack application architecture.

Thuật ngữ: Concepts: Concepts: Workers · Pages · D1 · R2 · KV · Durable Objects

Sơ đồ chính thức ↗ Official diagram ↗ Official diagram ↗ · Serverless Serverless Serverless

Hình 1: Kiến trúc truyền thống một vùng

API serverless toàn cầu Serverless global APIs Serverless global APIs

Ví dụ kiến trúc API serverless trên Cloudflare — compute và data product (Workers, D1, R2) tương tác thế nào. An example architecture of a serverless API on Cloudflare and aims to illustrate how different compute and data products could interact with each other. An example architecture of a serverless API on Cloudflare and aims to illustrate how different compute and data products could interact with each other.

Thuật ngữ: Concepts: Concepts: Workers · D1 · R2 · Global API · Edge compute

Sơ đồ chính thức ↗ Official diagram ↗ Official diagram ↗ · Serverless Serverless Serverless

Khi nào dùng When to use it When to use it

Dùng lộ trình này khi bạn muốn ship API, tool nội bộ hoặc MVP mà không quản máy chủ. Use this path when you want to ship an API, an internal tool, or an MVP without running a server. Use this path when you want to ship an API, an internal tool, or an MVP without running a server.

Khi nào không dùng When not to use it When not to use it

Đừng bắt đầu API mới bằng Pages Functions. Đừng gọi model trước khi secret nằm trên Worker, không nằm trong code gửi xuống trình duyệt. Do not start a new API with Pages Functions. Do not call a model before the secret lives on the Worker, not in code sent to the browser. Do not start a new API with Pages Functions. Do not call a model before the secret lives on the Worker, not in code sent to the browser.

Gói và giới hạn Plans and limits Plans and limits

Workers Free đủ để học Hello World. Số liệu kiểm tra 2026-11-15: 100.000 request/ngày và 10 ms CPU trên Free. Gói Paid có trần CPU cao hơn; mức phí tối thiểu ghi trên trang pricing, bài này không báo giá. Nguồn: https://developers.cloudflare.com/workers/platform/limits/ https://developers.cloudflare.com/workers/platform/pricing/ Workers Free is enough to learn Hello World. Numbers checked 2026-11-15: 100,000 requests per day and 10 ms of CPU on Free. Paid has a higher CPU ceiling; the monthly minimum is on the pricing page, and this lesson is not a quote. Sources: https://developers.cloudflare.com/workers/platform/limits/ https://developers.cloudflare.com/workers/platform/pricing/ Workers Free is enough to learn Hello World. Numbers checked 2026-11-15: 100,000 requests per day and 10 ms of CPU on Free. Paid has a higher CPU ceiling; the monthly minimum is on the pricing page, and this lesson is not a quote. Sources: https://developers.cloudflare.com/workers/platform/limits/ https://developers.cloudflare.com/workers/platform/pricing/

Không phải báo giá. Đối chiếu docs và dashboard. Kiểm tra lần cuối: 2026-11-11. Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11. Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.

Thuật ngữ Glossary Glossary

  • Worker Worker Worker

    Chương trình chạy mỗi khi có request, không cần máy chủ riêng. A program that runs when a request arrives, without a server of your own. A program that runs when a request arrives, without a server of your own.

  • Binding Binding Binding

    Dây nối từ Worker tới KV, D1, R2 hoặc AI. Tên binding nằm trong wrangler.jsonc. The link from a Worker to KV, D1, R2, or AI. The binding name lives in wrangler.jsonc. The link from a Worker to KV, D1, R2, or AI. The binding name lives in wrangler.jsonc.

Mở bảng thuật ngữ → Open the glossary → Open the glossary →
Các bước thao tác trên dashboard Steps on the dashboard Steps on the dashboard Mở Expand Expand

Ví dụ triển khai (Cloudflare Resources) Deployment examples (Cloudflare Resources) Deployment examples (Cloudflare Resources)

Ví dụ chính thức từ Cloudflare Resources — gợi ý theo chủ đề bài học trong lộ trình này. Official examples from Cloudflare Resources — matched to this lesson within this path. Official examples from Cloudflare Resources — matched to this lesson within this path.

Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform

Thêm mô hình AI mới vào sân chơi của bạn (Phần 2) Add New AI Models to your Playground (Part 2) បន្ថែមម៉ូដែល AI ថ្មីទៅក្នុងសួនកុមាររបស់អ្នក (ផ្នែកទី 2)

Trong phần 2, Kristian mở rộng trên môi trường hiện có được xây dựng trong phần 1, bằng cách cho bạn thấy cách tích hợp các mô hình AI mới và giới thiệu các thông số mới cho phép bạn tùy chỉnh cách images được tạo ra.

In part 2, Kristian expands upon the existing environment built in part 1, by showing you how to integrate new AI models and introduce new parameters that allow you to customize how images are generated.

នៅក្នុងផ្នែកទី 2 Kristian ពង្រីកលើបរិស្ថានដែលមានស្រាប់ដែលបានសាងសង់ក្នុងផ្នែកទី 1 ដោយបង្ហាញអ្នកពីរបៀបបញ្ចូលគំរូ AI ថ្មី និងណែនាំប៉ារ៉ាម៉ែត្រថ្មីដែលអនុញ្ញាតឱ្យអ្នកប្ដូរតាមបំណងពីរបៀបដែល images ត្រូវបានបង្កើត។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម
Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform

Tạo QR Code Generator Build a QR code generator បង្កើតម៉ាស៊ីនបង្កើតកូដ QR

Hướng dẫn này cho bạn thấy làm thế nào để xây dựng và xuất bản một ứng dụng Worker tạo mã QR. Phiên bản cuối cùng của codebase có sẵn trên GitHub.

This tutorial shows you how to build and publish a Worker application that generates QR codes. The final version of the codebase is available on GitHub.

ការបង្រៀននេះបង្ហាញអ្នកពីរបៀបបង្កើត និងបោះពុម្ពកម្មវិធី Worker ដែលបង្កើតកូដ QR ។ កំណែចុងក្រោយនៃ codebase មាននៅលើ GitHub ។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម
Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform

Xây dựng Retrieval Augmented Generation (RAG) AI Build a Retrieval Augmented Generation (RAG) AI បង្កើត Retrieval Augmented Generation (RAG) AI

Xây dựng ứng dụng AI đầu tiên của bạn với Cloudflare AI. Hướng dẫn này sử dụng Workers AI, Vectorize, D1 và Cloudflare Workers.

Build your first AI app with Cloudflare AI. This guide uses Workers AI, Vectorize, D1, and Cloudflare Workers.

បង្កើតកម្មវិធី AI ដំបូងរបស់អ្នកជាមួយ Cloudflare AI ។ ការណែនាំនេះប្រើ Workers AI, Vectorize, D1 និង Cloudflare Workers។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម
Tutorial Tutorial Tutorial Developer Platform Developer Platform Developer Platform

Tạo Slackbot Build a Slackbot បង្កើត Slackbot

Tìm hiểu cách xây dựng một Slackbot với Hono và TypeScript trong Cloudflare Workers

Learn how to build a Slackbot with Hono and TypeScript in Cloudflare Workers

ស្វែងយល់ពីរបៀបបង្កើត Slackbot ជាមួយ Hono និង TypeScript ក្នុង Cloudflare Workers

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម

Xem thêm ví dụ trong lộ trình → More examples in this path → More examples in this path →

Tài liệu Cloudflare Developers Cloudflare Developer docs Cloudflare Developer docs

Sản phẩm liên quan Related products Related products

Học xong hoặc muốn đổi hướng? Finished or want a different path? Finished or want a different path?

Ba lộ trình độc lập — mỗi lộ trình chỉ gồm bài học và tài liệu trong phạm vi đó. Chọn lộ trình khác khi sẵn sàng, không cần học song song. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.

Chưa chắc — làm bài chọn lộ trình Not sure — use the path selector Not sure — use the path selector · So sánh cả ba lộ trình Compare all three paths Compare all three paths