Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Part Two: Domain Model / Physical Model

 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok we all know the story. The Domain Model represents business concepts. It doesn't consider things like database normalisation. I consider the role of architect to consider things like database normalisation. Do you?
If so, what is a good way of communicating the changes you'd like make to the physical (database) view?

Discuss...



 
Ranch Hand
Posts: 138
Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would consider the DB design the job of the DBA. For some projects a database is not required (very few though) and database design is not what I would trust the architect alone to do.
At least were I work it's the DBA that makes the design together with the developers. He is the expert in database not us .. at least not me .

Also yes in theory you should have a normalized database but what about connections to Object Databases or tools such as the Google App Engine DataStore ?
I suggest keeping the design of the classes as connected to the domain model as possible (people lost points over this before) and to abstract away the actual type of data storage. Using JPA helps from this point of view.
 
Wanna see my flashlight? How about this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic