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

Use JSON for building web applications with technologies like HTML, JavaScript, Angular, Node.js, Hapi.js, Kafka,, MongoDB, Gulp.js, and handlebar.js, and others formats like GEOJSON, JSON-LD, MessagePack, and BSON.Key FeaturesUse JSON with trending technologies like Angular, Hapi.js, MongoDB, Kafka, and Socket.ioDebug, validate, and format JSON using developer toolkits, JSONLint, and JSON Editor OnlineExplore other JSON formats like GeoJSON, JSON-LD, BSON, and MessagePackBook DescriptionJSON 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 learnUse JSON to store metadata for dependency managers, package managers, configuration managers, and metadata storesHandle asynchronous behavior in applications using callbacks, promises, generators, and async-await functionsUse JSON for Angular 5, Node.js, Gulp.js, and Hapi.jsImplement JSON as BSON in MongoDBMake use of JSON in developing automation scriptsImplement JSON for realtime using and distributed systems using KafkaWho This Book Is ForIf 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 ContentsGetting Started with JSONThe JSON StructuresAJAX Requests with JSONCross-Domain Asynchronous RequestsDebugging JSONBuilding the Carousel ApplicationAlternate Implementations of JSONConfiguring a Hapi.js server using JSONStoring JSON Documents in mongoDBConfiguring the task runner using JSONJSON for Real-Time and Distributed DataCase Studies in JSON

Author: Bruno Joseph D'mello

Learn more