Wri­ta­ble Files API

Web Designer - - Javascript in 2019 -

The long-term goal of web ap­pli­ca­tions is to get them to be on the same level as their na­tive coun­ter­parts. Some func­tion­al­ity, how­ever, re­mains lack­ing – par­tic­u­larly around man­ag­ing lo­cal files.

Writ­ing files cur­rently in­volves cre­at­ing a down­load and saving to a spe­cific direc­tory. Saving it­er­a­tions over a spe­cific file will cre­ate mul­ti­ple copies, which is not al­ways a good ex­pe­ri­ence.

The Wri­ta­ble Files API will pro­vide de­vel­op­ers with more flex­i­bil­ity and en­able users to de­cide where files should be stored. This opens the door to more fully fea­tured projects on the web, such as an on­line code ed­i­tor or com­plex graph­ics ap­pli­ca­tions.

This API is cur­rently part of Google’s ca­pa­bil­i­ties project. It’s cur­rently in the process of gath­er­ing feed­back on po­ten­tial fea­tures be­fore it hits the browser in an ori­gin trial. Is­sues around se­cu­rity, and what kind of files can be writ­ten where, need to be ironed out be­fore the API can be made of­fi­cial.

Find out more about the ca­pa­bil­i­ties project over at the Chrome de­vel­oper blog: bit.ly/2qqo­qye • wicg.github.io/wri­ta­ble-files

Newspapers in English

Newspapers from UK

© PressReader. All rights reserved.