JavaScript and JSON Essentials: Build light weight, scalable, and faster web applications with the power of JSON, 2nd Edition

Bruno Joseph D'mello, Sai Srinivas Sriparasa

  • 出版商: Packt Publishing
  • 出版日期: 2018-04-20
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 226
  • 裝訂: Paperback
  • ISBN: 178862470X
  • ISBN-13: 9781788624701
  • 相關分類: JavaScriptJVM 語言
  • 海外代購書籍(需單獨結帳)
    無現貨庫存(No stock available)

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

商品描述

Use JSON for building web applications with technologies like HTML, JavaScript, Angular, Node.js, Hapi.js, Kafka, socket.io, MongoDB, Gulp.js, and handlebar.js, and others formats like GEOJSON, JSON-LD, MessagePack, and BSON.

Key Features

  • Use JSON with trending technologies like Angular, Hapi.js, MongoDB, Kafka, and Socket.io
  • Debug, validate, and format JSON using developer toolkits, JSONLint, and JSON Editor Online
  • Explore other JSON formats like GeoJSON, JSON-LD, BSON, and MessagePack

Book Description

JSON is an established and standard format used to exchange data. This book shows how JSON plays different roles in full web development through examples. By the end of this book, you'll have a new perspective on providing solutions for your applications and handling their complexities.

After establishing a strong basic foundation with JSON, you'll learn to build frontend apps by creating a carousel. Next, you'll learn to implement JSON with Angular 5, Node.js, template embedding, and composer.json in PHP. This book will also help you implement Hapi.js (known for its JSON-configurable architecture) for server-side scripting.

You'll learn to implement JSON for real-time apps using Kafka, as well as how to implement JSON for a task runner, and for MongoDB BSON storage. The book ends with some case studies on JSON formats to help you sharpen your creativity by exploring futuristic JSON implementations. By the end of the book, you'll be up and running with all the essential features of JSON and JavaScript and able to build fast, scalable, and efficient web applications.

What you will learn

  • Use JSON to store metadata for dependency managers, package managers, configuration managers, and metadata stores
  • Handle asynchronous behavior in applications using callbacks, promises, generators, and async-await functions
  • Use JSON for Angular 5, Node.js, Gulp.js, and Hapi.js
  • Implement JSON as BSON in MongoDB
  • Make use of JSON in developing automation scripts
  • Implement JSON for realtime using socket.io and distributed systems using Kafka

Who This Book Is For

If you're a web developer with a basic understanding of JavaScript and want to write JSON data, integrate it with RESTful APIs to create faster and scalable applications, this book is for you.

Table of Contents

  1. Getting Started with JSON
  2. The JSON Structures
  3. AJAX Requests with JSON
  4. Cross-Domain Asynchronous Requests
  5. Debugging JSON
  6. Building the Carousel Application
  7. Alternate Implementations of JSON
  8. Configuring a Hapi.js server using JSON
  9. Storing JSON Documents in mongoDB
  10. Configuring the task runner using JSON
  11. JSON for Real-Time and Distributed Data
  12. Case Studies in JSON

商品描述(中文翻譯)

使用JSON來構建網頁應用程序,並與HTML、JavaScript、Angular、Node.js、Hapi.js、Kafka、socket.io、MongoDB、Gulp.js和handlebar.js等技術一起使用,以及其他格式,如GEOJSON、JSON-LD、MessagePack和BSON。

主要特點:
- 使用JSON與Angular、Hapi.js、MongoDB、Kafka和Socket.io等熱門技術
- 使用開發者工具包、JSONLint和JSON Editor Online來調試、驗證和格式化JSON
- 探索其他JSON格式,如GeoJSON、JSON-LD、BSON和MessagePack

書籍描述:
JSON是一種已確立且標準的數據交換格式。本書通過示例展示了JSON在完整的Web開發中扮演的不同角色。通過本書,您將對為應用程序提供解決方案並處理其複雜性有一個新的視角。

在建立了JSON的堅實基礎之後,您將學習通過創建輪播圖來構建前端應用程序。接下來,您將學習如何在Angular 5、Node.js、模板嵌入和PHP中的composer.json中實現JSON。本書還將幫助您實現Hapi.js(以其可配置的JSON架構而聞名)用於服務器端腳本編寫。

您將學習如何使用Kafka實現JSON的實時應用程序,以及如何在任務運行器和MongoDB BSON存儲中實現JSON。本書以一些JSON格式的案例研究結束,以幫助您通過探索未來的JSON實現來提高創造力。通過本書,您將能夠熟練掌握JSON和JavaScript的所有基本功能,並能夠構建快速、可擴展和高效的Web應用程序。

您將學到:
- 使用JSON存儲依賴管理器、包管理器、配置管理器和元數據存儲的元數據
- 使用回調、Promises、Generators和Async-await函數處理應用程序中的異步行為
- 在Angular 5、Node.js、Gulp.js和Hapi.js中使用JSON
- 在MongoDB中將JSON實現為BSON
- 在開發自動化腳本中使用JSON
- 使用socket.io實現實時的JSON,並使用Kafka實現分佈式系統

本書適合網頁開發人員,具有基本的JavaScript理解,並希望編寫JSON數據,將其與RESTful API集成以創建更快和可擴展的應用程序。

目錄:
1. 開始使用JSON
2. JSON結構
3. 使用JSON的AJAX請求
4. 跨域異步請求
5. 調試JSON
6. 構建輪播應用程序
7. JSON的替代實現
8. 使用JSON配置Hapi.js服務器
9. 在mongoDB中存儲JSON文檔
10. 使用JSON配置任務運行器
11. JSON用於實時和分佈式數據
12. JSON的案例研究