The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
1answer
291 views

Relation between objects

For a few weeks I’ve been thinking about relation between objects – not especially OOP’s objects. For instance in C++, we’re used to representing that by layering pointers or container of pointers in ...
2
votes
3answers
193 views

Should POCO domain classes contain collections?

The question title is not good, but I couldn't think of a way to word it better. I am used to develop using POCO classes in my projects, that is, domain objects contain absolutely no logic, only ...
2
votes
2answers
153 views

MVC: “User” model gets big and crowded. Should methods that do CRUD operations on one-to-many relationship data be in different models?

In most MVC web projects there is a User class. Many times a user has something else in a one-to-many relationship, i.e. orders. If we have a user class that has many orders, should methods that add, ...
1
vote
1answer
102 views

Need help modelling a User/Project/Task relationship

So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how these relationships would work. I have a Project, Task and User model. A User can own a Project or ...
2
votes
1answer
168 views

REST Relationships Besides Parent/Child

This would seem to be a pretty basic question, but I can't seem to find appropraite guidelines for it. What is the "restful" way of POSTing a relationship between two entities that are not necessarily ...
9
votes
5answers
329 views

What are some possible interactions between multiple bugs? [closed]

I was thinking about how two bugs could interact with one another. The only relationship I can think of is one bug being the cause of another. What other interactions between multiple defects are ...
3
votes
1answer
167 views

Database Schema for Pricing Products (packages, promotions, qty based, limited time offer…)

I'm working on a new point of sale for a company that products for different prices depending on the product mix. All products have a base price. To explain my problem, I will use the following ...
3
votes
1answer
139 views

Database Design - Optimise Relationships

I am about to embark on a redesign of an application, one where querying the database is particularly annoying. I intend to redesign the database as much as possible but the data shape cannot change ...
0
votes
1answer
99 views

Keyword Collection, ManyToOne or OneToMany relationship?

I hope this is the right place for this type of problem. An Object of my class Movie can have several keywords ( like 'fight club', 'brad', 'fincher'), and be part of different categories (like ...
4
votes
1answer
249 views

What is the name of this relationship between objects?

Different types of dependencies have particular names, such as linear dependency, circular dependency, self-referencing object, etc. What is the name of the dependency where those rules are true? A ...
1
vote
3answers
5k views

Relationship DAO, Servlet, JSP and POJO

I want to implement a JSP, POJO, DAO and Servlet in my J2EE program. However, I don't fully understand how the relationship between these elements should be. Is the following (MVC) setup the right way ...
-2
votes
1answer
154 views

Performance impact of not implementing relationships at the database level? [closed]

Let's imagine a data model with customers and invoices. There is a 1 to n relationship between a customer and its invoices. We uses an ORM (like Hibernate). One can explicitely implement the 1-n ...
2
votes
1answer
148 views

How do you map members and their responsibilities to an organization? [closed]

I'm working on a Django project that tracks arts-related activities, and I'm stuck on the human-resources part of things. (code below) I have a class Ensemble that subclasses Organization. ...
3
votes
2answers
1k views

Rails and Mongoid best way to implement sharing system

I have to model User and Board in rails using mongoid as ODM. Each board is referenced to an user through a foreign key user_id and now I want to add the ability to share a board with other users. ...
5
votes
5answers
220 views

Value of maintaining debug outputs

A developer on our team litters his code with debug outputs. He passes many parameters into methods that are only used for debugging. Personally I find this clutters up the code. If I need to debug ...
0
votes
3answers
1k views

Master, Slave: Politically Correct Version [closed]

What other tech synonyms are there for a master-slave relationship? The situation is a knob that controls other knobs, or a button that controls other buttons.
-1
votes
3answers
295 views

Basic Database Relationship Advice? [closed]

I am finding it difficult to get together in a single place the different types of relationships used for different things and would like to find out which I have correct and incorrect and the proper ...
10
votes
4answers
2k views

I had a bad job interview, but still got the job. How do I handle the relationship with my new manager?

I participated in a set of interviews for a position in which I was hired recently. During the interview process I was interviewed 6 seperate times. 3 technical interviews and 3 situational / ...
36
votes
14answers
1k views

How to improve relationships between consultants and staff programmers

I have been a consultant for a small software consulting firm for quite some time now. Our normal business model is not staff augmentation, but such that we find clients who need assistance in ...
16
votes
4answers
616 views

How to dissuade a customer who just learned a technology and wants to use it everywhere?

My customer recently discovered what is URL Rewriting, without completely understanding what it is, how it works and the pros and cons of it. Now, he asks for lots of strange changes in actual ...
6
votes
8answers
666 views

How to have an improved relationship with recruiters?

I personally, always have problems with recruiter's and their constant spam.. I usually get tons of emails for jobs, not related to what I do. Or they have no idea what I do. Or they say they have ...
33
votes
11answers
2k views

Are there any downsides of 2 developers getting married? [duplicate]

Possible Duplicate: What are the pros and cons of having a life partner from the same field? I remember that in my first year at college, the professor told us that his wife is also a ...
14
votes
10answers
1k views

How do you bridge the generational gap between managers and developers?

Typically, managers tend to be older and have more experience than the developers working under them. While young developers are often more knowledgeable about "newer" technologies/patterns (like ...