Menu
Google preps new web platform APIs

Google preps new web platform APIs

New APIs for app launching, file handling, page pre-rendering, graphical transitions, and GPU support will first become available as Chrome origin trial experiments.

Credit: Dreamstime

Google is developing several APIs designed to enhance the web platform, including APIs for automatically launching web apps and opening files. These APIs should eventually find support in all leading browsers.

A declarative link capturing API, due shortly, will enable an installed web app to launch automatically when a user clicks on an appropriate link.

The API could prevent multiple instances of the same app from opening, so users do not have to deal with perhaps 10 instances of the same web app, said Ben Galbraith, of Google’s Chrome team, during a May 18 presentation on the web platform.

Other new web platform APIs in the works at Google include a file handling API to allow web apps to be registered as file type handlers, enabling users to open files directly in a web app from OS file browsers. An experimental release of this API is planned for later this year.

This is in addition to pre-rendering API, also planned for later in 2021, for developers to experiment with pre-rendering on same-site preloading. Pre-rendering is a technique for loading all of a webpage’s resources, including rendering the DOM, before the user clicks on the page’s link, for instant display.

Pre-rendering is hard to get right, with possible side effects including leaking some user information if done across sites, Galbraith said. But if done properly, pre-rendering provides a powerful, instant click-through experience for the user. New approaches to pre-rendering are being developed that are private and safe.

Furthermore, document transition APIs, soon to be available as Chrome origin trial experiments, will support graphical transitions between elements, to enable a user to perceive a seamless experience when moving between states of a web app.

Finally, a WebGPU API to improve graphics performance on the web is also in planning. Google is working with the graphics and web communities on WebGPU, which is still experimental.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags Google

Events

Featured

Slideshows

Channel kicks 2021 into gear as After Hours returns to Auckland

Channel kicks 2021 into gear as After Hours returns to Auckland

After Hours made a welcome return to the channel social calendar with a bumper crowd of partners, distributors and vendors descending on The Pantry at Park Hyatt in Auckland to kick-start 2021.

Channel kicks 2021 into gear as After Hours returns to Auckland
The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

Hundreds of leaders from the New Zealand IT industry gathered at the Hilton in Auckland on 17 November to celebrate the finest female talent in the Kiwi channel and recognise the winners of the Reseller News Women in ICT Awards (WIICTA) 2020.

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards
Show Comments