Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some design questions
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00810210
Message ID:
00810964
Views:
12
Assuming that you still agree with me that the object model and the data model are both derivable from the conceptual model, coding the DAL by hand makes little sense since the DAL would be derivable as well. Data driven mapping adds a dynamic layer on top of static structures, which seems wrong from the start. Plus it adds the burden of maintaining the mapping data as the conceptual model and it's derivatives change.

BTW, any attempt to derive the object model from the data model is doomed because a data model view of a conceptual model is analogous to a 2D view of 3D object. Some distortion is always introduced producing the 2D view and in the 2D view you never see the entire 3D object.

Having said this, there is no language that can formally and completely capture a conceptual model, not even ORM, so complete derivation is not possible and some hand coding inevitable. In my view the goal is to derive whatever is possible in such a way that as the conceptual model changes, the changes can be modeled and new derivation produced preserving as much of the hand coding that continues to be relevant as possible.

jMM

>I will have to think about that but I would be inclined to agree with you.
>
>The question is: are you going to code that data access layer yourself, let the source be generated for you by a tool, or let a persistence layer figure it out by itself according to a mapping file that you give it.
>
>
>>Hi neighbor, my mistake, I thought you meant ORM as in Object Role Modeling.
>>
>>From my perspective, an object model and a data model are both logical views of a conceptual model. If the data and object models can be derived from the conceptual model, then so can the data access layer that goes between them.
>>
>>jMM
jMM
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform