Beginning JSON (Paperback)

BEN SMITH

  • 出版商: Apress
  • 出版日期: 2015-02-22
  • 定價: $2,380
  • 售價: 9.0$2,142
  • 語言: 英文
  • 頁數: 324
  • 裝訂: Paperback
  • ISBN: 1484202031
  • ISBN-13: 9781484202036
  • 相關分類: JavaScript
  • 立即出貨 (庫存=1)

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

商品描述

Beginning JSON is the definitive guide to JSON - JavaScript Object Notation - today’s standard in data formatting for the web. The book starts with the basics, and walks you through all aspects of using the JSON format. Beginning JSON covers all areas of JSON from the basics of data formats to creating your own server to store and retrieve persistent data. Beginning JSON provides you with the skill set required for reading and writing properly validated JSON data.

The first two brief chapters of the book contain the foundations of JavaScript as it relates to JSON, and provide the necessary understandings for later chapters. Chapters 3 through 12 reveal what data is, how to convert that data into a transmittable/storable format, how to use AJAX to send and receive JSON, and, lastly, how to reassemble that data back into a proper JavaScript object to be used by your program. The final chapters put everything you learned into practice.

What you’ll learn

  • How to work with JSON
  • Data transmission via AJAX
  • Incorporate Handlebars templates into your development
  • Get up and running with NodeJS
  • Perform HTTP requests to a local Web Server
  • Implement a NoSQL database for JSON retrieval and storage
  • Incorporate JSON feeds from Social APIs

Who this book is for

Beginning JSON is intended for front-end developers of all levels. One does not have had to have worked with JSON before. It’s for those who are seeking to work with data, AJAX, and the preferred data format of the web, JSON.

Table of Contents

Chapter 1: JavaScript Basics

Chapter 2: Special Objects

Chapter 3: String Manipulation

Chapter 4: Introducing JSON

Chapter 5: Creating JSON

Chapter 6: Parsing JSON

Chapter 7: Persisting JSON: I

Chapter 8: Data Interchange

Chapter 9: X-Origin Resources

Chapter 10: Serving JSON

Chapter 11: Posting JSON

Chapter 12: Persisting JSON: II

Chapter 13: Working with Templates

Chapter 14: Putting It All Together

商品描述(中文翻譯)

《Beginning JSON》是關於 JSON(JavaScript Object Notation)的權威指南,JSON 是當今網頁數據格式的標準。本書從基礎知識開始,引導讀者了解使用 JSON 格式的各個方面。《Beginning JSON》涵蓋了 JSON 的所有領域,從數據格式的基礎知識到創建自己的服務器以存儲和檢索持久數據。本書提供了讀寫正確驗證的 JSON 數據所需的技能。

本書的前兩章簡要介紹了與 JSON 相關的 JavaScript 基礎知識,並為後續章節提供了必要的理解。第3章到第12章介紹了數據是什麼,如何將數據轉換為可傳輸/存儲的格式,如何使用 AJAX 發送和接收 JSON,以及如何將數據重新組合成適當的 JavaScript 對象供程序使用。最後幾章將所學的知識應用到實踐中。

本書的學習內容包括:
- 如何使用 JSON
- 通過 AJAX 進行數據傳輸
- 將 Handlebars 模板融入開發中
- 開始使用 NodeJS
- 向本地 Web 服務器發送 HTTP 請求
- 實現用於 JSON 檢索和存儲的 NoSQL 數據庫
- 整合來自社交 API 的 JSON 數據源

本書適合各級前端開發人員閱讀,不需要事先有 JSON 的工作經驗。它適用於那些希望使用數據、AJAX 和網頁首選數據格式 JSON 的人。

《Beginning JSON》的目錄如下:
- 第1章:JavaScript 基礎知識
- 第2章:特殊對象
- 第3章:字符串操作
- 第4章:介紹 JSON
- 第5章:創建 JSON
- 第6章:解析 JSON
- 第7章:持久化 JSON:I
- 第8章:數據交換
- 第9章:X-Origin 資源