jsonp
- 网络跨域访问
-
So , how can you transform it to a real JSONP service ?
因此,如何才能将其转换为真正的JSONP服务呢?
-
First and foremost , there is no error handling for JSONP calls .
第一,也是最重要的一点,没有关于JSONP调用的错误处理。
-
Example service with JSONP support
使用JSONP支持的示例服务
-
Note that you leave the content areas empty because you 're going to use JSONP to fill them with dynamic data .
请注意,内容区保留为空,因为您要使用JSONP,用动态数据填充内容区。
-
Another major drawback of JSONP is that it can be quite dangerous if used with untrusted services .
JSONP的另一个主要缺陷是被不信任的服务使用时会很危险。
-
JSONP as an effective cross-domain communication technique , by-passing the same-origin policy limitations
作为一种有效的跨域通信技术,JSONP能够绕过当前浏览器的同源策略限制
-
The answer is simple : You must use third-party JSONP services , and there are quite a few of them .
答案很简单:您必须使用第三方JSONP服务。这种服务并不少。
-
To call Twitter , you use a dynamic script tag , which is a technique often referred to as JSONP .
为了调用Twitter,要使用动态脚本标签,这是一项常称为JSONP的技术。
-
If you are going to use JSONP services , it 's very important to be aware of the threats it poses .
如果打算使用JSONP服务,了解它能造成的威胁非常重要。
-
It is not a JSONP service .
这不是JSONP服务。
-
Although it returns a JSONP reply , it doesn 't let you define a callback function name in the URL .
尽管返回了JSONP回复,但它不允许您在URL中定义回调函数名。
-
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上的结构化数据。
-
Query Language ( YQL ) as a single endpoint JSONP service that lets you query , filter , and combine data from different data sources .
查询语言(YQL),这种单端点的JSONP服务允许您查询、过滤和合并来自不同数据源的数据。
-
This makes the YQL service a JSONP service , which we think is very significant : It brings automatic JSONP support to many Web services .
这使YQL服务成为了一种JSONP服务,最重要的是:它为众多Web服务引入了自动化JSONP支持。
-
Of course , JSONP is a great help to workaround the cross-domain limitation and specifically when a server-side proxy cannot be used .
当然,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。
-
We 're allowing file upload / download and some image management over DWR and adding support for JSONP and the Bayeux protocol .
我们允许在DWR中上传/下载文件,做一些图片管理,而且增加了对JSONP和Bayeux协议的支持。
-
We showed how you can use jQuery 's native JSONP support to gather JSON-formatted content from third-party services , which we call JSONP services .
我们为您展示了如何利用jQeury的本地JSONP支持,从称为JSONP服务的第三方服务收集JSON格式的内容。
-
The content area of a widget will be filled by your JavaScript code that will pull in JSONP data and append it to the content section of the widget .
小部件的内容区由您的JavaScript代码填充,拉入JSONP数据并将其附加到小部件的内容部分。
-
JSONP is a very powerful technique for building mashups , but , unfortunately , it is not a cure-all for all of your cross-domain communication needs .
JSONP是构建mashup的强大技术,但不幸的是,它并不是所有跨域通信需求的万灵药。