JavaScript JSON Cookbook

0
(0)

JavaScript JSON Cookbook
 

  • Author:Ray Rischpater
  • Length: 220 pages
  • Edition: 1
  • Publisher: Packt Publishing
  • Publication Date: 2015-07-31
  • ISBN-10: 1785286900
  • ISBN-13: 9781785286902
  • Sales Rank: #4094451 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    Table of Contents

    Chapter 1: Reading and Writing JSON on the Client
    Chapter 2 : Reading and Writing JSON on the Server
    Chapter 3 : Using JSON in Simple AJAX Applications
    Chapter 4 : Using JSON in AJAX Applications with jQuery and AngularJS
    Chapter 5 : Using JSON with MongoDB
    Chapter 6 : Using JSON with CouchDB
    Chapter 7 : Using JSON in a Type-Safe Manner
    Chapter 8 : Using JSON for Binary Data Transfer
    Chapter 9 : Querying JSON with JSONPath and LINQ
    Chapter 10 : JSON on Mobile Platforms

    中文:

    书名:JavaScript JSON食谱

    在桌面、服务器、Web和移动应用程序中充分利用JSON的80多个秘诀

    关于本书

    • Create fast and dynamic JavaScript applications that implement JSON
    • 向您展示如何利用来自各种应用程序领域的JSON的实际示例
    • 成为在您的组织中构建支持JSON的Web应用程序的首选人员

    这本书是为谁写的

    如果您正在编写将结构化数据从一个位置移动到另一个位置的应用程序,这本书是为您准备的。如果您一直使用XML来完成工作,这一点尤其正确,因为在JSON中,您完全有可能用更少的代码和更少的数据开销来完成大部分相同的工作。

    虽然这本书的章节对应用程序的客户端和服务器端进行了一些区分,但无论您是前端开发人员、后端开发人员还是全堆栈开发人员,这都无关紧要。使用JSON背后的原则既适用于客户端,也适用于服务器,事实上,了解这两个方面的开发人员通常都能设计出最好的应用程序。

    你将学到什么

    • 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
    • 在有或没有框架的AJAX Web应用程序中充分利用JSON
    • 使用JSON在Android和iOS上运行的服务器和移动应用程序之间交换数据
    • 向您展示如何利用来自各种应用程序领域的JSON的实际示例

    详细地说

    JSON(JavaScript Object Notation)是一种基于文本的轻量级数据交换格式,用于创建通过Internet传输数据的对象。如今,它被常见的Web应用程序和移动应用程序广泛使用。

    这本书为您提供了使用JSON交换对象的明确方法,无论您是在开发Web应用程序还是在开发传统的网络应用程序。您将从简单复习JSON和JavaScript语法开始,并在客户端和服务器上进行读写。然后,您将学习如何通过AngularJS和jQuery在简单的AJAX应用程序中使用JSON。接下来,您将学习如何使用MongoDB和CouchDB与数据库交换对象。您还将探索如何以类型安全的方式使用JSON,编写错误更少的程序。

    目录表

    第1章:在客户端阅读和编写JSON
    Chapter 2 : Reading and Writing JSON on the Server
    Chapter 3 : Using JSON in Simple AJAX Applications
    Chapter 4 : Using JSON in AJAX Applications with jQuery and AngularJS
    第5章:在MongoDB中使用JSON
    第6章:在CouchDB中使用JSON
    第7章:以类型安全的方式使用JSON
    第8章:使用JSON进行二进制数据传输
    第9章:使用JSONPath和LINQ查询JSON
    第10章:移动平台上的JSON

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册