Skip to content

craic/json_jsonp_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practical Tutorial on JSON versus JSONP in JQuery

JSONP is a simple way to overcome browser restrictions when sending JSON responses from different domains from the client.

But the practical implementation of the approach involves subtle differences that are often not explained clearly.

Here is a simple tutorial that shows JSON and JSONP side by side.

It assumes that you are familiar with basic JQuery functions and have basic experience of server-side applications.

Specifically the tutorial uses a simple Sinatra server, written in Ruby

See the page public/index.html for the Tutorial itself.

A live version of the tutorial is at http://json-jsonp-tutorial.craic.com

About

Simple Tutorial on using JSONP versus JSON with JQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published