I have during my college days used XMLHttpRequest object and its equivalent in Microsoft world to make Ajax calls and those Ajax calls were to the URL within the same domain. But with the advent of Webservices and whole lot of mashups being developed, Ajax calls are not restricted to same domain but the cut acorss different domains. When this cutting across domain boundaries happens making Ajax calls using XMLHttpRequest fails due to security enforcements implemened by the browsers. That’s when the idea of JSON-P i.e JSON with Padding came up.
In this post I will quote from different sources about JSONP and then go ahead and implement example which invokes Stackoverflow API to retrieve the unanswered questions tagged ‘jsonp’
- What is JSONP?
- Simple example for JSONP
- Accessing Stackoverflow API using JSONP
Continue reading “Getting started with JSON-P”
The main focus of the day was the emergence or in otherwords out growth of mobile devices over desktop/laptop in the Q4 of 2010. And also the importance of making the applications mobile compatible. With the advent of HTML5 and lot of browsers including mobile browsers providing support for these features, it gives much more power to the developers in creating rich applications for mobile and desktop browsers.
- Improving the page load times by using PageSpeed service. Interesting facts as to where the web page takes time to load were shared along with possible optimisations. I remember using PageSpeed to check the page load times for my blog, but I need to explore the PageSpeed service which does the optimisations on the fly.
Now coming to the expo booths-
- None of them had anything useful to share about the product there were displaying except for SafeNet,where the person in the booth explained exactly what the product does and was in a position to answer the queries.
- ThoughtWorks were giving out ThoughtWorks Radar and the people in the booth were from the recruitment team, but I thought they should have got a developer or two there who could explain as to how Radar is prepared or may be talk a bit or two about few upcoming technologies or the technologies they are working on.
- The funniest stall was the JetBrains where I guess the person was from the sales/marketing team and had no clue as to how JetBrains is better than Eclipse or Netbeans. I asked him few questions about the features in JetBrains and all he had to say was, please ask your company to get in touch with us, we will provide them live demo from US and before that talk about the purchase plan of your company. Now does that impress hundreds of developers who visit the stall?
Lot to explore tomorrow and the day after. Stay tuned for more updates here.