Bruno Joseph D'mello, Sai Srinivas Sriparasa, "JavaScript and JSON Essentials: Build light weight, scalable, and faster web applications with the power of JSON, 2nd Edition"
English | 2018 | ISBN: 178862470X | 226 pages | EPUB / PDF / MOBI | 15.2 MB
English | 2018 | ISBN: 178862470X | 226 pages | EPUB / PDF / MOBI | 15.2 MB
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
Getting Started with JSON
The JSON Structures
AJAX Requests with JSON
Cross-Domain Asynchronous Requests
Debugging JSON
Building the Carousel Application
Alternate Implementations of JSON
Configuring a Hapi.js server using JSON
Storing JSON Documents in mongoDB
Configuring the task runner using JSON
JSON for Real-Time and Distributed Data
Case Studies in JSON