comparemela.com


According to [PoEAA], this definition is "A
Domain Model creates a web of interconnected objects, where each object represents some meaningful individual, whether as large as a corporation or as small as a single line on an order form."
Domain Model has two kinds of type:
Simple Domain Model: Every domain model can be mapped to one database table. Usually it uses Active Record.
Complex Domain Model: The model uses inheritance, strategies and other design patterns. Database can not directly map to the model. Using Data Mapper is required.
1.1 When to use it
If the business layer is frequently changed and is gradually complex, using Domain Model is a good choice. Creating Service Layer wraps the Domain Model to provide unified API for outer modules.

Related Keywords

,Service Layer ,Domain Logic Pattern ,Domain Model ,Data Mapper ,Revenue Recognition ,Logic Pattern ,Transaction Script ,Strategy Pattern ,Entity Framework ,Table Module ,It邦幫忙 ,Ithome ,சேவை அடுக்கு ,களம் மாதிரி ,வருவாய் அங்கீகாரம் ,நிறுவனம் கட்டமைப்பு ,

© 2025 Vimarsana

comparemela.com © 2020. All Rights Reserved.