etaf-playground/README.zh-CN.md
2026-08-22 08:21:26 +08:00

15 lines
864 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ETAF Playground
Playground 只公开一个标准产品示例:
`examples/research-shelf.etaf``examples/research-shelf.el` 配对。
`.etaf` 是惰性、inert、经过白名单验证的静态结构数据同名 companion 负责
Component、状态、主题、SQLite、事件与生命周期。`etaf-playground.el` 是通用
pair playground 框架只负责注册、白名单读取、加载、mount/reset/close 和验证
入口;`etaf-playground-catalog.el` 是可替换的部署目录。业务 Component、数据库
schema、palette、refs 与 handlers 不能泄漏进框架。
默认原则是组合和复用公开 ETAF/`etaf-ui` 契约,而不是再造一套组件或 helper 抽象。
验证命令:`make check EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs`。
性能门禁:`make perf`1413×62 viewport 的 warm 选行/主题延迟)。