JavaScript Web Applications (Paperback)

Alex MacCaw

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

相關主題

商品描述

Building rich JavaScript applications that bring a desktop experience to the Web requires moving state from the server to the client side—not a simple task. This hands-on book takes proficient JavaScript developers through all the steps necessary to create state-of-the-art applications, including structure, templating, frameworks, communicating with the server, and many other issues.

Throughout the book, you'll work with real-world example applications to help you grasp the concepts involved. Learn how to create JavaScript applications that offer a more responsive and improved experience.

  • Use the Model-View-Controller (MVC) pattern, and learn how to manage dependencies inside your application
  • Get an introduction to templating and data binding
  • Learn about loading remote data, Ajax, and cross-domain requests
  • Create realtime applications with WebSockets and Node.js
  • Accept dropped files and upload data with progress indicators
  • Use major frameworks and libraries, including jQuery, Spine, and Backbone
  • Write tests and use the console to debug your applications
  • Get deployment best practices, such as caching and minification

商品描述(中文翻譯)

建立豐富的JavaScript應用程式,將桌面體驗帶到網頁上,需要將狀態從伺服器移至客戶端,這並非一個簡單的任務。這本實用的書籍將帶領熟練的JavaScript開發者進行所有必要的步驟,包括結構、模板、框架、與伺服器通訊以及其他相關議題。

在整本書中,您將使用真實世界的範例應用程式來幫助您理解所涉及的概念。學習如何建立JavaScript應用程式,提供更具回應性和改進的使用體驗。

本書涵蓋以下主題:
- 使用模型-視圖-控制器(MVC)模式,並學習如何管理應用程式內的相依性
- 介紹模板和資料綁定
- 學習載入遠端資料、Ajax和跨域請求
- 使用WebSockets和Node.js建立即時應用程式
- 接受拖放檔案並上傳資料,並顯示進度指示器
- 使用主要的框架和函式庫,包括jQuery、Spine和Backbone
- 撰寫測試並使用控制台來除錯應用程式
- 獲得部署的最佳實踐,例如快取和最小化檔案大小。