• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Design Approach - All SCEA's plz comment

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I was thinking of using a design approach where you consider the data model first and then build an object model over it ?

Does this approach sound right ? i have seen some SCEA's on java ranch do that ?


Regards,
[ February 26, 2007: Message edited by: Muhammad Asif ]
 
Muhammad Asif
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can somebody SCEA with prior experience please help me with the query ?
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Muhammad,

you don't need to create a data model. IMO, it doesn't even help you coming up with a good architecture because it distracts you from OOD. You'll probably better off taking the business domain model and do some refinements and extensions here (if you think something is missing or inaccurate).

Lars
SCEA
 
Muhammad Asif
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well the reason i am doing this is because this will help me identify every item that needs to be captured in object model.

I don't want to miss out on any requirement.
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am yet to start my assignment ( I downloaded in 2003 ), but never found time (or may be skill) to start it.

What I think is, people often use domain model, business model, object model interchangeably. If any of these models is going to help you refine what has been provided in the assignment and come up with the required class diagram, then you are free to do so.

Most likely, I will start my assignment in a weeks time. So hopefully, we can share more design information as we get along.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Data Model should not drive your application object modelling. Once you have done the Object Modelling, you can use OR Mapping tool like Hibernate to map the object to the Data.

Hope this helps.
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My suggestion is to construct domain model first(from the requirement analysis) then from there build object model and datamodel(object model and datamodel need not depends on each other, for any mismatches between these models can be addressed in OR mapping)
 
Muhammad Asif
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lakshman,


I am thinking of following the larman approach where i can define the conceptual model and then based on that model define my classes.

My class diagram will be refined after i finalize my sequence diagram.

Regards,
 
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic