【分享】几篇关于Repository 相关的讨论、提问、文章

一、引入

最近在了解DDD,对于里面Repository 有点疑问和关注。闲来无事,去找了一些文章,来补补。在这里分享出来给大家。文章大多数都是英文的,见谅哈。

二、推荐列表

2.1 Filters in DDD Repository

一个Stackoverflow 上面的一个提问,关于 Filters in DDD Repository 文章地址:Filters in DDD Repository
回答中用来规约模式(Specifiaction Pattern)来进行Repository 中的设计。
补充 ,找到 Specification Pattern LinqSpec in Github

2.2 Implementing the Repository and Finder patterns

另一篇讲 Implementing the Repository and Finder patterns 这个的:Myself and my fellow developers that I work with, went on a little journey to find the right way to implement the repository pattern including queries. 文章地址:Implementing the Repository and Finder patterns
应该来说这篇讲了一个比较基础的Repository 的实现。但是我在想那样设计合理吗?

2.3 DDD: the Repository contract

也是 Stackoverflow 上面的一个提问:DDD: the Repository contract

2.4 DDD: Repository Implementation Patterns

Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects.文章地址:DDD: Repository Implementation Patterns

2.5 Repository

最后一篇是一个大神的 Martin Fowler 文章地址:Repository

posted @ 2017-02-10 00:15  BUTTERAPPLE  阅读(225)  评论(0编辑  收藏  举报