W3C Publishes Push API Draft Specification
W3C Publishes Push API Draft Specification
Written by Alex Denham   
Tuesday, 23 October 2012

The Web Applications Working Group (W3C) has published the first public working draft of a Push API.

The new specification, authored by Bryan Sullivan of AT&T and Eduardo Fullea of Telefonica, is for a “Push API” that you could use in a web app to work with application data created on a server.

The API defines how an application server could send data to client-based web apps. The application data is sent as "Push messages" as delivered by "Push services".

The messages would be sent whether or not the web app was active in the browser window, and you could make use of scripts to define how the interaction should take place. The method that a web app would use to interact would either be selected by the browser, or by the user. The user would choose to receive data by selecting a Web Intent Push Service provider.

In most cases where data is sent from an application servers as push messages that are sent to a push server, by a RESTful interface for example. The push server then delivers the message to the user agent associated with the web app. The user agent then delivers the Push message to the web app.

The new API means a web app can ask the user for permission to receive Push messages, along with the permission to give the user agent the info it needs to activate the Push service.

As this the first public working draft of the AP, the W3C is inviting comments.

W3Clogo

More Information

Push API W3C Working Draft

Related Articles

Which HTML5? - WHATWG and W3C Split

 

blog comments powered by Disqus

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


Computational Photography Shows Hi-Res Mars
01/05/2016

Computational photographic is amazing, but sometimes you have to wonder if it is actually useful and not just amusing. Proving that it is, researchers have found a way to extract high-resolution image [ ... ]



SDD 2016 Offers Over 100 Sessions
14/04/2016

Software Design and Development, taking place 16-20 May, 2016 is a major London-based developer event that attracts speakers and delegates from the UK, Europe and beyond. Book your place by Friday Apr [ ... ]


More News

Last Updated ( Tuesday, 23 October 2012 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2016 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.