Questions tagged [component]

73 questions
61
votes
3 answers

Name of a program's startup/initial loading window?

I am writing user documentation (an SOP) that involves third party programs that I am trying to describe well. One such program is a server that offers little indication of it's startup besides a graphic that shows during its initialization/startup…
rtmh
  • 653
  • 5
  • 8
34
votes
1 answer

What is the difference between web components and custom elements?

"Web Components" and "Custom elements" are often mixed up, and web searches for the title of this question don't yet produce much clarity. Let's fix that.
9
votes
1 answer

Conditional CSS based on external modifier class - good practice?

Introduction / background: CSS components For a relatively large website we are working with SASS, and trying to manage CSS in components. The basic idea of components is that a component should look the same everywhere, independent of container…
7
votes
2 answers

What is Component Oriented Programming, and how is it different from OOP?

What exactly is Component Oriented Programming, and how is it different from Object Oriented Programming? Thanks
user3150201
  • 1,207
7
votes
1 answer

Private interfaces within a package

This is basically the same as Coding to interfaces, but played out in the real world of com when there are various engineering complexities such as immutability of published interfaces and implementations, etc. Consider the following situation: A…
rwong
  • 17,140
6
votes
1 answer

Designing module interfaces

I'm studying software engineering and one thing I'm really trying to improve is my skill in software architecture. My question is quite broad, so I'll try to explain it with an example. Suppose you have a model layer and a service layer. The model…
Yogu
  • 270
  • 1
  • 9
5
votes
2 answers

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 of connectors. Sometimes, ports are only used as soon as a…
TiMauzi
  • 161
5
votes
2 answers

How do you decide to group components in software architectures?

I am aware that this might be a question with only subjective responses, but i keep coming back to this thought. When you are designing a software's architecture, do you group components by their kind of task or their "theme"? For the lack of a…
4
votes
1 answer

VueJs - composing components for large scale projects

I started getting into VueJs and Vuex development and I'm looking for a "mainstream" architecture for large scale projects. I think the question doesn't depend on whether you take a ready to use UI Framework like Vuetify, Bootstrap-Vue or Buefy or…
4
votes
1 answer

Cross-cutting concerns and library sharing in Microservice architecture

I've been thinking about practicing with a simple Microservice (oxymoron I guess) application and I found an issue I was not able to resolve. I'll go with a concrete example since the definition of cross-cutting concerns is kinda vague. Let's…
4
votes
3 answers

Using GPLv3 software in a open source project licensed BSD (3-Clause)

Preamble If I say "BSD" I mean the 3-Clause BSD license If I say "GPL" I mean the GPLv3 license I am not the author of the GPL project I am the author of the BSD project Simple Task I want to use a 3rd party software (GPL) in (or better 'with') my…
DerDu
  • 143
4
votes
2 answers

OOP - Composition, Components and Composites Example?

I've been reading a bit about OOP in relation to Composition, Components and Composites. I believe I understand the fundamental principle (not sure). Can someone please provide a code example of a person or car (both have many properties) using…
coder3
  • 161
4
votes
3 answers

Can you/should you develop components for ASP.NET MVC?

Following from the previous question I've started to wonder - is it possible to implement "Components" in ASP.NET MVC (latest version)? And should you? Let's clarify what I mean with a "component". With that I mean a "control" (aka "widget"),…
Vilx-
  • 5,420
3
votes
2 answers

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 bike has three major components: the brake…
3
votes
1 answer

Managing compatibility and dependencies in code library

I manage a library that is made of multiple components, there is some dependencies between some of these components, for example I have a core library for common code base that is referenced by other components. All of these components (including…
1
2 3 4 5