Skip to content

Web RDB API as a Layered API? #16

@js-choi

Description

@js-choi

The new Layered API proposal is trying to enable standardization of web features that are high level, yet which are entirely implemented in terms of lower-level features. This allows browsers to replace polyfill functionality with their own native implementation whenever the latter is available. The first such formal Layered API is the new Async Local Storage proposal, which is layered on top of IndexedDB and other APIs available to general developers.

Work on the Web RDB specification is currently dormant, probably due to difficulty securing support within the Chromium team by its author, who is also a Google employee. But it may be possible to garner more support for Web RDB by reframing it as a Layered API. Web RDB would have to be entirely implementable by a polyfill using IndexedDB—just like Async Local Storage. But any browser with native support for Web RDB could replace it with an implementation targeting its own internal SQL engine.

Reframing Web RDB as a Layered API may make it more palatable to implementers. Are there plans to doing such a thing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions