Skip to main content

All 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 ...
Camo's user avatar
  • 133
1 vote
1 answer
79 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 ...
Sandrooco's user avatar
  • 111
1 vote
2 answers
454 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 ...
Vincent's user avatar
  • 383
-1 votes
1 answer
202 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 ...
theGamblerRises's user avatar
1 vote
3 answers
217 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 ...
Dennis's user avatar
  • 8,247
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 ...
Carlos's user avatar
  • 119
3 votes
0 answers
351 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 ...
user7610's user avatar
  • 429
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 ...
Ophir Yoktan's user avatar
3 votes
5 answers
611 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 ...
danludwig's user avatar
  • 1,768