网络 原理; 的作用以及怎么实现跨域; 跨域调用技术; jsonp
Coupled with its JSONP support and jQuery, YQL lets you access structured data across the Web through a single unified interface.
与其JSONP支持和jQuery相结合,YQL允许您通过一个统一的界面访问Web上的结构化数据。
To call Twitter, you use a dynamic script tag, which is a technique often referred to as JSONP.
为了调用Twitter,要使用动态脚本标签,这是一项常称为JSONP的技术。
Now that you know how to use JSONP, you can start using some ready-made JSONP Web services to build your applications and mashups.
知道如何使用JSONP之后,可以开始使用一些现成的JSONPWeb服务来构建应用程序和mashup。
Of course, JSONP is a great help to workaround the cross-domain limitation and specifically when a server-side proxy cannot be used.
当然,JSONP对于绕开跨域限制很有帮助,尤其是在服务器端代理无法使用的情况下。
You could call this service with jQuery's JSONP support using the code shown in Listing 5.
使用清单5所示的代码可以通过jQuery的JSONP支持调用该服务。