JavaScript JSON Cookbook

Ray Rischpater

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-27
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 192
  • 裝訂: Paperback
  • ISBN: 1785286900
  • ISBN-13: 9781785286902
  • 相關分類: JavaScript
  • 海外代購書籍(需單獨結帳)


Over 80 recipes to make the most of JSON in your desktop, server, web, and mobile applications

About This Book

  • Create fast and dynamic JavaScript applications that implement JSON
  • Practical examples to show you how to leverage JSON from a variety of application domains
  • Become the go-to person for building JSON-enabled web applications in your organization

Who This Book Is For

If you're writing applications that move structured data from one place to another, this book is for you. This is especially true if you've been using XML to do the job because it's entirely possible that you could do much of the same work with less code and less data overhead in JSON.

While the book's chapters make some distinction between the client and server sides of an application, it doesn't matter if you're a frontend, backend, or full-stack developer. The principles behind using JSON apply to both the client and the server, and in fact, developers who understand both sides of the equation generally craft the best applications.

What You Will Learn

  • Learn to use JSON in a type-safe way to avoid common data typing errors
  • Exchange data with NoSQL databases such as MongoDB and CouchDB with JSON
  • Make the most of JSON in AJAX web applications, with or without a framework
  • Exchange data between servers and mobile applications running on Android and iOS with JSON
  • Practical examples to show you how to leverage JSON from a variety of application domains

In Detail

JSON (JavaScript Object Notation) is a lightweight text-based data interchange format used to create objects to transfer data over the Internet. It's widely used today by common web applications, as well as mobile applications.

This book gives you clear ways that you can exchange objects using JSON, regardless of whether you're developing a web or traditional networked application. You'll start with a brief refresher on JSON and JavaScript syntax and read and write on the client and server. Then, you'll learn how to use JSON in simple AJAX applications using AngularJS and jQuery. Next, you will learn how to exchange objects with databases using MongoDB and CouchDB. You'll also explore how to use JSON in a type-safe manner, writing programs that have fewer bugs.