Tiggr Mobile Apps Builder now with JSONP support
Posted: July 19th, 2011 | Author: max | Filed under: Features, Mobile Apps Builder | Tags: features, mobileappsbuilder | 2 Comments »If you worked with JSON, then you are aware of the cross-domain policy which prevents a script loaded from one domain, to invoke services from another domain. This means that the domain of the requested URL must be the same as the domain of the current page. A number of work around exists but one of the most popular once is using JSONP. JSONP allows a requesting URL from one domain to invoke a service from a different domain. Tiggr Mobile Apps Builder now supports JSONP. Why is this important? Well, it makes very simple to build and test mobile apps in Tiggr. Now a page can be loaded from abc.com domain and invoke a service from xyz.com. Most REST services today support JSONP.
To use JSONP is very simple. When defining REST service, select jsonp for Data Type:

JSONP support

Twitter Search App
To try this in action, try this Twitter Search app built in Tiggr.
Nice Work… thanks for the update!
[...] simple to invoke cross-domain REST services, JSONP support was added to Tiggr Mobile Apps Builder. Read more or sign up to try [...]