Knockout.js: Building Dynamic Client-Side Web Applications (Paperback)
暫譯: Knockout.js:構建動態客戶端網頁應用程式(平裝本)

Jamie Munro

  • 出版商: O'Reilly
  • 出版日期: 2015-01-27
  • 定價: $990
  • 售價: 9.5$941
  • 語言: 英文
  • 頁數: 102
  • 裝訂: Paperback
  • ISBN: 1491914319
  • ISBN-13: 9781491914311
  • 相關分類: JavaScript
  • 立即出貨(限量) (庫存=1)

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

商品描述

Use Knockout.js to design and build dynamic client-side web applications that are extremely responsive and easy to maintain. This example-driven book shows you how to use this lightweight JavaScript framework and its Model-View-ViewModel (MVVM) pattern. You’ll learn how to build your own data bindings, extend the framework with reusable functions, and work with a server to enhance your client-side application with persistence. In the final chapter, you’ll build a shopping cart to see how everything fits together.

If you’re a web developer with experience in JavaScript, HTML, and CSS, you’re ready for Knockout.

  • Learn how to create a ViewModel
  • Bind HTML data and attributes, and CSS classes and styles
  • Understand data binding in Knockout’s context hierarchy
  • Use properties that change dynamically through user interaction
  • Work with forms by using several different bindings
  • Bind multiple ViewModels on a single page
  • Extend or attach custom functions to observables
  • Perform server-side interactions with jQuery
  • Map a JavaScript object or apply JSON data to a new object

商品描述(中文翻譯)

使用 Knockout.js 設計和構建動態的客戶端網頁應用程式,這些應用程式具有極高的響應性且易於維護。本書以範例為主,展示如何使用這個輕量級的 JavaScript 框架及其模型-視圖-視圖模型 (Model-View-ViewModel, MVVM) 模式。您將學習如何建立自己的資料綁定,使用可重用的函數擴展框架,並與伺服器協作,以增強您的客戶端應用程式的持久性。在最後一章中,您將構建一個購物車,以了解所有內容如何整合在一起。

如果您是一位具有 JavaScript、HTML 和 CSS 經驗的網頁開發者,您已經準備好使用 Knockout。

- 學習如何創建 ViewModel
- 綁定 HTML 資料和屬性,以及 CSS 類別和樣式
- 理解 Knockout 的上下文層級中的資料綁定
- 使用通過用戶互動動態改變的屬性
- 使用多種不同的綁定來處理表單
- 在單一頁面上綁定多個 ViewModels
- 擴展或附加自定義函數到可觀察對象
- 使用 jQuery 執行伺服器端互動
- 將 JavaScript 對象映射或應用 JSON 資料到新對象

最後瀏覽商品 (20)