Serverless Apps on Cloudflare: Build Solutions, Not Infrastructure

Peacock, Ashley

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2024-12-17
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 262
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798888650714
  • ISBN-13: 9798888650714
  • 相關分類: Serverless
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Use serverless technologies to build applications that scale, more quickly and easily, and without worrying about deployment. Whether you're writing an API, a full-stack app, or real-time code, harness the power of serverless on Cloudflare's platform so you can focus on what you do best: delivering solutions. With hands-on instruction and code samples throughout, you'll go from building a simple API to analyzing images with AI. And, when it's time to launch, you'll learn how to deploy your applications and websites automatically, and how to optimize their performance for production.

For decades, applications have been built and deployed in a similar way: you write code, provision a server, and upload your code. Over the years, you've graduated from FTP or SSH to Docker and Kubernetes, but fundamentally you've just switched from owning to renting; you're paying 24/7 for the server hosting your app. Serverless technologies change that model.

With serverless, you focus on writing code, and not how it's deployed. You only pay for when your application code is executed, rather than paying for idle servers. In this book we'll use Cloudflare, which was built from the ground up to be a serverless platform, but the same concepts apply to every serverless provider.

With this book, you'll learn a better way to build applications, and you'll see improved productivity and ease of deployment. From secrets to dependencies, such as databases and caches, Cloudflare has revolutionized how to build applications, and has made building applications easier and more fun. As you go through the book, you'll learn in detail what serverless is, how it functions behind the scenes, and how to build serverless applications on Cloudflare. When you finish this book, you'll understand how to think in terms of serverless functions, and you'll have the experience of deploying and extending these apps as you work through the examples.

What You Need:

  • Mac or PC
  • GitHub account (free)
  • Cloudflare account (free)

商品描述(中文翻譯)

使用無伺服器技術來構建可擴展的應用程式,讓這個過程變得更快速、更簡單,並且不必擔心部署問題。無論您是在編寫 API、全棧應用程式,還是即時代碼,都可以利用 Cloudflare 平台上的無伺服器技術,專注於您最擅長的事情:提供解決方案。本書提供實作指導和代碼範例,您將從構建簡單的 API 開始,進而學習如何使用 AI 進行圖像分析。而當您準備上線時,您將學會如何自動部署您的應用程式和網站,以及如何優化它們在生產環境中的性能。

幾十年來,應用程式的構建和部署方式一直相似:您編寫代碼、配置伺服器,然後上傳代碼。隨著時間的推移,您從 FTP 或 SSH 進化到 Docker 和 Kubernetes,但基本上您只是從擁有轉變為租用;您為托管應用程式的伺服器支付 24/7 的費用。無伺服器技術改變了這種模式。

使用無伺服器技術,您可以專注於編寫代碼,而不是如何部署。您只需為應用程式代碼執行時付費,而不是為閒置的伺服器付費。在本書中,我們將使用 Cloudflare,這是一個從零開始構建的無伺服器平台,但相同的概念適用於每個無伺服器提供者。

通過本書,您將學會更好的應用程式構建方式,並看到生產力和部署的便利性提升。從秘密到依賴項,例如資料庫和快取,Cloudflare 徹底改變了應用程式的構建方式,讓構建應用程式變得更簡單、更有趣。在閱讀本書的過程中,您將詳細了解無伺服器是什麼、它在幕後如何運作,以及如何在 Cloudflare 上構建無伺服器應用程式。當您完成本書時,您將理解如何以無伺服器函數的方式思考,並在實作範例的過程中獲得部署和擴展這些應用程式的經驗。

您需要的條件:
- Mac 或 PC
- GitHub 帳戶(免費)
- Cloudflare 帳戶(免費)