Mastering JavaScript Single Page Application Development
暫譯: 精通 JavaScript 單頁應用程式開發

Philip Klauzinski, John Moore

  • 出版商: Packt Publishing
  • 出版日期: 2016-10-28
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 452
  • 裝訂: Paperback
  • ISBN: 1785881647
  • ISBN-13: 9781785881640
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)

商品描述

An in-depth guide to exploring the design, architecture, and techniques behind building sophisticated, scalable, and maintainable single-page applications in JavaScript

About This Book

  • Build large-scale, feature-complete SPAs by leveraging widely used tools and techniques.
  • Gain a solid understanding of architecture and SPA design to build applications using the library or framework of your choice.
  • Explore the various facets of SPA development to build web apps that are fast, scalable, and easy to test.

Who This Book Is For

This book is ideal for JavaScript developers who want to build complex single-page applications in JavaScript. Some basic understanding of SPA concepts will be helpful but not essential.

What You Will Learn

  • Organize your development environment using the command line with NPM, Bower, and Grunt.
  • Choose an accurate design pattern for your app
  • Understand modular JavaScript programming and Node.js
  • Interact with a REST API using JavaScript and AJAX with practical examples
  • Build a single page application using the MEAN stack
  • Connect your app across popular social media platforms such as Facebook, Twitter, and LinkedIn
  • Test your app, both on the server side and in views
  • Prepare your app for the real world and deploy it to Heroku

In Detail

Single-page web applications—or SPAs, as they are commonly referred to—are quickly becoming the de facto standard for web app development. The fact that a major part of the app runs inside a single web page makes it very interesting and appealing. Also, the accelerated growth of browser capabilities is pushing us closer to the day when all apps will run entirely in the browser.

This book will take your JavaScript development skills to the next level by teaching you to create a single-page application within a full-stack JavaScript environment. Using only JavaScript, you can go from being a front-end developer to a full-stack application developer with relative ease.

You will learn to cross the boundary from front-end development to server-side development through the use of JavaScript on both ends. Use your existing knowledge of JavaScript by learning to manage a JSON document data store with MongoDB, writing a JavaScript powered REST API with Node.js and Express, and designing a front-end powered by AngularJS.

This book will teach you to leverage the MEAN stack to do everything from document database design, routing REST web API requests, data-binding within views, and adding authentication and security to building a full-fledged, complex, single-page web application.

In addition to building a full-stack JavaScript app, you will learn to test it with JavaScript-powered testing tools such as Mocha, Karma, and Jasmine. Finally, you will learn about deployment and scaling so that you can launch your own apps into the real world.

Style and approach

Following a structured approach, this book helps readers gain expertise in SPA development. Its thorough coverage of SPA architecture and design, along with practical use cases, provides readers with a clear path to building applications with the library of their choice. For readers who are afraid to take the plunge straightaway, the book also offers step-by-step guidance on developing a complex web app.

商品描述(中文翻譯)

深入探索設計、架構及技術,建立複雜、可擴展且易於維護的單頁應用程式(SPA)於 JavaScript 的指南

本書介紹


  • 利用廣泛使用的工具和技術,構建大型、功能完整的 SPA。

  • 深入了解架構和 SPA 設計,以使用您選擇的庫或框架來構建應用程式。

  • 探索 SPA 開發的各個面向,構建快速、可擴展且易於測試的網頁應用程式。

本書適合誰閱讀

本書非常適合希望在 JavaScript 中構建複雜單頁應用程式的 JavaScript 開發者。對 SPA 概念有基本了解將會有所幫助,但並非必需。

您將學到什麼


  • 使用 NPM、Bower 和 Grunt 組織您的開發環境。

  • 為您的應用程式選擇合適的設計模式。

  • 理解模組化的 JavaScript 程式設計和 Node.js。

  • 使用 JavaScript 和 AJAX 與 REST API 互動,並提供實用範例。

  • 使用 MEAN 堆疊構建單頁應用程式。

  • 將您的應用程式連接到 Facebook、Twitter 和 LinkedIn 等流行社交媒體平台。

  • 測試您的應用程式,包括伺服器端和視圖。

  • 為現實世界準備您的應用程式並將其部署到 Heroku。

詳細內容

單頁網頁應用程式(通常稱為 SPA)正迅速成為網頁應用程式開發的事實標準。應用程式的大部分運行在單一網頁內,使其非常有趣且具吸引力。此外,瀏覽器功能的加速增長使我們更接近所有應用程式完全在瀏覽器中運行的那一天。

本書將提升您的 JavaScript 開發技能,教您在全棧 JavaScript 環境中創建單頁應用程式。僅使用 JavaScript,您可以相對輕鬆地從前端開發者轉變為全棧應用程式開發者。

您將學會通過在兩端使用 JavaScript,跨越前端開發和伺服器端開發的界限。利用您現有的 JavaScript 知識,學習如何使用 MongoDB 管理 JSON 文檔數據存儲,使用 Node.js 和 Express 編寫 JavaScript 驅動的 REST API,並設計由 AngularJS 驅動的前端。

本書將教您利用 MEAN 堆疊完成從文檔數據庫設計、路由 REST 網頁 API 請求、視圖中的數據綁定,到添加身份驗證和安全性,構建一個完整、複雜的單頁網頁應用程式。

除了構建全棧 JavaScript 應用程式外,您還將學會使用 JavaScript 驅動的測試工具,如 Mocha、Karma 和 Jasmine 進行測試。最後,您將學習有關部署和擴展的知識,以便將自己的應用程式推向現實世界。

風格與方法

本書採用結構化的方法,幫助讀者在 SPA 開發方面獲得專業知識。對 SPA 架構和設計的全面覆蓋,以及實用案例,為讀者提供了使用所選庫構建應用程式的清晰路徑。對於那些不敢立即投入的讀者,本書還提供了逐步指導,幫助開發複雜的網頁應用程式。

最後瀏覽商品 (20)