【问题标题】:How to have identity map in doctrine ORM如何在学说 ORM 中有身份映射
【发布时间】:2010-11-21 13:11:37
【问题描述】:

需要使用具有 Datamapper 元素的良好 PHP ORM,而我不够聪明,无法自己编写代码。

选择学说,但在阅读用户指南后,找不到任何说明如何使用身份映射来降低对数据库的调用的内容。

请告诉我如何在教义 ORM 中使用身份映射?

只需通过 fowler 的 PEAA 书阅读并理解诸如 datamapper、activerecord、identity map、域模型 YESTERDAY 之类的东西。

【问题讨论】:

    标签: php design-patterns orm datamapper identity-map


    【解决方案1】:

    this article Doctrine 2 中所见,支持身份映射模式

    【讨论】:

      猜你喜欢
      • 2014-01-04
      • 2023-04-05
      • 1970-01-01
      • 1970-01-01
      • 2011-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-16
      相关资源
      最近更新 更多