11 คะแนน โดย xguru 2021-11-18 | 1 ความคิดเห็น | แชร์ทาง WhatsApp
<p>- ขยายให้สามารถใช้ Cloudflare Workers เป็นแบ็กเอนด์ได้ <br /> → เดิมก็เชื่อมต่อกันได้อยู่แล้ว แต่ตอนนี้สามารถพัฒนาและดีพลอยฟังก์ชันแบบ serverless ไปพร้อมกับโปรเจ็กต์ Pages ได้ <br /> → หากใส่ `hello.js` ไว้ในโฟลเดอร์ `./functions` จะเรียกใช้งานได้ที่ `/hello` <br /> → เมื่อคอมมิต ระบบจะดีพลอย Worker อัตโนมัติและทำการแมป URL <br /> - มีการให้ binding แบบเดียวกับที่ใช้ใน Workers <br /> → KV namespace<br /> → Durable Object namespace <br /> → มีแผนรองรับ R2 (เข้ากันได้กับ S3) <br /> → ตัวแปรสภาพแวดล้อม <br /> → มีแผนรองรับ Secret: ตัวแปรสภาพแวดล้อมที่เข้ารหัส <br /> - รองรับการเชื่อมต่อกับ SvelteKit <br /> - สามารถใช้ Server-Side Rendering ได้ <br /> - Worker ที่พัฒนาไว้เดิมสามารถสร้างเป็น ES module แล้วแนบใช้งานได้ทันที</p>

1 ความคิดเห็น

 
xguru 2021-11-18
<p>- Cloudflare เปิดตัว Cloudflare Pages ที่ช่วยให้สร้างเว็บไซต์ที่รวดเร็วได้อย่างรวดเร็ว https://th.news.hada.io/topic?id=3418<br /> - เปิดตัว CloudFlare R2 Object Storage https://th.news.hada.io/topic?id=5100<br /> - CloudFlare เปิดเบต้า Durable Objects https://th.news.hada.io/topic?id=2930<br /> - CloudFlare เริ่มเบต้าเซิร์ฟเวอร์เลส Workers Unbound https://th.news.hada.io/topic?id=2543<br /> - วิธีที่ CloudFlare ทำให้เวลา cold start ของ Workers เป็น 0 https://th.news.hada.io/topic?id=2567<br /> - Cloudflare Workers เริ่มรองรับ Native Rust https://th.news.hada.io/topic?id=4986<br /> <br /> - Show GN: edge-yacht - เกมมัลติเพลเยอร์ที่ทำงานบน Cloudflare Workers https://th.news.hada.io/topic?id=5305</p&gt;