Questions tagged [modeling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Data modelling and openAPI3.0 for customer and license management - when to know how to split entities?

I'm working on a unique ERP + Ecommerce which is a mix of "Shopify meets Adobe Cloud admin". Current project: ancient php framework with MVC, no architecture, resembles a procedural website ...
1
vote
1answer
38 views

Creating models for a subscription-based service using third-party payment gateways

If this question is too broad for Q&A format, I'd appreciate a pointer on where to ask it. Suppose that you're using Stripe (or some similar service) to manage the payments for a service of some ...
2
votes
2answers
142 views

How much UML modeling should you do?

I've used UML modeling a few times in the about a decade ago and I am getting myself reacquainted with it. I found it clarifies an application's design which results in a faster and easier ...
0
votes
1answer
23 views

Including processes that are external to the system in Use Case diagram and DFD

I am designing a system with several diagram for a project. I am trying to summarize my question with 2 simple diagram which can demonstrate my doubt. Below are my use case diagram and a context ...
3
votes
1answer
60 views

Is the class stereotype implicit in an UML class diagram ? Should it be specified?

Commonly I see class diagrams where there is no <<class>> stereotype. Others where there is the common <<interface>> and others with some interesting ones as <<shape>&...
2
votes
1answer
236 views

how to represent functions and global variables in UML?

I'm going to translate into UML a C++ project I have been doing for a few days and which I estimate convenient to handle as a model for a way better management. The problem is the following: I tried ...
-2
votes
1answer
93 views

Simple circular dependency between three classes

I have this basic design with a circular dependency. Is there any solution for this? The problem is that a Machine cannot be created if a Model for that Team has been submitted.
0
votes
3answers
106 views

Is there a way to express arguments for a use case?

I am currently developing a use case diagram for an army generation system in a game I'm developing. I have a process 'GenerateArmy' that requires a combination of troops and a supply limit that are ...
0
votes
1answer
68 views

What kind of Relations should I have in my E/R Diagram

I am trying to create an Entity/Relationship Chen Diagram for a new APP. Scope is simple enough. I will have multiples types of users login through the same Login Form. What I decided to do... Is ...
0
votes
1answer
60 views

How do I represent parallel (multiple) inputs in a UML Sequence diagrams?

I am new to UML sequence diagrams. I saw a few YouTube videos and a few tutorials such as this one. I have a system with multiple inputs, that can interact with the system asynchronously. For example,...
-2
votes
1answer
88 views

should the join method be in the Course class or the Student class?

The rule I was taught: "the method should be in the Object that it is invoked on" a student joins a course => the join method should be in the Course class a player drives a car => car.drive(..) ...
-2
votes
1answer
110 views

How can I represent with UML a process that involves queues?

I would like to use UML diagrams to show some processes I am designing and would like to implement. The processes involve using a queue, and adding and taking out elements from it. In one of this ...
2
votes
1answer
89 views

UML Actor and Device Relationship

I am currently in the process of creating a use case digram for a new system that we are building and have stumbled upon an interesting scenario. The system has a number of primary actors which ...
-2
votes
3answers
76 views

Visualising a sprint as a delta to a software component diagram? [closed]

Given a software component diagram, a sprint could be represented as a delta of that diagram. That delta would reflect how the sprint affect the components. Each component could for example have a ...
2
votes
2answers
72 views

How do I merge ControlFlow and ObjectFlow in UML2 Activity Diagram?

It seems that I need to have a MergeNode with incoming ControlFlow and ObjectFlow while according to paragraph 15.3.3.5 Merge Nodes of OMG® Unified Modeling Language® (OMG UML®) Version 2.5.1 If ...
0
votes
2answers
75 views

How to model combinatorial information in RDBMS

I need to model the persistence of combinatorial information. For example, suppose that the combination of 3 attributes (A, B, and C) are used to reference a given product. Besides that, supposed that ...
3
votes
2answers
128 views

DDD, Aggregate Root and entities in library application scenario

I'm building a library application. Let's assume that we have a requirement to let registered people in the library to borrow a book for some default period of time (4 weeks). I started to model my ...
-1
votes
1answer
234 views

Select one from multiple options in UML activity diagram

I am very new to UML and UML activity diagrams. my question is suppose in a student course registration system after student successfully login to the system there are 3 options add course, delete ...
1
vote
1answer
103 views

How to avoid code duplication from handling “structually similar types” in Scala?

Often, when programming, you'll have different degrees of information to you in different contexts. For example, a web server may have two routes, which recieve information about a Person, one of ...
-1
votes
2answers
123 views

Model View Controller: Can the Model access the view directly?

According to my understanding, in the MVC design the Model can only receive the functions calls from the Controller and not from the View directly. Is it true that the Model can change or access the ...
2
votes
3answers
96 views

Entity-Relationship language, not diagram

I have to design a database, but I don't yet know which underlying technology it will use (not just my decision). Could be SQL, could be NoSQL, could be something else. I do have quite a few ...
-2
votes
1answer
53 views

Converting a table to an ORM schema

I'm trying to convert this table into an ORM schema: The solution given by the book is this one: It connects all the paramether to the Member one. This is my solution, which I think it's less ...
1
vote
1answer
236 views

Sequence diagram: explicitly show websocket creation?

I am trying to draw up a sequence diagram to show how my web client will interact with my backend over a websocket connection. I am using a websocket middleware to manage the stream connections. ...
3
votes
1answer
77 views

UML Partitioning Decision Nodes

I am attempting to partition a decision node based on environment attributes. The process I am modeling is slightly different depending if a variable scope is public or private. I am trying to ...
3
votes
1answer
583 views

Is there a UML diagram for functional programming?

For modelling software implemented with the imperative or procedural programming paradigm we have Flowcharts, process diagrams, etc. For object oriented we have UML class diagrams, object diagrams, ...
0
votes
3answers
167 views

Is this right way to create sequence diagram?

im trying to create a sequence diagram for login , but i dont know if its true or not , maybe the community can help me check , because i see many way to create sequence diagram and its not the same ...
-2
votes
1answer
2k views

How to represent in a flowchart data fetched from a database

I have an existing piece of code that uses a database. In order to understand its algorithm, I try to represent it with a flow chart. In this algorithm I need to fetch some data from the database in ...
6
votes
3answers
386 views

Before OOP, how were systems modeled [closed]

Before the advent of OOP, how were systems modeled in other paradigms of Programming. Obviously, software programs existed prior to 1970's and they interacted with people and where used in crucial ...
3
votes
2answers
183 views

How to improve this class diagram of a system with its components

So I was given a task of making a class diagram for a bicycle. I know what a class diagram is and the concepts behind one. The requirement is that the bike can brake, turn or speed up. Now to me, a ...
2
votes
2answers
2k views

What is the difference of swimlane and activity diagram?

Im trying to make an activity diagram , but i see that activity and swimlane diagram is almost the same, the only difference i see that swimlane diagram include many actor in it i wonder about the ...
-2
votes
1answer
118 views

Can we put a same usecase more than twice in 1 usecase diagram [closed]

There will be 4 roles, with 3 roles having a same use-case that is called view campaign and a use-case view segment. Can we put a same use-case more than one time in the same use case diagram? The ...
2
votes
1answer
112 views

Can we have a ternary relationship together with a recursive one in E-R diagrams

I am designing an E-R Diagram for a simple system where there are some users and contests. A user can create a contest or invite other users to the contest who can decide to accept or not. I am ...
2
votes
1answer
476 views

Optional relationship on ERD diagram

Upon generating an entity-relationship diagram of my database I observed several occurrence like this: This diagram (in IDEF1X notation) shows the following: Our team's DB convention is that each ...
0
votes
1answer
506 views

Navigation in Class Diagram

I know that associations in class diagram can be bi-directional or directional. We refer to this as navigability. I am not sure to fully understand what it means. Please consider the following ...
3
votes
1answer
82 views

Given an software example in MDE, would not the model always be a UML model?

I have just started learning about model-driven engineering. But I have a hard time to grasp the different model levels, given software example. Would not the model always be represented in a UML ...
0
votes
0answers
26 views

Ruby on Rails newbie question, regarding general design for models/controlers for feedback app/ my thinking

I am working on a little project which essentially allows me as the administrator to upload new products to the app (each product would be a video explaining product) which would have its own specific ...
0
votes
1answer
314 views

Do I really need to build a class diagram AND a component diagram? [closed]

I'm modeling a system while improving my knowledge of software engineering. I am building a class diagram and a component diagram, but notice that when I tweak one, I have to alter the other. Also, I ...
1
vote
1answer
62 views

Can BPM be created with just one lane?

BPMN is very popular notation for process modeling and it's theory is based on task sequences and work flows between actors. So it's seems that it's necessary condition to declare at least two lane (...
1
vote
1answer
77 views

Choice of appropriate UML diagram during Analysis phase [closed]

I am new to the formal idea of UML diagrams, but I have drawn and read system type diagrams for years. I wish to set a very simple exercise for the analysis stage of a project. I am considering the ...
1
vote
2answers
99 views

Creating a “pass-through” dynamic model

We have a layer that exists in our architecture that, for lack of a better term, bears the responsibility of defining the common models. In other words, when systems need to communicate, rather than ...
6
votes
4answers
2k views

How do I manage shared models among many microservices?

My question is similar to this one, but a bit more specific to one case. Let's say I have a payments model, and this is used by my reporting service, as well as my accounting service. Is it ...
0
votes
0answers
143 views

What kind of diagram best represents the field-level mapping from one system component to another?

In my environment, we have multiple systems developed independently by different teams. Those teams frequently recreate the wheel because they're building applications, not building blocks. As a ...
6
votes
3answers
364 views

How to model public IDs?

While creating the architecture of a new project I struggle to come up with a good solution to handle public IDs. For example our users will receive a membership card. Each card has the membership ID ...
1
vote
1answer
885 views

“Screen-states”: How to express all of them in a concise way? [closed]

If my software has some screens, how do i express the various states of those screens? If, for example, I have 3 checkboxes in a screen, so I have 8 combinations total and at first thought, 8 states ...
1
vote
1answer
808 views

DDD - how to model validation and enforce invariants that possibly resides in different aggregates

I have two models in my current design, student and group. Student and group are both aggregate roots. A student can be added to a group (method on group aggregate root), and it can be active for ...
4
votes
1answer
890 views

How do you correctly turn this text into an activity diagram (problem with timer)?

This is only an extract from a very long text, the one I'm not sure about. It's about a photo booth (an automata that makes a picture of you if you insert coin). The automata has a camera that is ...
2
votes
0answers
95 views

UML how to model parallel activity with runtime-dependent number of participants

I want to model an activity that involves processing several items in parallel. So to speak, I want to find a Activity Diagram representation for something like the following snippet / pseudocode: ...
1
vote
1answer
512 views

Trying to understand Sequence Diagram

I am trying to understand two sequence diagrams that I have found in the SE course at university of Washington. Can you confirm if my understanding is correct ? Diagram 1: According to my ...
-1
votes
1answer
63 views

Databse model: Entity that can have values from two different tables or user input values

I'm modeling a database, where I have a table called "appointments" (citas in spanish, but I would translate the tables's names for better understanding) where the user can create an appointment to ...
0
votes
1answer
133 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 ...