在哪里可以了解 Google Chrome 中网络数据库的技术实现?

发布于 2025-01-04 21:51:24 字数 367 浏览 4 评论 0原文

我已经阅读了有关 WebSQLIndexedDBlocalStorage,但是我在哪里可以了解特定浏览器(本例中为 Google Chrome)如何实际实现这些功能?

我知道我可以阅读 Chromium 的源代码,但我假设构建该主题的浏览器的团队会发布一些介绍/文档类型的文章。我已经寻找了一段时间,但没有找到任何东西。

I've read up on the standards regarding WebSQL, IndexedDB, and localStorage, but where can I read up on how a specific browser (Google Chrome in this instance) actually implements these features?

I know I could read source code from Chromium, but I assumed there would be some introduction/documentation type articles put out by the teams that built the browsers on the subject. I've been searching for a while and haven't found anything.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

献世佛 2025-01-11 21:51:24

如果您的意思是“实际实现”,就像“编写什么 C++ 代码来使神奇的 HTML5 事情发生”一样,那么该代码确实是您能做的最好的事情。有各种各样的设计文档(就像 IndexedDB 的旧文档)团队有时会保持最新状态,但代码本身是实现细节的最佳来源。筛选测试(例如对于 IndexedDB) 是一个很好的开始方式。有关实现细节的进一步讨论,请参见 chromium-devwebkit-dev,在这些列表中搜索花絮是另一个很好的信息来源。

另一方面,如果您的意思是“实际上实现”,如“我可以在浏览器 X 中使用 HTML5 的哪些部分”,那么 caniuse 可能是获取最新功能兼容性表的最佳选择。

If you mean "actually implements" as in "what C++ code is written to make magical HTML5 things happen", then the code really is the best you can do. There are a variety of design documents floating around (like this old one for IndexedDB) that the teams sometimes keep up to date, but the code itself is the best source for implementation details. Sifting through the tests (for IndexedDB, for example) is a good way to get started. Further discussion of implementation details takes place on chromium-dev and webkit-dev, searching those lists for tidbits is another good source of information.

If, on the other hand, you meant "actually implements" as in "what bits of HTML5 can I use in browser X", then caniuse is probably your best bet for up-to-date feature compatibility tables.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文