-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[scoped-registries] CustomElementRegistry to support SDLC of generic browser entities #976
Comments
@justinfagnani , as author of Scoped Custom Element Registries, do you think the browser objects APIs should follow same patterns? |
I'm confused by this issue. I don't know what SDLC is and I'm not sure how CRUD relates to objects or most browser APIs that are not database-like. The Scoped CustomElementRegistry proposal is focused on associating registries with DOM trees. I think additional API changes for CustomElementRegistry, like unregistering elements, are out of scope for that proposal, and already discussed in issues like #754. |
SDLC - software development life cycle. Referred here as support full life cycle of CustomElementregistry for developers and apps. Which is including creation, inspection, reuse/clone, customize, ... remove. CRUD is not only DB term. Any object lifecycle in browser includes basic operations: creation, inspection(read), modification(update), delete. I bet there are some more. Like the string conversion for log, serialization (JSON, XML, binary,)...
It is understandable that particular object (CustomElementRegistry) main behavior is the primary subject for proposal. I see the lack of operations described in story as missing symmetry in API. When other collection APIs in browser been implemented, most if not all been symmetrical. @justinfagnani , is there a reason to break symmetry? The arguments of #754 was not accounting for generic collection capabilities, rather was an intent to artificially insulate one of collection use aspects. |
Is this an issue asking to re-open #754 with a new consistency argument? |
@justinfagnani , this is new consistency argument not just for #754 but also whole set of collection interfaces. |
Closing this as a duplicate of #754. |
The most of APIs for objects in browser do support CRUD operations. But for custom element registries it has been implemented only partially.
The exact API is a subject for individual discussions.
The text was updated successfully, but these errors were encountered: