[webkit-dev] The Care and Feeding of WebCore Modules
mjs at apple.com
Wed Feb 29 23:31:58 PST 2012
Here's an update of my lists based on the notes from you, Adam and others:
== Existing Modules ==
indexeddb (work in progress)
== Likely Future Modules ==
== Non-Modules Using Module-Related Techniques for Loose Coupling ==
html (seems to be agreement on reverting this)
speechinput (seems to be agreement on keeping this)
== Possibly Planned Future Uses of Module Techniques for non-Modules ==
Assuming this reflects up-to-date plans, I can put it in a wiki page, though I'm not sure I'll always be able to keep it up to date with changes of plans.
I would suggest that, based on the discussion so far, html, svg, webgl, workers, and xml should be de-quasi-modularized at least for now. I would also suggest not applying Module techniques to DOM events, at least for now, unless I misunderstand the intent. devicemotion and deviceorientation seem to be using Supplement<> in a similar way and for a similar reason to speechinput, so I'd presume folks are ok with those.
We may also want to consider whether websockets is truly a good candidate for the module treatment. It seems to me that at some point soon, if not already, it will be mature and accepted enough to be considered part of the core, though the code is relatively standalone.
More information about the webkit-dev