Developer Developer Developer

Lộ trình 6 tuần cho developer: từ mental model edge tới Workers, storage, Pages và dự án portfolio trên Developer Platform. A 6-week developer path: edge mental model to Workers, storage, Pages, and a Developer Platform portfolio project. A 6-week developer path: edge mental model to Workers, storage, Pages, and a Developer Platform portfolio project.

  • • Lập trình viên frontend/backend muốn học serverless trên edge Frontend/backend developers learning serverless at the edge Frontend/backend developers learning serverless at the edge
  • • Sinh viên CNTT làm đồ án trên Cloudflare CS students building projects on Cloudflare CS students building projects on Cloudflare
  • • Dev đã dùng AWS/Vercel muốn thêm Workers vào stack Devs on AWS/Vercel adding Workers to their stack Devs on AWS/Vercel adding Workers to their stack

Kết quả cuối: Final outcome: Final outcome: Deploy được mini-project full-stack (Pages + Worker + storage) và hiểu pattern production cơ bản. Deploy a full-stack mini-project (Pages + Worker + storage) and understand basic production patterns. Deploy a full-stack mini-project (Pages + Worker + storage) and understand basic production patterns.

Tiến độ roadmapRoadmap progressវឌ្ឍនភាព roadmap

0/6 tuần · 0%0/6 weeks · 0%0/6 weeks · 0%

Tuần 1 Week 1 Week 1

Nền tảng mạng và mental model Developer Platform Networking basics and Developer Platform mental model Networking basics and Developer Platform mental model

Hiểu request/response, edge vs origin — nền tảng trước khi viết Workers hoặc deploy Pages. Understand request/response and edge vs origin — foundation before writing Workers or deploying Pages. យល់ request/response និង edge vs origin — មូលដ្ឋានមុនសរសេរ Worker ឬ deploy Pages។

Chủ đề Topics ប្រធានបទ

  • HTTP basics
  • Edge computing
  • Workers runtime
  • Dev environment

Liên kết trên hub Hub links តំណ hub

Sản phẩm gợi ý Recommended products ផលិតផលណែនាំ

  • Workers
  • DNS
  • CDN

Bài tập Exercises លំហាត់

  • Đọc Cloudflare 101 phần Developer Platform — ghi 5 thuật ngữ mới vào sổ. Read the Developer Platform section of Cloudflare 101 — note 5 new terms in your notebook. អាន Developer Platform section នៃ Cloudflare 101 — ចំណាំ term 5 ថ្មីក្នុង notebook។
  • Tra glossary: Worker, edge, origin, KV — giải thích bằng tiếng Việt đơn giản. Look up glossary terms: Worker, edge, origin, KV — explain each in simple terms. ស្វែងរក glossary៖ Worker, edge, origin, KV — ពន្យល់នីមួយៗដោយពាក្យសាមញ្ញ។
  • Liệt kê 3 loại app bạn muốn build và match với Workers vs Pages. List 3 app types you want to build and match each to Workers vs Pages. រាយ app type 3 ដែលអ្នកចង់បង្កើត ហើយ match នីមួយទៅ Workers vs Pages។

Kết quả tuần: Week outcome: Week outcome: Bạn biết Workers chạy ở edge và khác gì so với server VPS truyền thống. You know Workers run at the edge and how they differ from a traditional VPS server. អ្នកដឹង Worker run នៅ edge ហើយវាខុសពី VPS server ធម្មតា។

Nguồn tham khảo Sources ប្រភព

Tuần 2 Week 2 Week 2

Workers: routing, middleware và tích hợp API Workers: routing, middleware, and API integration Workers: routing, middleware, and API integration

Viết Worker xử lý request, proxy API và áp dụng pattern routing cơ bản. Write a Worker that handles requests, proxies APIs, and applies basic routing patterns. សរសេរ Worker handle request, proxy API និង routing pattern មូលដ្ឋាន។

Chủ đề Topics ប្រធានបទ

  • Fetch API
  • Routes
  • Environment variables
  • Error handling
  • Cron Triggers

Liên kết trên hub Hub links តំណ hub

Ví dụ triển khai gợi ý Suggested deployment tutorials Tutorial deploy ណែនាំ

Sản phẩm gợi ý Recommended products ផលិតផលណែនាំ

  • Workers
  • Workers Routes
  • Workers AI

Bài tập Exercises លំហាត់

  • Hoàn thành 3 lesson đầu track Developer Platform về Workers. Complete the first 3 lessons of the Developer Platform track on Workers. បញ្ចប់ 3 lesson ដើម Developer Platform track អំពី Workers។
  • Đọc use case secure API — sketch Worker đứng trước origin và validate header. Read the secure API use case — sketch a Worker in front of origin that validates headers. អាន secure API use case — sketch Worker មុខ origin validate header។
  • Viết pseudocode Worker: redirect, CORS, và cache header đơn giản. Write pseudocode for a Worker: redirect, CORS, and simple cache headers. សរសេរ pseudocode Worker៖ redirect, CORS និង cache header សាមញ្ញ។

Kết quả tuần: Week outcome: Week outcome: Bạn mô tả được luồng code Worker từ request tới response mà không cần nhìn dashboard. You can describe Worker code flow from request to response without looking at the dashboard. អ្នកអាចពណ៌នាលំហូ code Worker ពី request ទៅ response ដោយមិនមើល dashboard។

Nguồn tham khảo Sources ប្រភព

Tuần 3 Week 3 Week 3

Storage: KV, D1 và R2 — chọn đúng công cụ Storage: KV, D1, and R2 — picking the right tool Storage: KV, D1, and R2 — picking the right tool

Phân biệt KV (key-value), D1 (SQL) và R2 (object) — chọn binding phù hợp dự án. Distinguish KV (key-value), D1 (SQL), and R2 (object) — choose the right binding for your project. បំបែក KV (key-value), D1 (SQL), R2 (object) — ជ្រើស binding ត្រឹមត្រូវសម្រាប់ project។

Chủ đề Topics ប្រធានបទ

  • KV
  • D1
  • R2
  • Bindings
  • Consistency trade-offs

Liên kết trên hub Hub links តំណ hub

Sản phẩm gợi ý Recommended products ផលិតផលណែនាំ

  • KV
  • D1
  • R2

Bài tập Exercises លំហាត់

  • Đọc product pages KV, D1, R2 — điền bảng so sánh: use case, latency, query type. Read KV, D1, and R2 product pages — fill in a comparison table: use case, latency, query type. អាន product page KV, D1, R2 — បំពេញតារាង compare៖ use case, latency, query type។
  • Thiết kế schema D1 đơn giản cho app todo hoặc guestbook. Design a simple D1 schema for a todo or guestbook app. រចនា D1 schema សាមញ្ញសម្រាប់ app ដែលអ្នកចង់បង្កើត (ឧ. guestbook)។
  • Chọn storage cho app upload ảnh + metadata — giải thích vì sao không dùng KV alone. Choose storage for an image upload app with metadata — explain why KV alone is not enough. ជ្រើស storage សម្រាប់ image upload app ជាមួយ metadata — ពន្យល់ហេតុ KV តែម្នាក់ឯងមិនគ្រប់គ្រាន់។

Kết quả tuần: Week outcome: Week outcome: Bạn không mặc định D1 cho mọi thứ — biết khi nào R2 hoặc KV hợp lý hơn. You do not default to D1 for everything — you know when R2 or KV is a better fit. អ្នកមិន default ទៅ D1 សម្រាប់អ្វីគ្រប់យ៉ាង — ដឹងពេល R2 ឬ KV សមជាង។

Nguồn tham khảo Sources ប្រភព

Tuần 4 Week 4 Week 4

Pages: deploy frontend và full-stack nhỏ Pages: deploying frontends and small full-stack apps Pages: deploying frontends and small full-stack apps

Deploy static site hoặc full-stack app với Pages và Functions. Deploy a static site or small full-stack app with Pages and Functions. Deploy static site ឬ full-stack app តូចជាមួយ Pages និង Functions។

Chủ đề Topics ប្រធានបទ

  • Pages project
  • Git integration
  • Pages Functions
  • Preview deployments
  • Custom domains

Liên kết trên hub Hub links តំណ hub

Ví dụ triển khai gợi ý Suggested deployment tutorials Tutorial deploy ណែនាំ

Sản phẩm gợi ý Recommended products ផលិតផលណែនាំ

  • Pages
  • Workers
  • R2

Bài tập Exercises លំហាត់

  • Đọc use case deploy static site — liệt kê 5 bước từ repo tới production. Read the deploy static site use case — list 5 steps from repo to production. អាន deploy static site use case — រាយជំហាន 5 ពី repo ទៅ production។
  • Hoàn thành lesson Pages trong track — ghi chú preview vs production. Complete the Pages lesson in the track — note differences between preview and production. បញ្ចប់ Pages lesson ក្នុង track — ចំណាំភាពខុសគ្នា preview vs production។
  • Phác thảo cấu trúc repo: frontend Pages + API Worker hoặc Functions. Sketch repo structure: Pages frontend + API Worker or Functions. គូររូប repo structure៖ Pages frontend + API Worker/Functions។

Kết quả tuần: Week outcome: Week outcome: Bạn có thể mô tả pipeline deploy từ git push tới URL production trên Pages. You can describe the deploy pipeline from git push to production URL on Pages. អ្នកអាចពណ៌នា deploy pipeline ពី git push ទៅ production URL នៅ Pages។

Nguồn tham khảo Sources ប្រភព

Tuần 5 Week 5 Week 5

Nâng cao: Durable Objects, AI và pattern production Advanced: Durable Objects, AI, and production patterns Advanced: Durable Objects, AI, and production patterns

Làm quen stateful edge (Durable Objects) và Workers AI — khi nào cần vượt Worker stateless. Get familiar with stateful edge (Durable Objects) and Workers AI — when to go beyond a stateless Worker. ស្គាល់ stateful edge (Durable Objects) និង Workers AI — ពេលណាលើស stateless Worker។

Chủ đề Topics ប្រធានបទ

  • Durable Objects
  • WebSockets
  • Workers AI
  • Vectorize
  • Observability

Liên kết trên hub Hub links តំណ hub

Sản phẩm gợi ý Recommended products ផលិតផលណែនាំ

  • Durable Objects
  • Workers AI
  • AI Gateway
  • Vectorize

Bài tập Exercises លំហាត់

  • Đọc product Durable Objects — nêu 1 use case cần state (chat room, counter, lock). Read the Durable Objects product page — name 1 use case that needs state (chat room, counter, lock). អាន Durable Objects product page — រាយ use case 3 (chat, counter, coordination)។
  • Skim 1 tutorial Workers AI trên Developer Docs — tóm tắt input/output flow. Skim 1 Workers AI tutorial on Developer Docs — summarize the input/output flow. អាន Workers AI doc — sketch flow៖ user input → AI inference → response។
  • Liệt kê 3 điều cần monitor khi Worker lên production (errors, latency, quotas). List 3 things to monitor when a Worker goes to production (errors, latency, quotas). ជ្រើស project idea 1 ហើយ map component (Worker, DO, AI, Vectorize)។

Kết quả tuần: Week outcome: Week outcome: Bạn biết khi nào refactor sang Durable Objects thay vì nhồi logic vào một Worker. You know when to refactor to Durable Objects instead of cramming logic into a single Worker. អ្នកអាចពណ៌នាពេលណា Durable Objects ឬ Workers AI សមស្របសម្រាប់ app idea របស់អ្នក។

Nguồn tham khảo Sources ប្រភព

Tuần 6 Week 6 Week 6

Dự án cuối: build, bảo vệ và checklist go-live Capstone: build, protect, and go-live checklist Capstone: build, protect, and go-live checklist

Hoàn thiện mini-project full-stack, thêm lớp bảo vệ cơ bản và tự đánh giá sẵn sàng production. Complete a full-stack mini-project, add basic protection, and self-assess production readiness. បញ្ចប់ capstone project, apply security basics (WAF awareness) និង deploy checklist។

Chủ đề Topics ប្រធានបទ

  • Capstone project
  • WAF basics
  • Secrets
  • Checklist
  • Quiz

Liên kết trên hub Hub links តំណ hub

Sản phẩm gợi ý Recommended products ផលិតផលណែនាំ

  • Workers
  • Pages
  • D1
  • WAF
  • DNS

Bài tập Exercises លំហាត់

  • Hoàn thành mini-project: 1 Pages site + 1 API Worker + storage — ghi README tiếng Việt. Complete a mini-project: 1 Pages site + 1 API Worker + storage — write a README. Deploy capstone project ទៅ Pages ឬ Workers — បង្ហាញ URL preview។
  • Đọc checklist beginner — đánh dấu mục đã làm và mục còn thiếu cho project. Read the beginner checklist — mark items done and items still missing for your project. ពិនិត្យ WAF managed rule សម្រាប់ project — ចំណាំ rule 2 ដែល relevant។
  • Làm quiz beginner readiness — ôn lại phần sai và cập nhật README. Take the beginner readiness quiz — review wrong answers and update your README. ធ្វើ beginner readiness quiz; សរសេរ post-mortem 1 ទំព័រ៖ អ្វីដែលរៀនបាន vs ត្រូវការរៀនបន្ថែម។

Kết quả tuần: Week outcome: Week outcome: Bạn có 1 project portfolio trên Cloudflare và checklist go-live tự tin chia sẻ. You have 1 portfolio project on Cloudflare and a go-live checklist you can share confidently. អ្នកមាន project deployed URL + README ពន្យល់ architecture និង next step។

Nguồn tham khảo Sources ប្រភព