Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 197447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:51:13+00:00 2026-05-11T16:51:13+00:00

…what’s next? After you defined what actors do what actions, which way do you

  • 0

…what’s next?

After you defined what actors do what actions, which way do you go? Do you model the database or do you prefer to start with the classes?

I thought the better approach was to start with a class-like modelling diagram, to focus on relationships between objects.
This has proven to be wrong because I went too deep in detailing classes and, even if the system “seemed to work”, when I went to the database modelling, everything just would not fit naturally in the positions I chose in the previous phase.

I read about people saying that one should put application logic into a database and leverage its speed in retrieving data, opposed to building large objects in memory that are queried and provide abstraction of the underlying database.
I always thought that the db is there to store my data and provide a fast way to access it. But maybe I’m wrong, I mean, do I really have to build a database which has inside the same logic I would put on a group of classes? Isn’t the database lacking the tools to achieve this?

I think I’m failing in identifying the right point where to start, if I choose to start with the database I find it hard to not just think of it as a “place to store my data, let’s do app logic on a higher level” thing, if I start with classes the database ends up looking like an unnatural representation of classes, i feel the sensation of missing something important, something like not assigning the right purpose to the right tool.

How do you deal with this?
When it comes to decide whether to start with modelling the db or the classes, in your experience, what kind of approach has proven to lead to a natural and clean implementation ?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:51:13+00:00Added an answer on May 11, 2026 at 4:51 pm

    I’ve had success using Robustness Analysis.

    This article focuses on robustness
    analysis, which involves analyzing the
    narrative text of use cases and
    identifying a first-guess set of
    objects that will participate in each
    use case, then classifying these
    objects into three types:

    1. Boundary objects, which actors use in communicating with the system.
    2. Entity objects, which are usually objects from the domain model
      (the subject of “Driving Design: The
      Problem Domain,” Jan. 2001).
    3. Control objects (which we usually call controllers because they
      often aren’t real objects), which
      serve as the “glue” between boundary
      objects and entity objects.Figure 1
      shows the visual icons for these three
      types of objects.

    The entity objects are the ones that (usuallly) end up in the database/

    On mapping between classes and the database, I would recommend S.Lott’s article on “The ORM Problem” (he’s also a participant on StackOverflow

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

CGI.escapeHTML is pretty bad, but CGI.unescapeHTML is completely borked. For example: require 'cgi' CGI.unescapeHTML('…')
I have an element like this: <span class=tool_tip title=The full title>The ful&#8230;</span> This seems
I am currently running into a problem where an element is coming back from
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
what about this one: I want to format the currentTime displayed by a videoPlayer
English is not my native language. I need a software to spellcheck and correct
I have been making a wordpress template. i got stuck at some place... the
I have the following problem: I am given a tree with N apples, for
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have a MySQL query: SELECT px.player, px.pos, px.year, px.age, px.gp, px.goals, px.assists ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.