
JavaScript and JSON Essentials - Build light weight scalable and faster web applications with the power of JSON 2nd Edition
Sai S Sriparasa, Bruno Joseph D'mello
Publisher: Packt Publishing
Summary
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 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 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 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 socket.io and distributed systems using KafkaWho 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.Bruno is a proactive software engineer at yapsody. He is a JavaScript enthusiast and loves working with open source communities. He possesses around 6 years of experience in software development, of which 4 years were dedicated to working on JS technologies. Bruno follows kaizen and enjoys the freedom of architecting new things. He is socially active via coaching web technologies or participating in other research projects and meetups. When not coding, Bruno likes to spend time with his guitar, family, and friends. Sai Srinivas Sriparasa is a web developer and an open source evangelist living in the Stamford area. Sai was the lead developer involved in building the Dr. Ozs website and has led teams for companies such as Sprint Nextel, West Interactive, and Apple. Sai's repertoire includes JavaScript, PHP, Python, HTML5, responsive web development, ASP.NET, C#, and Silverlight.