Skip to main content

Questions tagged [modeling]

Creating and manipulating abstract representations of a problem or of software elements for the purpose of facilitating the understanding, reasoning, and solving of the problem.

Filter by
Sorted by
Tagged with
1 vote
0 answers
47 views

BPMN: How can messages cross sub-process borders?

I need to send messages from within a subprocess. Now I read about the booking example and boundary events to and fro. But I am missing the concept how to pass information into and out of a sub-...
MaK's user avatar
  • 87
-1 votes
3 answers
162 views

Mixing up UML and non-UML diagrams

When designing a data-intensive software, or any kind of software, regardless of the platform, is it appropriate to mix UML and non-UML diagrams together in the design document of the software? For ...
Acemad's user avatar
  • 115
1 vote
0 answers
95 views

For a refactoring tool, are I/O operations part of the core domain?

I'm working on a refactoring tool that makes necessary adjustments to a Rust project when moving a source file from one location to another. Quick Explanation In Rust, source files are known as "...
verified_tinker's user avatar
4 votes
4 answers
2k views

Does the signature of a method create a dependency between the implementation of that method, and the code that invokes it?

I am reading Ousterhout's A Philosophy of Software Design. In Section 2.3, Outserhout writes: The signature of a method creates a dependency between the implementation of that method and the code ...
user3899725's user avatar
0 votes
0 answers
44 views

How can a task in a subprocess send a message to another participant?

I originally posted another question including this one. But for understandable reasons I was asked to split it up. So the set up is this: I am Participant 1 and go (process simplified) through a sub ...
MaK's user avatar
  • 87
0 votes
0 answers
51 views

Can BPMN boundary events on subprocesses communicate in either direction?

My old post (which is hidden and will anyway be deleted by me later) seemed to cause confusion, so here is a new - hopefully clearer - question. Thanks for your feedback @ JimmyJames, Jörg W Mittag, ...
MaK's user avatar
  • 87
0 votes
1 answer
131 views

A Case Study Dataflow Diagram

From the book Essentials of Systems Analysis and Design by Joseph S. Valacich, Joey F. George, Jeffrey A. Hoffer, we have a study case, with the following 0 DFD : This diagram raises the following ...
AAA's user avatar
  • 43
0 votes
0 answers
36 views

How to handle events in workflow orchestrator?

I am working on building a workflow orchestrator (like Camunda). It has nodes of type event. This represents a message has been received in the kafka topic which the orchestrator is listening to. The ...
Gopikrishna K S's user avatar
5 votes
2 answers
563 views

Associations and References in UML Class Diagram

Is it possible to have an association without explicitly indicating the reference attributes in the participating classes in the UML class diagram? For example, consider this example : We can see ...
John adams's user avatar
2 votes
2 answers
111 views

BPMN - I think I need to split up a pool (consumer-provider-situation)

I thought this might be a thing to happen regularly, but I might be wrong. I have a process that is quite clear in its structure. But: We are in a multi-provider environment and at the very beginning ...
MaK's user avatar
  • 87
0 votes
4 answers
324 views

Should I model constraints which are valid, but which have no current function in the domain?

When domain modelling, should a valid constraint - or "natural" constraint - be modelled, even if there are no current business processes which rely on the constraint being asserted. As an ...
Kyohei Kaneko's user avatar
1 vote
2 answers
149 views

Orchestrator (like Camunda) between frontend and backend?

I have the following use case. We have both a frontend application and a backend application. Earlier, events on the frontend application directly call the backend application. Now we want to ...
Gopikrishna K S's user avatar
0 votes
1 answer
133 views

Deriving entities in different domains from one DB table

Let's say I have a table for storing users. In this table, I have data like id, name, address, bank account and birthdate. Also, I have two domains in my codebase; in one of them, I need a user entity ...
Bernardo Benini Fantin's user avatar
1 vote
1 answer
360 views

Rest API Layered Architecture Java / Spring / JPA

Currently, all REST applications I work with have a three-layered architecture: Persistence -> Contains "entity" classes with JPA annotations / Spring Data JPA repositories Core -> ...
Lawrence Beutlich's user avatar
1 vote
5 answers
294 views

Data Modeling: Are technical concepts within a tool that implement a business entity entities as well?

I believe this forum is the correct one for my question, based on the community guidelines but let me know if not. It seemed like the best fit. I am performing a data modeling exercise to formulate a ...
Steven's user avatar
  • 229
2 votes
3 answers
240 views

Is it necessary or "class obsession" (opposite to primitive obsession) to create classes for non-business fields?

I know there are some posts talk about primitive obsession : When is primitive obsession not a code smell?, Is "avoid the yo-yo problem" a valid reason to allow the "primitive obsession&...
wcminipgasker2023's user avatar
0 votes
0 answers
23 views

An IoT client and MVC-based server. Data model with different fields per type?

The problem Let's assume such scenario: List of IoT devices (one model?) Each list item has (among other fields) a type field Depending on the value in the type field, device may report different ...
trejder's user avatar
  • 2,406
3 votes
2 answers
568 views

Does UML have a grammar that correlates to its diagrams?

UML is generally taught as a standardized way of diagramming software, however, I've heard recently that there's an actual grammar behind it. I've searched the UML specification and haven't found ...
Visual Studio's user avatar
-1 votes
1 answer
236 views

Is KAOS goal modeling used in the industry?

KAOS is a goal-modeling strategy that is widely taught in the academia. I have seen that almost no known diagramming software supports it except objectiver, which was developed by the same group that ...
Bharel's user avatar
  • 137
0 votes
1 answer
92 views

Design a model for a user

There has been a change in the project I am working on. Until today, there was only one type of user in the system. From the moment you logged in, you had all the information about the user. The new ...
Maor's user avatar
  • 111
1 vote
1 answer
89 views

Modeling properties of related entities

I have the following entity relationship. A {state: ON | OFF} => B {state: ON | OFF} => C {state: ON | OFF} So, in this case, B is a child of A, and C is a child of B. Moreover, they all share ...
salparadise's user avatar
0 votes
1 answer
121 views

UML design for data analytics of aggregated Survey Data

First and foremost, let me say that I do not have a Software Engineering background . I need help from the community as I have been assigned to create a UML (Unified Modeling Language) design from ...
user3115933's user avatar
2 votes
1 answer
714 views

UML State Machine Diagram - How to model an event that occours repeatedly

I'm trying to model the evolution of a player's energy in a game. I have an "alive" state, and a transition to it from the initial pseudostate that has the effect of setting the initial ...
mell_o_tron's user avatar
4 votes
2 answers
1k views

When modeling requirements, how can I depict class diagram attributes whose allowed values are custom defined and in finite number?

I'm drawing the class diagram that depicts the domain model of a system. This diagram is for requirements analysis purposes so it is completely implementation-agnostic. I want to communicate the ...
cidra's user avatar
  • 343
0 votes
1 answer
20 views

Invalidation scheme for high level data models that is based on low level data

There is a saying about the most challenging aspects of software development is "Cache invalidation and naming things". This question is about the former of the two. Though the nature of the ...
Tormod's user avatar
  • 359
0 votes
2 answers
1k views

Front end (or View) classes compared to back end classes

I am developing an E-Commerce Web application using C# (back-end) and JavaScript (front-end) for a computing shop. This application mainly displays each stored computer, and all information about it (...
X Y's user avatar
  • 311
0 votes
2 answers
70 views

What BPMN symbol should I use when a service outside wants a BPMS to run a workflow?

I want to specify in a BMPN model that a workflow starts whenever a specific service outside tells me to. What standard BPMN symbol shall I use for this? Think of it as a company wants to start a ...
Mohammad's user avatar
0 votes
2 answers
607 views

Explicit Modeling Aggregate Root to avoid State Pattern

In the book Patterns, Principles, and Practices of Domain-Driven Design, chapter 16, entities, Avoid the State Pattern; Use Explicit Modeling has brought the great idea of domain modeling to my life. ...
Ngọc Nguyễn's user avatar
2 votes
3 answers
2k views

Where should the user access bounded context stands in DDD and Clean Architecture?

I have seen some Bounded Context examples to learn DDD. In those examples, the User Access bounded context (register, login, authorization...) is considered a generic bounded context and could be a ...
Ngọc Nguyễn's user avatar
6 votes
2 answers
1k views

How to manage data consistency between Bounded Contexts?

The typical example, the e-commerce system. Let's say the Order is in the Sales bounded context. Every Order contains many OrderLine, which stores the ProductId. The Product is in the Product Catalog ...
Ngọc Nguyễn's user avatar
0 votes
1 answer
556 views

Different Aggregate Root States in Domain Driven Design

I have read the Domain Modeling Made Functional book. In the book, the author model the Order in 3 different states: Unvalidated Validated Priced The 3 states have different properties. But it's ...
Ngọc Nguyễn's user avatar
2 votes
4 answers
2k views

A single sequence diagram for the whole system?

Sequence diagrams are used to model use case scenarios i.e., main success scenarios and alternate scenarios. That's what I understand from Craig Larman's book. I understand that it depends a lot on ...
a_fan's user avatar
  • 145
-1 votes
1 answer
136 views

CQRS Domain Driven Design and single save button

This may be a dumb question, but I don't know how to solve this. I am moving from CRUD to Domain-Driven Design with CQRS. I have seen many DDD examples like this. You could find many more on Github. ...
Ngọc Nguyễn's user avatar
1 vote
3 answers
126 views

How to model a time-distributed process in functional programming style?

I'm searching for any formal/generic approach to modeling a process distributed in time with functional programming. Here is an example. Let's implement a very simple notification service. It accepts ...
Anthony's user avatar
  • 149
0 votes
1 answer
1k views

How to represent a duplicate data store in a data flow diagram (DFD) in the Yourdon DeMarco notation?

I am looking for a way to show duplicate data-stores in data-flow diagrams (DFD). With "duplicate" I mean multiple occurrences of the same symbol to avoid too many crossing flows. In Gane &...
Ice's user avatar
  • 43
1 vote
1 answer
488 views

How to represent association classes in a UML component diagram?

Please consider a class diagram and a component diagram as shown below. In the class diagram I use association classes to represent the relationship between two classes (BaseLink and ShoulderLink) as ...
hielsnoppe's user avatar
-2 votes
1 answer
147 views

How to model a small database application using CRC

I am going through this OO design course: https://www.coursera.org/learn/object-oriented-design/home/welcome and starting to look at the use of CRC cards. (class responsibility collaborators). I ...
user619818's user avatar
  • 1,777
1 vote
1 answer
126 views

Use case descriptions -- where does selection go?

I have a use case for which a user can perform a multiselection. I am writing the use case description and wonder: Should the selection action be documented as a trigger of the use case, or in the ...
user2132190's user avatar
2 votes
1 answer
460 views

Separation of concerns

I'm approaching the DDD way and I was posing myself some questions. Assume that I'm writing an application that lets you define a nutritional week, where you can Define a nutritional week as a ...
Green's user avatar
  • 149
-2 votes
1 answer
210 views

Use 1 to many relationship on same model or split it into two different models?

I'm building a forum application using the Django web framework but I'm not sure how to design the entity relationship diagram when it comes to the Post model. Since one Post can have many replies, ...
flyingfishcattle's user avatar
6 votes
3 answers
20k views

Parallel process flowchart shape in Draw.io

Our drawing tool is draw.io. Occassionally I've got to draw flow charts with it. In those flow charts I've got to express parallel processes (very similar to this UML example). Wikipedia says about ...
OneWorld's user avatar
  • 302
2 votes
2 answers
1k views

How to model relations in UML Class and Object diagram for simple Graph structure

I'm trying to model a simple Graph structure as an UML Class Diagram and Object Diagram. A Graph can have multiple Nodes and knows it's starting Node. Every Node has a predecessor and a successor Node....
Jonas's user avatar
  • 123
0 votes
2 answers
112 views

BPMN - How to handle "under the hood" data change

I have an issue that I'm not sure how to handle regarding modeling. I'm using as my BPMS Flowable My situation: I have a flow (picture below) where are 2 user activities. Each activity manipulates on ...
PastorPL's user avatar
  • 129
3 votes
2 answers
1k views

How to design correctly relationships of class diagrams?

I'm learning OOP so I decided to start a new project, a chess tournament manager. Here you can read about chess tournaments https://en.m.wikipedia.org/wiki/Chess_tournament Basically the user will be ...
user86208's user avatar
0 votes
1 answer
100 views

Should there only ever be one instance of a ViewModel object?

Assume a rather simplistic model: class Person{ static List<Person> LivingPersons String Name List<Person> Dependents } From this it can (hopefully) be seen that a single ...
Harry Will's user avatar
2 votes
6 answers
2k views

UML: what is the correct order of steps?

I was reading an old text book "Beginning C# Object oriented programming" from 2011. The author in one case employs the "use case" to identify classes and then goes to draw a class ...
microwth's user avatar
  • 139
-2 votes
2 answers
97 views

How would you create abstraction for event holding only Ids - references to other objects

class DomainEvent { } and then I have different events with following structure: class SomeEvent extend DomainEvent { private UUID orderId; private UUID orderlineId; private UUID productId; ...
Pesho's user avatar
  • 530
-1 votes
1 answer
99 views

Is UML suitable for designing a warehouse workflow?

I need to design a warehouse workflow: the cartons that enter, then the flow of a box, returns, porcessing of damaged good, cancellation at different stages, and transfer from a stock to another. Each ...
Bastien Vandamme's user avatar
2 votes
1 answer
312 views

What is a good way to understand the relationship between a UML class diagram and an implementation?

At my uni the software design teachers like to ask questions about UML diagrams, such as this: In the following class diagram, can class Bar’s bar() operation modify Bar’s b attribute? Can it modify ...
bp99's user avatar
  • 131
3 votes
1 answer
900 views

Do data stores appears in Level 1 DFD?

Let’s consider that Context diagram is the diagram that describe the system as a single process and level 0 diagram is the one that decomposes this main process into major process and so on. I am ...
John adams's user avatar

1
2 3 4 5