Quickly Build HTML5 and PhoneGap Mobile Apps

Tiggr Mobile Apps Builder now with JSONP support

Posted: July 19th, 2011 | Author: | Filed under: Features, Mobile Apps Builder | Tags: , | 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

Twitter Search App

To try this in action, try this Twitter Search app built in Tiggr.


2 Comments on “Tiggr Mobile Apps Builder now with JSONP support”

  1. 1 Dave Matchack said at 09:48 on July 19th, 2011:

    Nice Work… thanks for the update!

  2. 2 JSONP support added to Tiggr Mobile Apps Builder | Maxa Blog said at 15:14 on July 21st, 2011:

    [...] simple to invoke cross-domain REST services, JSONP support was added to Tiggr Mobile Apps Builder. Read more or sign up to try [...]


Leave a Reply


  • nine − 3 =