Understanding the Domain object + Data mapper pattern?

前端 未结 3 504
感情败类
感情败类 2021-01-30 01:45

I\'ve always worked with various ORM\'s in the past and placed all my logic inside my models regardless of it\'s nature - SQL, MongoDB queries & even fetching of remote JSON

3条回答
  •  無奈伤痛
    2021-01-30 02:21

    Here's a good book about the topic you're interested in, You can find about data Mappers (Abstract Data Mappers) in the Persistence Framework chapter:

    Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and the Unified Process

提交回复
热议问题