The need for HTML5 postMessage API(novogeek.com)

submitted by novogeeknovogeek(235) 6 months, 28 days ago

The postMessage API in HTML5 specification is useful for making cross domain calls across frames. This is typically useful for mashups, Web 2.0 sites (e.g., pageflakes.com) where different widgets might need to communicate with each other. Few developers have already started using HTML5 postMessage in their projects, without knowing why they are using. Here are a couple of questions an inquisitive developer might have in mind: 1. How are mashups and rich Web 2.0 applications built even before HTML5 postMessage API came into existence? 2. What is the trust model which Web 2.0 sites have? (Who trusts whom?) 3. Is there really a need for a new API when workarounds met the needs? This post tries to answer these questions and explains why postMessage API is important.

1 comment |category: |Views: 29

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 6 months, 27 days ago 0

Using the postMessage API is definitely a cleaner, safer solution. I think a lot of what's coming on the web is going to be built off this.

Reply

information Login or create an account to comment on this story