The latest version a Google Chrome browser implement an interesting option that will give them a helping hand software developers who want to transform the sites Web applications complex: a system Push notificationsActive at all times. This feature is not the only interesting novelty in Chrome 42 Beta, the browser will also benefit from an optimal way to add shortcuts on desktopul Android and better compatibility with some new Web technologies.
The surprising news is, undoubtedly, the possibility of receiving messages Push in Google Chrome even when they send page is closed. This system uses old Notification APIWhich is used for almost two years for the display of notices graphically rich, and the new Push APIWhich enables a permanent connection between server and client.
The system allows developers to embed in website pages, a special piece of software code that is called Service WorkerIt will be run locally even when the home page is closed. Mediation by service Google Cloud MessagingThis connection allows the transmission of similar Push notifications on mobile platforms, and these Service Workers may be used for other activities, such as the synchronization in the background or Geofencing.