[NFR]: Collector source adapters for ADR data sources (DB / View / Route)
维护者通常 3 天内回复
@niden 已经在做这个了。
开始于 2026年7月22日。
评估
这个 Issue 还没有评估数据。
描述
Summary
Even once collectors are decoupled from event names, three collectors have no data source under ADR, because the ADR stack uses different technologies than MVC. Provide one source adapter per collector, selectable per application, so DB, View, and Route data can be collected in an ADR app (phalcon/vokuro-adr as the reference).
Missing data sources under ADR
- Database - ADR uses
Phalcon\DataMapper\Pdo\Connection, which does not firedb:beforeQuery/db:afterQuery. Needs a DataMapper source (a profiler or a decorating connection) alongside the MVCDb\Adapter(events) source - two adapters feeding onequerysignal. - View - ADR renders
.phtmlthroughPhalcon\Mvc\View\Simplewith no events manager attached, soview:*never fires. Needs a source that instruments the ADR renderer/responder, or attaches an events manager toSimple. - Route - ADR uses
Phalcon\ADR\Router, not the MVC router, sorouter:matchedRoutenever fires. Needs an ADR route source.
Proposed direction
- Define a per-collector source contract, and provide two implementations where relevant (MVC and ADR/DataMapper). The active bridge selects the appropriate source.
- Ship the DataMapper DB source as the first concrete second-adapter - the most valuable, and the clearest example of "two adapters, one collector".
Acceptance
- In an ADR app, the Database, View, and Route collectors show real data.
- The MVC sources are unchanged.
Depends on
- #15
- 主要语言
- PHP
- 星标
- 6
- 派生
- 3
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
phalcon/debugbar 的其他 Issue
-
[NFR]: History Panel enhancements可能已有人在做 @niden 于 12 天前认领。 未关闭enhancement
phalcon/debugbar#32 · 已指派 1 人 ·
维护者通常 3 天内回复
-
[NFR]: Decouple collectors from framework event names (bridge + canonical signals)可能重新可做 @niden 于 77 天前认领,目前没有进行中的 PR。 未关闭enhancement
phalcon/debugbar#15 · 已指派 1 人 ·
维护者通常 3 天内回复
-
[NFR]: Framework-neutral integration seam: boot and response injection without Mvc\Application可能重新可做 @niden 于 77 天前认领,目前没有进行中的 PR。 未关闭enhancement
phalcon/debugbar#14 · 已指派 1 人 ·
维护者通常 3 天内回复
-
[NFR]: Debug bar support for ADR / non-MVC apps可能重新可做 @niden 于 77 天前认领,目前没有进行中的 PR。 未关闭enhancement
phalcon/debugbar#13 · 已指派 1 人 ·
维护者通常 3 天内回复
-
[NFR]: Services panel for DebugBar可能重新可做 @niden 于 87 天前认领,目前没有进行中的 PR。 未关闭enhancement
phalcon/debugbar#5 · 已指派 1 人 ·
维护者通常 3 天内回复
相似的 Issue
-
extension/Commercial needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
crazy-goat/rabbit-stream#753 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
opensourcepos/opensourcepos#4743 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
grokability/snipe-it#19786 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 3 天内回复