Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [modeling]

The tag has no usage guidance.

0
votes
1answer
61 views

How to model either relationship?

I am working on a project where a user can send email to either a contact from his directory (Internal) or type an email address explicitly (External Contact) or a mix of both. We also show the read ...
0
votes
3answers
91 views

In which case will a token from an activity join node be rejected?

In an UML activity diagram, join nodes synchronise concurrent flows by regulating the flow of tokens. The UML specifications foresees that tokens can be rejected. Section 15.3.3.4 Join Nodes says: ...
1
vote
1answer
35 views

“join node” and “fork node” for a single branch in UML

Section 15.3.3.3 of UML specification says: Fork Nodes A ForkNode is a ControlNode that splits a flow into multiple concurrent flows. Also 15.3.3.4 says: Join Nodes A JoinNode is a ...
5
votes
1answer
109 views

How “selection behavior” works in UML?

After two hours reading/searching in about examples and usages of selection behavior of object flows, I guess that selects all tokens which satisfy a criteria (like a query) and this can change order ...
0
votes
1answer
40 views

offering multiple tokens at the same time in Activity diagram

UML specification says: If multiple tokens are offered at the same time, then the tokens are offered in the same order as if they had been offered one at a time from the source I want to know "...
2
votes
1answer
73 views

Modeling request/response in domain driven design

Say I have a class of User and that user has an Id & Name, in request response modeling, I would make a request with Name on it and a response with Id and Name, thereby my domain model would be ...
0
votes
3answers
166 views

Base class responsibility

can base class contain protected methods that are not to be used by all descendant classes? I have this situation: EntityA: has some methods that handle activities EntityB: has some methods that ...
1
vote
1answer
65 views

Handling generic and specific implementation

Normally we have some code that is common for many (if not all) derived classes. An example would be a generic repository (where I could have a generic Add, Remove, Count, Max, Load etc, or a generic ...
-1
votes
1answer
67 views

Is there unified methods for system modeling?

There are tons of courses and tutorials about specific technologies and programming languages such as: JS, HTML, Python, etc. However, the field of system analysis lacks the same attention that ...
-4
votes
2answers
69 views

minimalistic software modeling standard as a replacement for UML

I've been using UML 2.x for several years and it really worked for Object-Oriented languages like C# and Java especially when the software was big enough to be considered an enterprise-level system. ...
1
vote
1answer
84 views

How can I model unknown and an unknown number of attributes on an object?

My example might be slightly contrived, because I've modified it so that the project isn't recognizable by my employer. I'm a newer developer at a very small company. We have an object - Posts - that ...
4
votes
2answers
241 views

Best diagram to show relations between several applications

I'm currently an intern at a company. For my intermediate report I Received some feedback about displaying the relations between multiple applications. So in my image all 3D rectangles are a deployed ...
1
vote
2answers
124 views

Are repeat, forward, rewind and stop extending usecases of the base usecase “Play Music” in a music player?

I am confused in a scenerio, where i have a music player that has a music playlist. I need help on the following usecase of the music player. Title : Play the music playlist Precondition: ...
-2
votes
1answer
63 views

Model component with self dependency

It would be my first system modelling so I am not really familiar with component diagrams. I know that I can use class instead of interface I just did not not attached to the component instead of the ...
0
votes
0answers
231 views

Class Model Diagram vs. Concept Class Diagram?

In the requirements engineering process of gathering requirements, etc., models are used to depict the relationship between various entities. The two mentioned models are just two but I'm trying to ...
2
votes
1answer
95 views

Use case causes other use cases

I am making this independent drone control system that a user can start and stop. When the program is started, the connected drone takes off, hovers, and turns to face the other side. At first I ...
3
votes
2answers
177 views

Use Case Diagram

I'm not sure if my diagram is correct, is it ok to have this number of include relationship? Note: My system scenario: user go to web page and enter any Twitter user account, then my system will ...
2
votes
2answers
110 views

Designing for the validation of phone numbers

Let's say we have a registration system that finalises the creation of an account by SMSing the user their new account details. This system could be used by people all around the world, so let's say ...
-2
votes
1answer
107 views

Modeling sprint and ticket in DDD

I'm trying to learn DDD/CQRS in a hobby project. And have no prior experience. In this project I use MongoDb as a read db and EventStore as a write db. I'm building a simple 'Sprint board' ...
2
votes
1answer
33 views

Advice on AggregateRoot boundaries

I am confused on how to apply DDD principles for the design of domain entity clusters with Aggregate Root. According to my understanding, Aggregate Root enforces business validations and all entities ...
12
votes
6answers
2k views

When is Primitive Obsession not a code smell?

I have read plenty of articles recently that describe Primitive Obsession as a code smell. There are two benefits of avoiding Primitive Obsession: It makes the Domain Model more explicit. For ...
-3
votes
3answers
417 views

What is a proper diagram to describe software architecture

I wonder if there are well accepted/standardized types of diagrams to describe the architecture of a software implementing for example a Clean Architecture. With software architecture, I mean a set ...
3
votes
4answers
404 views

What is the benefit of encapsulating a collection inside a class?

Please see the code below: public class Customer { private readonly IList<Order> _orders = new List<Order>(); public string FirstName { get; set; } ...
-3
votes
2answers
259 views

How to model infinite non-linear combination? [closed]

Let L be an ordered set of positive integers (for example, the set of all primes). Here, #L = infinity, and N is a positive number serving as an upper limit. Goal is to list the following set M: M =...
20
votes
5answers
2k views

What are the benefits of modeling software systems vs. doing it all in code?

Most, if not all IT people I know believe that it is beneficial to model software with UML or other types of diagrams before coding. (My question is not about UML specifically, it could be any ...
1
vote
0answers
88 views

How can I derive class responsibility cards from a use case description? [closed]

I am developing a roster scheduling system. Given a use case description, how can I create class responsibility cards? Here is my use case description: Use Case: User input operator requirement ...
1
vote
0answers
143 views

How to decompose workflow's node classes DDD-way?

System model has Workflow container class, instances of which may contain subclasses of the Node class, specialized for different behaviors (eg, Initial, Intermediate1, Intermediate2, Final). There ...
-2
votes
1answer
136 views

What is the most appropriate standard for modeling B2B integration

This question might seem too broad, but I really need help with this. I am required to choose a standard or notation to model an integration between two business processes, one of which is external. ...
2
votes
1answer
80 views

Adding behaviors to models without interference

This is my situation: Models can contain properties which can be models themselves. Each property can have custom behavior, this behavior must be selected through its name (for example: Versionable, ...
6
votes
4answers
549 views

How to design an unpredictable model?

I have been working on a project that deals with, let me simplify, Schools and Students. The general requirement is that certain Students could be assigned to certain Schools to work an internship. ...
4
votes
3answers
107 views

Modeling content management domain

The domain is more or less straightforward — I have an article (or rather several types of articles) that I want to edit and publish. Published article is exposed through an API to public. The thing I ...
16
votes
5answers
651 views

Did the need for software design specification significantly decrease with the evolution of more expressive programming languages?

For many IT people, including myself a few years ago, the ideal software development process would involve the creation of detailed design documents with lots of UML diagrams before a line of code ...
-1
votes
2answers
292 views

Does a data flow diagram seem correct when one external entity is connected with too many arrows?

I am trying to model a data flow diagram in accordance with a requirement document. The document calls for a system with many roles that users can play, where it needs constant information exchange ...
0
votes
0answers
60 views

Visual design of Command - Event model

TL;DR I am looking for some advices in visual modeling commands and events of business process. For several weeks I, my team and some business-responsible members try to figure out how our domain ...
0
votes
1answer
52 views

Do I have to state the value of elapsed time in state-charts?

I am modelling a system that requires a state-chart before implementation. Given These Images: Main Questions: Can I use the word "Elapsed Time" if I do not know how long it will take to finish the ...
4
votes
3answers
826 views

Who are the domain experts?

In Domain-Driven Design much is said about the domain experts. They are the ones who knows about the domain, and which should be in contact with the developer in order to build the ubiquitous language ...
6
votes
2answers
414 views

Are there any reasons NOT to use modular design? [closed]

Engineering is typically the art of knowing what solution fits best to the problem. If I were asked such as Should I use singleton classes?, Should all database have views and triggers?, What is the ...
1
vote
0answers
138 views

Access to the leafs of Composite pattern Java

I have some question about the Composite pattern. I have implemented a model like these: Element is an abstract class, RegexElement is the "primitive", a sub class of Element and RegexBlock, the real ...
4
votes
2answers
201 views

How to reconcile these two requirements?

I'm developing a system on which there are two requirements that seems to be in conflict. Since this seems to be a situation that can be more general, I thought it to be valid to ask here. The system ...
15
votes
1answer
1k views

How do I represent nested actions in a UML activity diagram?

This question is very similar to this one, but the answer doesn't match my needs. It's focused on a specific UML tool (Papyrus) whereas my question is more general about UML. I would like to ...
5
votes
1answer
373 views

Elements of structure in a functional program

In object oriented, we have requirements, use cases, and UML which can form a nice conceptual framework. The goal there, is to define objects, their responsibilities, behaviors and communications ...
0
votes
2answers
2k views

How does two-way data binding differ from simple auto-sync?

The AngularJS documentation mentions that it considers one-way data binding to be 'bad' and two-way data bind to be 'good*'. However, on looking over the definitions of two-way data binding used, all ...
57
votes
8answers
7k views

Should a developer do UI mockups if there are no designers in the project?

I'm working with a small team that creates a proprietary web application and UX isn't much of a priority since our own people will be the ones operating it, but we do try to make their jobs easier. ...
0
votes
0answers
458 views

Modeling a cookbook recipe with django

I'm trying to model recipes in a cookbook. Here's what I have so far: class Recipe(models.Model): title = models.CharField(max_length=255) class Ingredient(models.Model): class Meta: ...
-2
votes
1answer
88 views

What is an element of a schedule called? [closed]

I have a question about software modeling terminology, when modeling time. Say you have a repeating schedule MWF 4-5 p.m. What do you call Monday 4-5 p.m.? What's the term for that? using System; ...
3
votes
1answer
174 views

Is there a standard for this type of component diagram?

Came across this open source project called fruit. In the documentation are some diagrams of the code. Here is an example from the tutorial page: Is there a standard for this type of diagram or is it ...
0
votes
2answers
261 views

my software model has some kind of cyclic dependency

I need a recommendation about my software model. I think it is not that good, since there is some kind of cyclic dependency. I have an OSGI bundle under Kura application framework, here are the ...
14
votes
2answers
4k views

What are functional programmers using in place of UML?

I'm CS student. I am currently attending lectures, where we're taught Objective Analysis and Design. It consists mostly of writing use cases, analysing the problem that we can face when writing some ...
1
vote
1answer
291 views

shopping system cart problem with stock [duplicate]

I'm trying to implement a little shopping system. I have a single product which has a limited stock. For example, my product can be bought 5 times. My problem is, if a user adds this product to his ...
0
votes
1answer
70 views

Software architecture entity connections [closed]

For learning purpose I want to create an app. So I thought I will do something real easy to learn a lot about object oriented programming and modelling. After some thinking I had the idea to do a ...