bitrix-orm

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Bitrix D7 ORM

Bitrix D7 ORM

Baseline: main 23.0+. Features newer than baseline are marked Since.
Progressive disclosure: open only the rule files that match the task. Do not read every
rules/*.md
.
基准版本:main 23.0+。晚于基准版本的功能会标记为Since
渐进式查阅:仅打开与任务匹配的规则文件。无需阅读所有
rules/*.md
文件。

How to use

使用方法

  1. Identify the layer the task touches.
  2. Open the matching
    rules/*.md
    below.
  3. Prefer framework-native Bitrix patterns over custom abstractions.
  1. 确定任务涉及的层级。
  2. 打开下方匹配的
    rules/*.md
    文件。
  3. 优先使用Bitrix框架原生模式,而非自定义抽象实现。

Choose a rule file

选择规则文件

When to read
rules/tablet-map.md

何时阅读
rules/tablet-map.md

Read
rules/tablet-map.md
(
Tablet map
) when the task involves:
  • Naming:
    DataManager
    vs
    *Table
  • Tablet Skeleton
  • Field Types
  • Relations
  • User Fields (UF)
当任务涉及以下内容时,阅读
rules/tablet-map.md
Tablet map
):
  • 命名规范:
    DataManager
    *Table
    的选择
  • 数据表框架
  • 字段类型
  • 关联关系
  • 用户字段(UF)

When to read
rules/reading.md

何时阅读
rules/reading.md

Read
rules/reading.md
(
Reading / filters
) when the task involves:
  • Reading Data
  • Collections and Annotations
当任务涉及以下内容时,阅读
rules/reading.md
读取/过滤器
):
  • 数据读取
  • 集合与注解

When to read
rules/writing.md

何时阅读
rules/writing.md

Read
rules/writing.md
(
Writing / batch / upsert
) when the task involves:
  • Writing
当任务涉及以下内容时,阅读
rules/writing.md
写入/批量操作/更新插入
):
  • 数据写入

When to read
rules/events-cache-security.md

何时阅读
rules/events-cache-security.md

Read
rules/events-cache-security.md
(
Events, cache, security
) when the task involves:
  • Events
  • Caching
  • Security: User Input in Queries
  • Checklist
当任务涉及以下内容时,阅读
rules/events-cache-security.md
事件、缓存、安全
):
  • 事件
  • 缓存
  • 安全:查询中的用户输入
  • 检查清单

Checklist

检查清单

  • Opened only the rule file(s) needed for this task.
  • Followed DI /
    /local/
    / security canons from
    AGENTS.md
    .
  • 仅打开了任务所需的规则文件。
  • 遵循了
    AGENTS.md
    中的依赖注入(DI)/
    /local/
    目录规范/安全准则。