Начать новую тему Ответить на тему
Статистика раздачи
Размер: 7.05 МБ | | Скачали: 2
Сидеров: 0  [0 байт/сек]    Личеров: 0  [0 байт/сек]
Пред. тема | След. тема 

Автор
Сообщение

Ответить с цитатой 

JavaScript JSON Cookbook

Год: 2015
Автор: Ray Rischpater
Издательство: Packt Publishing
ISBN: 978-1-78528-690-2
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 192
Описание:

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.
Preface
Chapter 1: Reading and Writing JSON on the Client

Introduction
Reading and writing JSON in JavaScript
Reading and writing JSON in C++
Reading and writing JSON in C#
Reading and writing JSON in Java
Reading and writing JSON in Perl
Reading and writing JSON in Python
Chapter 2: Reading and Writing JSON on the Server
Reading and writing JSON in Clojure
Reading and writing JSON in F#
Reading and writing JSON with Node.js
Reading and writing JSON in PHP
Reading and writing JSON in Ruby
Chapter 3: Using JSON in Simple AJAX Applications
Introduction
Creating an XMLHttpRequest object
Making an asynchronous request for data
Sending JSON to your web server
Accepting JSON using Node.js
Getting the progress of an asynchronous request
Parsing the returned JSON
Issuing a web service request using Node.js
Chapter 4: Using JSON in AJAX Applications with jQuery and AngularJS
Introduction
Adding a dependency to jQuery to your web page
Requesting JSON content using jQuery
Sending JSON to your web server using jQuery
Getting the progress of a request using jQuery
Parsing the returned JSON using jQuery
Adding a dependency to AngularJS to your web page
Requesting JSON content using AngularJS
Sending JSON to your web server using AngularJS
Getting the progress of a request using AngularJS
Parsing the returned JSON using AngularJS
Chapter 5: Using JSON with MongoDB
Introduction
Setting up MongoDB
Installing the MongoDB database driver for Node.js
Installing the express module for Node.js
Connecting to a MongoDB database using Node.js
Creating a document in MongoDB using Node.js
Searching for a document in MongoDB with Node.js
Updating a document in MongoDB with Node.js
Deleting a document in MongoDB using Node.js
Using REST to search MongoDB
Using REST to create a document in MongoDB
Using REST to update a document in MongoDB
Using REST to delete a document in MongoDB
Chapter 6: Using JSON with CouchDB
Introduction
Installing and setting up CouchDB and Cradle
Connecting to a CouchDB database using Node.js and Cradle
Creating a CouchDB database using Node.js and Cradle
Creating a document in CouchDB using Node.js and Cradle
Setting up a data view in CouchDB with Node.js and Cradle
Searching for a document in CouchDB with Node.js and Cradle
Updating a document in CouchDB with Node.js and Cradle
Deleting a document in CouchDB using Node.js and Cradle
Using REST to enumerate CouchDB records
Using REST to search CouchDB
Using REST to upsert a document in CouchDB
Using REST to delete a document in CouchDB
Chapter 7: Using JSON in a Type-safe Manner
Introduction
How to deserialize an object using Json.NET
How to handle date and time objects using Json.NET
How to deserialize an object using gson for Java
How to use TypeScript with Node.js
How to annotate simple types using TypeScript 11
How to declare interfaces using TypeScript
How to declare classes with interfaces using TypeScript
Using json2ts to generate TypeScript interfaces from your JSON
Chapter 8: Using JSON for Binary Data Transfer
Introduction
Encoding binary data as a base64 string using Node.js
Decoding binary data from a base64 string using Node.js
Encoding and decoding binary data as a base64 string using JavaScript in the browser
Encoding data as BSON using Json.NET
Decoding data from BSON using Json.NET
Using a DataView to access an ArrayBuffer
Encoding and decoding base64 using an ArrayBuffer
Compressing object-body content from a Node.js server built using the express module
Chapter 9: Querying JSON with JSONPath and LINQ
Introduction
Using the JSONPath dot-notation to query JSON documents
Using JSONPath bracket-notation to query JSON documents
Using JSONPath scripting to construct more complicated queries
Using JSONPath in your web application
Using JSONPath in your Node.js application
Using JSONPath in your PHP application
Using JSONPath in your Python application
Using JSONPath in your Java application
Using JSONPath with SelectToken to query for JSONPath expressions in your C# application
Using LINQ with Json.NET to query JSON in your C# application
Chapter 10: JSON on Mobile Platforms
Introduction
Parsing JSON on Android
Generating JSON on Android
Parsing JSON on iOS in Objective-C
Generating JSON on iOS in Objective-C
Parsing JSON on iOS using Swift
Generating JSON on iOS using Swift
Parsing JSON using Qt 162
Generating JSON using Qt
Index
Правила, инструкции, FAQ!!!
Торрент   Скачать торрент Магнет ссылка
Скачать торрент
[ Размер 12.04 КБ / Просмотров 80 ]

Статус
Проверен 
 
Размер  7.05 МБ
Приватный: Нет (DHT включён)
.torrent скачан  2
Как залить торрент? | Как скачать Torrent? | Ошибка в торренте? Качайте магнет  


     Отправить личное сообщение
   
Страница 1 из 1
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему


Сейчас эту тему просматривают: нет зарегистрированных пользователей и гости: 1


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Перейти:  
Ресурс не предоставляет электронные версии произведений, а занимается лишь коллекционированием и каталогизацией ссылок, присылаемых и публикуемых на форуме нашими читателями. Если вы являетесь правообладателем какого-либо представленного материала и не желаете чтобы ссылка на него находилась в нашем каталоге, свяжитесь с нами и мы незамедлительно удалим её. Файлы для обмена на трекере предоставлены пользователями сайта, и администрация не несёт ответственности за их содержание. Просьба не заливать файлы, защищенные авторскими правами, а также файлы нелегального содержания!