Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JavaScript and JSON Essentials

You're reading from   JavaScript and JSON Essentials Build light weight, scalable, and faster web applications with the power of JSON

Arrow left icon
Product type Paperback
Published in Apr 2018
Publisher
ISBN-13 9781788624701
Length 226 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Sai S Sriparasa Sai S Sriparasa
Author Profile Icon Sai S Sriparasa
Sai S Sriparasa
Bruno Joseph D'mello Bruno Joseph D'mello
Author Profile Icon Bruno Joseph D'mello
Bruno Joseph D'mello
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with JSON 2. The JSON Structures FREE CHAPTER 3. AJAX Requests with JSON 4. Cross-Domain Asynchronous Requests 5. Debugging JSON 6. Building the Carousel Application 7. Alternate Implementations of JSON 8. Introduction to hapi.js 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 13. Other Books You May Enjoy

What this book covers

Chapter 1, Getting Started with JSON, introduces the audience to JSON, discusses the history of JSON along with how it works and stores itself in memory. The chapter also outlines the popular programming languages that support JSON and ends by writing a basic program with different data types in JSON.

Chapter 2, The JSON Structures, spices up the normal implementation of JSON with a little complexity consisting of multiple datatypes, multiple objects, and multidimensional data.

Chapter 3, AJAX Requests with JSON, discusses AJAX requests with JSON data, passing JSON over HTTP requests, asynchronicity and techniques to handle it.

Chapter 4, Cross-Domain Asynchronous Requests, explores the concept of making asynchronous calls across domains. Since data is being transported across domains, users will be introduced to the concept of JSON with padding, called JSONP.

Chapter 5, Debugging JSON, explains the powerful tools that are available to debug, validate, and format JSON.

Chapter 6, Building the Carousel Application, implements the idea of a Carousel application and the required setup and dependencies, such as the jQuery library and the jQuery Cycle plugin, for the application. It uses Bootstrap to maintain a basic design for the application.

Chapter 7, Alternate Implementations of JSON, discusses the non web-development implementation of JSON, such as dependency managers, metadata stores, and configuration stores.

Chapter 8, Introduction to Hapi.js, talks about implementing JSON-based configuration in a Hapi server and creating RESTful APIs with the help of the same.

Chapter 9, Storing JSON Documents in MongoDB, begins by introducing MongoDB and then, explains how JSON is used in mongoDB. Next, it reaches the central theme of performing different operations on mongoDB JSON documents.

Chapter 10Configuring the Task Runner Using JSON, outlines the gulp.js library. Gulp is a powerful library that manages and provides tools to create tasks.

Chapter 11, JSON for Real-Time and Distributed Data, familiarizes you with the usage of JSON data for real-time web applications by implementing the socket.io server and, furthermore, with Apache Kafka.

Chapter 12, Case Studies in JSON, is a case study on how JSON is enhanced for different domains, taking into consideration the various benefits it provided after implantation.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime