售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
JavaScript and JSON Essentials
Table of Contents
JavaScript and JSON Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. JavaScript Basics
Variables in JavaScript
Arrays
Objects
The Carousel application
Summary
2. Getting Started with JSON
The Hello World program with JSON
Datatypes in JSON
Languages that support JSON
PHP
Python
Summary
3. Working with Real-time JSON
Accessing objects in JSON
Performing complex operations
Modifying JSON
Summary
4. AJAX Calls with JSON Data
Requirements for AJAX
Hosting JSON
Making your first AJAX call
Parsing JSON data
Summary
5. Cross-domain Asynchronous Requests
Making GET and POST AJAX calls with JSON data
The problem with cross-domain AJAX calls
Introduction to JSONP
Implementing JSONP
Summary
6. Building the Carousel Application
Setting up the application
Building the JSON file for the Carousel application
Creating the Carousel application with jQuery Cycle
Summary
7. Alternate Implementations of JSON
Dependency management
JSON for storing metadata
Comparisons with YAML
Summary
8. Debugging JSON
Using the developer tools
Validating JSON
Formatting JSON
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜