KnockoutJS by Example (透過範例學習 KnockoutJS)
Adnan Jaswal
- 出版商: Packt Publishing
- 出版日期: 2015-09-30
- 售價: $2,210
- 貴賓價: 9.5 折 $2,100
- 語言: 英文
- 頁數: 268
- 裝訂: Paperback
- ISBN: 1785288547
- ISBN-13: 9781785288548
海外代購書籍(需單獨結帳)
相關主題
商品描述
Develop rich, interactive, and real-world web applications using knockout.js
About This Book
- Master the full range of features provided by knockout.js such as declarative binding, automatic refresh, dependency tracking, and templating using this project based guide
- Tackle real-world problems such as page navigation, forms, composite UI components, maps integration, server interaction for CRUD operations, and application security
- Discover the power of knockout.js as you build applications with complexity ranging from beginner to advanced
- Extend and customize knockout.js to harness its full potential
- Integrate with third party libraries and APIs to build fully featured applications
Who This Book Is For
This book is intended for designers and developers who want to learn how to use Knockout to develop rich, interactive, and modular web applications. The book assumes no prior knowledge of the Knockout library but basic familiarity with HTML, CSS, and JavaScript would be helpful.
What You Will Learn
- Explore the basic concept behind the Model-View-View Model (MVVM) design pattern and how it is implemented by knockout.js
- Develop a modular application skeleton based on the Module Pattern that can be used as a template for your projects
- Use knockout.js with other libraries and APIs, such as JQuery, Bootstrap, and the Google Maps API, to give your users a richer experience
- Create real-world dynamic web forms to capture user information and learn how knockout.js makes it easier to capture, validate, and submit form data
- Develop and use dynamic UI components such as grids, tabs, master details view, and wizards
- Extend knockout.js to add custom extenders, binding handlers, subscribers, and observables
- Secure your single page application using token-based authentication
In Detail
KnockoutJS By Example is a project-based guide that introduces the key features and concepts of knockout.js. It helps you create an application skeleton and a Hello World application. You will develop a To-Do list application that aims to show the basic features of knockout.js in action, such as data binding and observables, following which you will develop a dynamic online customer registration form that captures and validates customer information. This book will further walk you through developing a customer banking portal, which demonstrates the use of knockout.js with components such as navigation bars, tabs, carousels, master details view, panels, forms, and wizards. You will also discover how to use token-based authentication and authorization to secure the customer banking portal, and move on to creating an editable products grid with CRUD operations. Finally, you will explore how to use the Google Maps API with knockout.js.
KnockoutJS By Example will not only leave you with a basic understanding of knockout.js fundamentals but also take you through some of the advanced features. It will help you get a web application up and ready instantly.
商品描述(中文翻譯)
**使用 knockout.js 開發豐富、互動且真實的網頁應用程式**
## 本書介紹
- 精通 knockout.js 提供的各種功能,如宣告式綁定、自動刷新、依賴追蹤和模板化,透過這本以專案為基礎的指南。
- 解決真實世界中的問題,如頁面導航、表單、複合 UI 元件、地圖整合、伺服器互動以進行 CRUD 操作,以及應用程式安全性。
- 隨著您構建從初學者到進階的應用程式,發現 knockout.js 的強大功能。
- 擴展和自訂 knockout.js,以發揮其全部潛力。
- 與第三方庫和 API 整合,構建功能齊全的應用程式。
## 本書適合誰
本書適合希望學習如何使用 Knockout 開發豐富、互動和模組化網頁應用程式的設計師和開發者。本書假設讀者對 Knockout 庫沒有先前的了解,但對 HTML、CSS 和 JavaScript 的基本熟悉將會有所幫助。
## 您將學到什麼
- 探索模型-視圖-視圖模型 (MVVM) 設計模式的基本概念及其在 knockout.js 中的實現方式。
- 開發基於模組模式的模組化應用程式骨架,可作為您專案的模板。
- 將 knockout.js 與其他庫和 API(如 JQuery、Bootstrap 和 Google Maps API)結合使用,為用戶提供更豐富的體驗。
- 創建真實世界的動態網頁表單以捕捉用戶信息,並了解 knockout.js 如何簡化捕捉、驗證和提交表單數據的過程。
- 開發和使用動態 UI 元件,如網格、標籤、主詳細視圖和精靈。
- 擴展 knockout.js 以添加自訂擴展器、綁定處理器、訂閱者和可觀察對象。
- 使用基於令牌的身份驗證來保護您的單頁應用程式。
## 詳細內容
《KnockoutJS By Example》是一本以專案為基礎的指南,介紹了 knockout.js 的關鍵特性和概念。它幫助您創建應用程式骨架和一個 Hello World 應用程式。您將開發一個待辦事項清單應用程式,旨在展示 knockout.js 的基本功能,如數據綁定和可觀察對象,接著您將開發一個動態的在線客戶註冊表單,以捕捉和驗證客戶信息。本書還將引導您開發一個客戶銀行入口網站,展示如何使用 knockout.js 與導航欄、標籤、輪播、主詳細視圖、面板、表單和精靈等元件。您還將學習如何使用基於令牌的身份驗證和授權來保護客戶銀行入口網站,並進一步創建一個可編輯的產品網格,進行 CRUD 操作。最後,您將探索如何將 Google Maps API 與 knockout.js 結合使用。
《KnockoutJS By Example》不僅會讓您對 knockout.js 的基本原理有基本了解,還會帶您深入一些進階功能。它將幫助您立即啟動並準備好一個網頁應用程式。