Skip to main content

Questions tagged [component]

0votes
1answer
82views

How to adjust the component diagram in this case for better readability?

I have created a Python code where a main algorithm uses three different modules (.py) after importing them. To illustrate and describe it I have create the following component diagram? Could it be ...
Patrick Schulz's user avatar
-2votes
1answer
254views

What is a component in C#?

Introduction Components are an important building block of software. In terms of software architecture, there are a lot of principles regarding components that should be adhered to (high cohesion, low ...
dn1h's user avatar
0votes
4answers
281views

Resolving Dependency Cycles

Class and component dependency cycles Assume, we have component A with class CA, and component B with class CB, with a cyclic two-way dependency between classes CAand CB. Hence, we have a cyclic ...
dn1h's user avatar
1vote
1answer
298views

UML Component diagram: Dangling interfaces or connecting two

I'm a novice in UML component diagrams. How would I draw the following situation? I have an << item >> called "DataAquisition". This item consists of a << unit >> ...
Max's user avatar
  • 111
0votes
2answers
125views

While designing a software, what are the criterion used to partition that software into indivisual components? [closed]

Good software is always designed based on different modules before integration. I was wondering what rules/guidelines decide software partition into different, smaller modules during the design phase.
Yash J's user avatar
1vote
2answers
142views

Instance of component inside a (non-instance) component. Does it make sense?

A colleague of mine did this UML component diagram to represent both the required/provided interfaces and the internal structure of the subsystems that compose the system we're working on: (The ...
cidra's user avatar
0votes
2answers
608views

Can a socket be connected to many balls in a component diagram?

I have to draw a component diagram that depicts the architecture of my system with its subsystem decomposition and its dependencies. My system has a 3 tier architecture: The top layer just acts as a ...
cidra's user avatar
-1votes
2answers
483views

What does a database component in a UML diagram represent? [closed]

Sometimes the UML component diagram contains a database component. Does this database component represent a class that programmers create (which includes host, username, password, port... DB ...
Kasun Jalitha's user avatar
-1votes
1answer
423views

Calculate Cumulative Component Dependency and Average Component Dependency

Given is the following dependency graph of a system with two subsystems. Calculate the CD (Component Dependency) of all components and also calculate the CCD and the ACD. See CDD here https://...
Mr. Hankey's user avatar
5votes
2answers
11kviews

When is a "port" used in UML component diagram?

I currently stumbled over the the concept of "ports" in UML component diagrams and I'm not entirely sure how they are supposed to be used. Sometimes, ports seem to be used generally as start ...
TiMauzi's user avatar
-2votes
1answer
155views

How good of an idea is extending HTMLElement

In the new era of web components MDN (and probably the standard) suggests extending the HTMLElement class. For a long time we've strayed away from doing that, what has changed now for this to become ...
php_nub_qq's user avatar
-2votes
3answers
93views

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 ...
Max Murphy's user avatar
1vote
1answer
230views

Component based architectures in JS / PHP: what indicators suggest that a UI element ought to be written as an importable component?

N.B. Several months after initially asking this question (and not coming up with any satisfactory answers) I am now learning to use HTML Custom Elements / WebComponents. It seems the same question ...
Rounin's user avatar
1vote
1answer
285views

Server side rendering of third party updated html components

Say I am wanting to include a third party HTML component in my site... I know that I can simply include a <script> tag to pull in the component on the client's side; however because I do not ...
physicsboy's user avatar
-2votes
1answer
73views

React class or function for stateful components?

Which is better to use? react class based stateful component or react hooks functional stateful component? I've searched a bit but couldn't find what is preferred to use.
Soul Burn's user avatar

153050per page
close