Re: [WICG/webcomponents] [scoped-registries] CustomElementRegistry to support SDLC of generic browser entities (Issue #976)

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,)...

> 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

It is understandable that particular object (CustomElementRegistry) main behavior is the primary subject for proposal. 
But symmetrical API either has to be assumed by default or outlined why there are exceptions for this kind of object.

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.



-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/976#issuecomment-1340424442
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/976/1340424442@github.com>

Received on Wednesday, 7 December 2022 06:18:02 UTC