All Questions
Tagged with data-modeling design-patterns
9 questions
3
votes
2
answers
3k
views
Design patterns for processing/manipulating data
Sometimes when I write a class or piece of code that has to deal with parsing or processing of data, I have to ask myself, if there might be a better solution to the problem.
Example 1:
In a recent ...
1
vote
1
answer
80
views
KPI Module structure
My plan's to develop a module for easy customer KPI handling across projects.
It should consist of a small SDK to put 2-3 lines of code in the project, a "template"/model for a SQL table (code first ...
1
vote
2
answers
485
views
How to update a model with dependencies
I'm having a bit of a hard time figuring this out. I have a model (which you can see in the image below) this model can be changed (it won't happen often, but it can). When it changes I do not get the ...
-1
votes
1
answer
218
views
How to design and store life cycle or states for a Java entity bean?
In our application, we have a pojo mapped to some entity. One pojo refers to one entry in DB. There are multiple steps for it's life-cycle. It gets created freshly, it goes 'live', after some ...
1
vote
3
answers
219
views
How can I model IS-A relationship on a ledger, when having different classes of products?
This is a question on how to model database entities and relationships when it comes to storing persistent data and dealing with differently-handled types of products.
Use Case
Company sells various ...
1
vote
2
answers
1k
views
Implementing a NoSQL and RDBMS compatible DAO
What would be the correct way to design a DAO which implementation is first going to be targeting a MS SQL database with a STAR model, but yet, business requirements specify the application must be ...
3
votes
0
answers
353
views
Lightweight data modeling vs traditional classes [closed]
I've heard a lot of talk about using lightweight data modeling as of late. Especially in relation to the Clojure programming language. What is it and how it differs from traditional classes regarding ...
2
votes
4
answers
1k
views
How would you model an objects representing different phases of an entity life cycle?
I believe the scenario is common mostly in business workflows - for example: loan management
the process starts with a loan application, then there's the loan offer, the 'live' loan, and maybe also ...
3
votes
5
answers
619
views
In a "Revisional Data Model," where does code that preserves a previous record's state belong?
When I say "Revisional Data Model", I mean a data model where information is never lost: Deletes never destroy any rows, and updates always cause an insert somewhere else to preserve a row's previous ...