User Interface _ the application interface designated for the end users
Questions tagged [ui]
129 questions
43
votes
5 answers
Why are dark color schemes in editors so popular?
Nowadays, almost everybody is using a dark color scheme in their code editor - dark background with light text. Even most web based editors (e.g on Github) feature dark color schemes.
I honestly don't see the benefits. The human eye is much better…

lethal-guitar
- 2,065
- 2
- 16
- 19
37
votes
4 answers
Model-View-Presenter implementation thoughts
I'm trying to get a good grasp of how to implement good decoupling between a UI and the model, but I'm having trouble figuring out exactly where to divide the lines.
I've been looking at Model-View-Presenter, but I'm not sure exactly how to go about…

trycatch
- 1,080
- 2
- 12
- 18
32
votes
18 answers
How can dev teams prevent slow performance in consumer apps?
When I previously asked what's responsible for slow software, a few answers I've received suggested it was a social and management problem:
This isn't a technical problem, it's a marketing and management problem.... Utimately, the product mangers…

Crashworks
- 1,249
- 1
- 10
- 16
23
votes
2 answers
What is Declarative UI?
I keep seeing this term being thrown around in blogs about frameworks. While I understand the difference between declarative and imperative programming, how does this apply specifically to UI? Why does there appear to be a special term for it? Are…

MrFox
- 3,398
- 2
- 19
- 23
17
votes
6 answers
Is it a good idea to do UI 100% in Javascript and provide data through an API?
My primary day job is making HTML applications. With that I mean internally used CRUD-type applications with lots of editable gridviews, textboxes, dropdowns, etc. We're currently using ASP.NET webforms, which do get the job done, but the…

Vilx-
- 5,320
- 4
- 20
- 24
17
votes
3 answers
How can programmers improve their UX skills?
As programmers we can solve very complex problems, but then, when we have to design a user interface we tend to fail on making them easy to use.
In small companies they can’t afford having designers and UX experts, programmers have to do almost…

jmservera
- 599
- 3
- 13
13
votes
6 answers
Algorithm for a UI showing X percentage sliders whose linked values always total 100%
A system I'm building includes a set of UI sliders (the number varies) each with a scale of 0-100. By slider I mean a UI where you grab an element and drag it up and down, like a volume control. They are connected by an algorithm that ensures they…

Ollie C
- 233
- 2
- 7
13
votes
1 answer
Reactive programming vs MVVM pattern for managing GUI updates
Reactive programming and MVVM are two approaches that can address the problem of separating the domain layer from the UI.
MVVM does this by defining a viewmodel, which is a data structure mapped to UI components. The UI display the data, and maybe…

Simon Bergot
- 7,930
- 3
- 35
- 54
12
votes
7 answers
How long can it take for a screen to appear before it's considered a performance issue?
I am involved with the development of a Windows application that has various screens. One of them takes ten seconds to appear with no spinner or other indication that the screen is loading. I consider this a serious performance issue but I seem to…

blue
- 309
- 2
- 8
12
votes
2 answers
Do classes in a JRE library support observable and/or asynchronous reads from external/non-JRE assemblies?
How can I implement my cross-platform library (e.g. on JRE) to operate in a thread-safe manner on object references, so that native front-ends on other platforms can observe the object and take advantage of Observable patterns?
A little…

Brandon Arnold
- 1,253
- 9
- 15
11
votes
8 answers
Is turning UI (or other) features on and off based on dates-a code smell?
We have an awful system written in ASP.NET 2.0 that we need to add some functionality to. The problem is that a certain product has UI features that have to be turned on for business initiated after a certain date (and others turned off), while the…

NMrt
- 479
- 3
- 9
11
votes
1 answer
Why doesn't CSS natively support variables and hierarchy?
I am new to UI development, but I feel very uncomfortable with how CSS works.
My use case is that I wanted to apply some specific styles inside a particular div on a page.
CSS attempt:
div.class1 {
font: normal 12px arial, helvetica,…

Yugal Jindle
- 359
- 2
- 12
11
votes
1 answer
UI patterns in functional languages
I would like to start fiddling with ClojureScript, but I am puzzled about some points. My problem is what is a good way to deal with state changes coming from user interaction, when you trying to work functionally.
Let me give a couple of examples.…

Andrea
- 5,355
- 4
- 31
- 36
10
votes
5 answers
Presentation Layer Accessing Business Logic
I've been reading a lot of material lately about DDD (business entity objects) and other common patterns in n-tiered(layered) architecture. One thing I have issue with is, most articles, blogs, examples, etc. seem to talk to only one aspect of a…

HardCode
- 614
- 4
- 12
10
votes
2 answers
Decoupling UI code?
In my application I have several event handlers that perform some action in response to user interface events such as a button click or menu selection. The code in these event handlers looks like this for example:
void…

User
- 1,541
- 2
- 16
- 30