Serverless Single Page Apps: Fast, Scalable, and Available (Paperback)

Ben Rady

  • 出版商: O'Reilly
  • 出版日期: 2016-07-19
  • 定價: $800
  • 售價: 8.0$640
  • 語言: 英文
  • 頁數: 214
  • 裝訂: Paperback
  • ISBN: 1680501496
  • ISBN-13: 9781680501490
  • 相關分類: JVM 語言Serverless
  • 立即出貨

買這商品的人也買了...

商品描述

Don't waste your time building an application server. See how to build low-cost, low-maintenance, highly available, serverless single page web applications that scale into the millions of users at the click of a button. Quickly build reliable, well-tested single page apps that stay up and running 24/7 using Amazon Web Services. Avoid messing around with middle-tier infrastructure and get right to the web app your customers want.

You don't need to manage your own servers to build powerful web applications. This book will show you how to create a single page app that runs entirely on web services, scales to millions of users, and costs less per day than a cup of coffee.

Using a web browser, a prepared workspace, and your favorite editor, you'll build a complete single page web application, step by step. Learn the fundamental technologies behind modern single page apps, and use web standards to create lean web applications that can take advantage of the newest technologies. Deploy your application quickly using Amazon S3. Use Amazon Cognito to connect with providers like Google and Facebook to manage user identities. Read and write user data directly from the browser using DynamoDB, and build your own scalable custom microservices with Amazon Lambda.

Whether you've never built a web application before or you're a seasoned web developer who's just looking for an alternative to complex server-side web frameworks, this book describes a simple approach to building serverless web applications that you can easily apply or adapt for your own projects.

What You Need:
To follow the tutorial in this book, you'll need a computer with a web browser. You'll also need a text editor and a git client. Building this web application will require some sort of development web server. You can use your own, or you can also use the one included with the tutorial's prepared workspace. The included web server requires Ruby 2.0, although we also suggest few alternatives.

To get started quickly, you need a basic understanding of HTML, CSS, and JavaScript. If you're new to these topics, you can get up to speed using links we'll provide in the Introduction.

商品描述(中文翻譯)

不要浪費時間建立應用程式伺服器。了解如何建立低成本、低維護、高可用性的無伺服器單頁網頁應用程式,只需點擊一下即可擴展到數百萬用戶。使用亞馬遜網路服務快速建立可靠、經過良好測試的單頁應用程式,讓其全天候運行。避免處理中間層基礎架構,直接開始構建客戶所需的網頁應用程式。

您無需管理自己的伺服器即可建立強大的網頁應用程式。本書將向您展示如何創建完全運行在網路服務上的單頁應用程式,可擴展到數百萬用戶,每天的成本低於一杯咖啡。

使用網頁瀏覽器、預先準備的工作區和您喜歡的編輯器,您將逐步構建完整的單頁網頁應用程式。學習現代單頁應用程式背後的基本技術,並使用網頁標準創建精簡的網頁應用程式,以利用最新的技術。使用亞馬遜S3快速部署應用程式。使用亞馬遜Cognito連接到Google和Facebook等提供者以管理使用者身份。使用DynamoDB直接從瀏覽器讀寫使用者數據,並使用亞馬遜Lambda構建自己的可擴展自定義微服務。

無論您以前是否曾構建過網頁應用程式,或者您只是尋找複雜的伺服器端網頁框架的替代方案,本書描述了一種簡單的方法來構建無伺服器網頁應用程式,您可以輕鬆應用或適應到自己的項目中。

所需工具:
要按照本書中的教程進行操作,您需要一台配備網頁瀏覽器的電腦。您還需要一個文本編輯器和一個git客戶端。構建此網頁應用程式需要某種開發網頁伺服器。您可以使用自己的伺服器,或者也可以使用教程預先準備的工作區中的伺服器。預先準備的伺服器需要Ruby 2.0,但我們還建議幾種替代方案。

要快速入門,您需要基本了解HTML、CSS和JavaScript。如果您對這些主題不熟悉,您可以使用我們在引言中提供的鏈接來迅速掌握。