Building Single-page Web Apps with Meteor
暫譯: 使用 Meteor 建立單頁 Web 應用程式

Fabian Vogelsteller

  • 出版商: Packt Publishing
  • 出版日期: 2015-01-31
  • 售價: $1,260
  • 貴賓價: 9.5$1,197
  • 語言: 英文
  • 頁數: 152
  • 裝訂: Paperback
  • ISBN: 1783988126
  • ISBN-13: 9781783988129
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Build real-time apps at lightning speed using the most powerful full-stack JavaScript framework

About This Book

  • Create a complete web blog from frontend to backend that uses only JavaScript
  • Understand how Web 2.0 is made by powerful browser-based applications
  • Step-by-step tutorial that will show you how fast, complex web applications can be built

Who This Book Is For

If you are a web developer with basic knowledge of JavaScript and want to take on Web 2.0, build real-time applications, or simply want to write a complete application using only JavaScript and HTML/CSS, this is the book for you.

This book is based on Meteor 1.0.

What You Will Learn

  • Create reactive templates that update themselves when data changes
  • Use database queries on the client and the server to retrieve, sort, and manipulate datasets
  • Understand data synchronization using a publication/subscription model and make API calls a thing of the past
  • Discover how you can secure your data flow on the server side to keep confidential data secret
  • Add routing to a single-page application and make it appear like a real website
  • Build your own advanced reactive objects and make everything rerun when you want
  • Make your own Meteor packages and learn how to make them public
  • Unit test your packages and Meteor applications

In Detail

Meteor is the best JavaScript platform on the Web that allows you to build real-time web applications quickly and easily and in pure JavaScript. It comes with a full build process that takes care of everything, from development to production, with no need for configuration. This book takes you from the installation of Meteor to building a fully working web blog (including backend) to create and edit posts.

You will start with the basic concepts and folder structure of a Meteor project, learning how Meteor templates work. Learn how to retrieve and send data to the server and manipulate the database content. Routing will later make your example app look and behave like a real website. Next, you'll get to grips with Meteor's reactivity concept that can rerun functions when data changes while you're building your own reactive object, and package it later for drop-in use. After your app is ready, the book continues with ways of deploying your app on different types of servers. Finally, we will take a look at testing packages and the application itself.

商品描述(中文翻譯)

使用最強大的全端 JavaScript 框架以閃電般的速度構建即時應用程式

本書介紹


  • 從前端到後端創建一個完整的網路部落格,僅使用 JavaScript

  • 了解強大的基於瀏覽器的應用程式如何構成 Web 2.0

  • 逐步教學,展示如何快速構建複雜的網路應用程式

本書適合誰閱讀

如果您是一位具備基本 JavaScript 知識的網頁開發者,想要挑戰 Web 2.0,構建即時應用程式,或僅僅想用 JavaScript 和 HTML/CSS 編寫完整應用程式,那麼這本書就是為您而寫。

本書基於 Meteor 1.0。

您將學到什麼

  • 創建在數據變更時自動更新的反應式模板
  • 在客戶端和伺服器上使用資料庫查詢來檢索、排序和操作數據集
  • 了解使用發布/訂閱模型的數據同步,讓 API 調用成為過去式
  • 發現如何在伺服器端保護您的數據流,以保持機密數據的秘密
  • 為單頁應用程式添加路由,讓其看起來像一個真正的網站
  • 構建您自己的高級反應式對象,並在需要時重新運行所有內容
  • 創建自己的 Meteor 套件並學習如何將其公開
  • 對您的套件和 Meteor 應用程式進行單元測試

詳細內容

Meteor 是網路上最佳的 JavaScript 平台,讓您能夠快速且輕鬆地構建即時網路應用程式,並且完全使用 JavaScript。它提供了一個完整的構建過程,從開發到生產無需配置,無需擔心任何事情。本書將帶您從 Meteor 的安裝開始,構建一個完整運作的網路部落格(包括後端),以創建和編輯文章。

您將從 Meteor 專案的基本概念和資料夾結構開始,學習 Meteor 模板的運作方式。學習如何檢索和發送數據到伺服器並操作資料庫內容。路由將使您的示例應用程式看起來和行為像一個真正的網站。接下來,您將掌握 Meteor 的反應性概念,當數據變更時可以重新運行函數,同時您將構建自己的反應式對象,並稍後將其打包以便於使用。在您的應用程式準備好後,本書將繼續介紹在不同類型的伺服器上部署您的應用程式的方法。最後,我們將看看測試套件和應用程式本身。