The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
62 views

DB modeling for staffing demand and supply

TL;DR - I'm looking for guidance with my database design. I am concerned that my existing design is inefficient and won't be able to handle large numbers of employees. This is going to be long, so ...
0
votes
1answer
70 views

Allow entities owned by one user to be referenced by other users' entities

I am working on an Asp.NET MVC web application. I have the following (simplified) entities: public class Course { public int Id { get; set; } public string Name { get; set; } public ...
2
votes
1answer
391 views

Nested objects in REST

I have simple set of resources, not more than 10 types, with some one-to-many relationships. For example An order has many entries An entry has many comments A machine can have multiple entries ...
1
vote
2answers
159 views

Should a Parent with Children have a DefaultChild, or should a Child have a Default property?

Which of the following two models makes more sense? I'm leaning towards the first one because there can only be one default child. The examples are in C# but I think it can apply to other languages ...
1
vote
1answer
205 views

How do you handle domain logic that spans multiple model objects in an ORM?

So I know that business logic should be placed in the model. But using an ORM it is not as clear where I should place code that handles multiple objects. E.g. let's say we have a Customer model which ...
1
vote
2answers
87 views

Model Driven Architecture Approach in programming / modelling

I know the basics of the model driven architecture: it is all about model the system which I want to create and create the core code afterwards. I used CORBA a while ago. First thing that I needed to ...
2
votes
5answers
332 views

object model and data model

I have heard/read mixed things on whether to start with an object model or a data model. And more people say to starting with an object model as it will ease your data modelling. My question is, ...
0
votes
1answer
73 views

What's the difference between model for test and model for development?

What's the difference between model for test and model for development? Is it that the model for test contains only what we should test? Do we use the same diagrams in model for test and model for ...
1
vote
3answers
311 views

Should we include external systems in Class diagram?

I want to draw a class diagram that shows the following for an application: An external content management system that publishes some news items. The class that represents the news item in my ...
12
votes
7answers
495 views

Patterns for propagating changes up an object model..?

Here's a common scenario that's always frustrating for me to deal with. I have an object model with a parent object. The parent contains some child objects. Something like this. public class Zoo { ...
3
votes
3answers
417 views

How does accumulating large amounts of business logic on the model objects make building strong service contracts harder?

I heard a couple of times that putting business logic in database models is bad down the road. I just read this in blog of a Rackspace employee: The Django ORM also tended to have us accumulate large ...
2
votes
2answers
167 views

Best practice mapping an external id on my system

I've done some searches for "id mapping" and "external id mapping" and I can't find anything meaningful on the site or google, so, here's my question/scenario. I'm developing an application which ...
1
vote
1answer
1k views

What is the difference between UML Data profile and ER model?

I have been asked this question and even after a lot of research, I cannot find the answer. When I design a database using Entity relationship (ER) and then re-draw it as UML class model (extended ...
0
votes
2answers
116 views

Bucketing model by time

I have a model which has timestamped entities. Now I want to do bucketing - "buckets" of entities which can be reasoned about a single entity. Also I want to be able to access related entities from a ...
4
votes
1answer
99 views

Testing my model for hybrid scheduling in Embedded Systems

I am working on a project for school, where I have to analyze the performances of a few fixed-priority servers algorithms (polling server, deferrable server, priority exchange) using a simulator in ...
1
vote
0answers
105 views

UML activity diagram: How to end activity after Event Signal Action?

To my knowledge, event signal actions are not allowed to have output control flow, so how can I model the end of an activity after a event signal action? The same issue arises for accept event actions ...
1
vote
1answer
210 views

Merge two different API calls into One

I have two different apps in my django project. One is "comment" and an other one is "files". A comment might save some file attached to it. The current way of creating a comment with attachments is ...
3
votes
4answers
375 views

How to model an arbitrary number of types

I'm currently in the process of modelling a generic form of RNA and RNA transcription and I'm having difficulty finding a proper OO modeling of this area. Human RNA has 4 types of Nucleotides (A, G, ...
3
votes
1answer
117 views

Modelling REST endpoints with data that not all users have access to

I am trying to figure out the best way around a small problem i have with a design for a Hypermedia API i am currently building. I have a notion of a site, very simple doesn't have much going on and ...
-2
votes
1answer
112 views

Book recommendation and advice on Analysis Patterns: Reusable Object Models [closed]

I am a software developer, and have knowledge of oo design, e.g. SOLID, and looking for a good book on object-oriented modeling. Is the book below still good to read? Analysis Patterns: Reusable ...
2
votes
1answer
3k views

Adding base-class (inherited) functionality to classes that you don't control

I have a set of classes from a 3rd party library. These classes use an inheritance structure to share logic. I would like to add a layer of abstraction in the middle of their inheritance tree to add ...
2
votes
1answer
67 views

Modelling a resource that may not be part of the parent resource

I am designing an API and am having a couple of problems with certain parts of the resource modelling. I have the notion of a SurveyItem which as a collective form a Survey: Survey Resource ...
0
votes
2answers
326 views

Use Case Diagrams - should I create a diagram just for a view business rule? [closed]

I'm modeling a UCD where I have two actors ( a content producer and a developer).. the content producer is going to create and specify details of a storyboard functionality, and the other actor ...
0
votes
1answer
307 views

How to construct UML activity diagram reflecting real programmed source code as docs

Please, tell me the things I must use for modeling an (Enterprise Architect) activity diagram of object1.method1() calls object2.method2() I'm able to dragndrop a method of a class from model ...
2
votes
2answers
911 views

Software Architecture Modelling

I am a little confused at how best to visually model a space-based architecture (SBA) for presenting the system/software architecture design to a client. The goal of this modelling is to show: The ...
2
votes
3answers
283 views

UML modelling semantics

In today's lecture about Modelling techniques with respect to MDD using UML the lecturer stated that it's absolutely necessary to give a (possibly) textual description about the semantics of each ...
1
vote
1answer
2k views

How to model/structure data that contains parent/child relationships for the same entity?

I think it is just my thinking that is off here. Suppose I have two entities: question and choice. A question can be a parent or child, or both (in relation to other questions). It seems that this ...
1
vote
4answers
90 views

Separation of Concerns While Creating a Generic Concept of a “Cart Item”

Pretty simple setup: I've got a Cart and the cart has Items. I've got many varying types of "products" that can't really be boiled down into one thing or even a common ancestor, so I've instead ...
3
votes
2answers
1k views

Is there a better way to model a many-to-many relationship on the same table with Entity Framework?

The context We're building a web application using Entity Framework 5.0. One of the requirements is that it should be possible for the administrators to link related products so that when someone ...
4
votes
1answer
248 views

Text Editor Document Model

I am working on a text editor in javascript. I have created the front end and i need to prototype a backend. I need to model the structure of the document using this as hierarchy: Character , Word ...
3
votes
2answers
136 views

Does this situation call for well specified associations, single table inheritance, or polymorphic association?

I'm building a web-app where users can keep track of who owes whom money. I have users and debts. Given a user I want to be able to find out all the debts to other users, and all the loans to other ...
0
votes
2answers
242 views

Help to simplify/model complex decision making (if, then, else scenarios)

I find my self in a situation, where I need to program a service, that can determine if two object in a huge database are the same. For simplicity, let's say it's used cars, and I want to determine if ...
5
votes
1answer
469 views

Can I use Visual Studio 2010 Architectural features to enforce design on code, without feature packs?

I am studying Visual Studio 2010's architectural tools for application lifecycle management. After we have sketched some modeling diagrams, we wonder now how should be the natural workflow to convert ...
0
votes
1answer
256 views

Is there a way communicate or measure levels of abstraction?

I'll be the first to say that this question is a bit... out there. But here are a couple questions I bear in mind : Is abstraction continuous or discrete? Is there a single unit of abstraction? ...
0
votes
2answers
67 views

Advice on reconciling discordant data

Let me support my question with a quick scenario. We're writing an app for family meal planning. We'll produce daily plans with a target calorie goal and meals to achieve it for our nuclear family. ...
1
vote
5answers
1k views

Is it Considered Good SQL practice to use GUID to link multiple tables to same Id field?

I want to link several tables to a many-to-many(m2m) table. One table would be called location and this table would always be on one side of the m2m table. But I will have a list of several tables ...
2
votes
2answers
234 views

how to model this relationship ? in ERD

I have three entities : Technician Vehicle Repair The question is how to model this in ERD? Knowing that a technician can repair multiple cars, and the same car can be repaired by one and only one ...
1
vote
2answers
375 views

How show Attributes which appear In Many To Many association

As we know a many to many association are shown by two asterisks in both end of association. Now I have a association between two entities "Good" and "Invoice" so Good and Invoice have a many to many ...
5
votes
6answers
509 views

Should a domain expert make class diagrams?

The domain expert in our team uses UML class diagrams to model the domain model. As a result, the class diagrams are more of technical models rather than domain models (it serves of some sort of ...
2
votes
1answer
1k views

Is my sequence diagram correct?

NOTE: I am self studying UML so I have nobody to verify my diagrams and hence I am posting here, so please bear with me. This is the problem I got from some PDF available on Google that simply had the ...
1
vote
1answer
1k views

Is my use case diagram correct?

NOTE: I am self studying UML so I have nobody to verify my diagrams and hence I am posting here, so please bear with me. This is the problem I got from some PDF available on Google that simply had the ...
1
vote
1answer
396 views

Showing user and userinterface interaction on a sequence diagram

I need to draw a sequence diagram and I am not sure exactly if it is correct to show interaction between user and user interface in this diagram. For example I want to make a panel visible or ...
2
votes
1answer
513 views

Is my DFD accurate?

This is my first ever DFD that I made after my fair share of learning but I have no way of verifying whether it is correct or not. Although I have taken utmost care to make sure it is right, I may be ...
6
votes
1answer
210 views

Tools for modelling data and workflows using structured text files

Consider a case when I want to try some idea of an application. But I want to avoid investing a lot of effort in coding UI/work flows/database schema etc before I see that it's going to be useful to ...
1
vote
1answer
160 views

UML Receptions and AcceptEventActions

What shall be the relationship between the receptions of a class (was classifier before Aadaam correction) and the AcceptEventActions in the activity describing the behavior of its instances? I ...
1
vote
1answer
260 views

UML Actions with object and control flows

Consider a UML Action contained in a UML Activity defining the behavior of a classifier. Such Action has three input pins connected to other output pins of different action by means of object flow ...
3
votes
1answer
308 views

What are the main differences between FUML and the Executable UML profile?

I'd like to know what are the main difference between the Foundational Subset for Executable UML models and the Executable UML profile (which followed the Schlaer-Mellor methodology). Thank you
0
votes
1answer
194 views

Is ATL a deprecated language?

I currently developing some M2M-transformations with the Atlas Transformation Language (ATL). During studying the language constructs and properties I have often read, that ATL is a prototype for ...
6
votes
5answers
334 views

How to model the components of a non Information System?

I am working on a kernel-related project (specifically related to the TCP/IP stack of the kernel). I need to build some models to describe the functionality and components of my system. Initially I ...
3
votes
1answer
157 views

Data/Object Design Problem

Goal: I'm trying to figure out the best way to model/design and then implement a "user" feature in a system. Background: I am designing an on-line access request system, so our company can use a ...