Tag Archives: jsonp

Getting information from an external API using jsonp

As you probably know, it is not possible to retrieve information from an external source located on a different domain to your client-side code directly using a traditional AJAX call. This is because of the cross-site scripting policy, which tries to protect websites from malicious script injection. To overcome this situation there is a workaround [...]

ShoppingCart part II

After having the listing in place and the search functionality as well, the next step a ShoppingCart app has to face is to show the details of each product when the user clicks on them. Given we’re trying to concentrate our side on a single-page we cannot follow the traditional approach of redirecting the user [...]