All Questions
8 questions
0votes
1answer
83views
Creating Controllers and Repositories without corresponding Models
I have to create a system to interview people on a few topics where they have to answer both objective and discursive questions, where questions may change between interviews. I structured the ...
0votes
2answers
138views
design discussion, user experience first or correctness first in our case
We are discussing the system configuration module design in our Java medical device software. The system has a voice instruction function used to guide patient during the examination. Different ...
3votes
3answers
257views
How can I mark one of a 1:n relation as the "default"?
I have an "easy" question, but since I am not a very experienced programmer I would like to hear what some of you have to say. If I have for example a Db called MyDb with many tables. Two of them are ...
8votes
4answers
18kviews
Can anyone explain this one-to-one, one-to-many, many-to-one, many-to-many concept with respect to ORMs?
A lot of ORM sites and SQL tutorials mention these relationships as if they are obvious or to be taken for granted, but I don't fully understand why the distinctions need to be made. Consider two ...
1vote
0answers
92views
Creating duplicate instances of objects for timeline functionality
I am working on a Spring-MVC based project, in which I would like to add Timeline functionality. The most important object in our project is the Note, there are objects associated with it like ...
7votes
3answers
301views
How to model and store an entity which has "one or more" values
I'll use C# to design the model to be persisted Let's suppose I have the following entity: public class Episode { public int Id { get; set; } public string Title { get; set; } public ...
1vote
1answer
275views
Advice on designing a robust program to handle a large library of meta-information & programs
So this might be overly vague, but here it is anyway I'm not really looking for a specific answer, but rather general design principles or direction towards resources that deal with problems like this....
3votes
1answer
1kviews
Domain Driven Design with an EAV database model
How can one apply DDD to a EAV database model? Consider this EAV database model: How am I supposed to build a domain model if all my entities and their attributes will be stored in the database? ...