Questions regarding software interaction with its human users.

learn more… | top users | synonyms

-4
votes
1answer
39 views

UserInterface and code. How they communicate? Is it just an image and nothing to do with program code

Does UI interface is just an Image created by graphics tools? I need to know that when a user interface created to read an textbox in C#. When a text entered is it take values from keyboard by ...
0
votes
0answers
18 views

Configuration Management User Design Perspective

What is Configuration Management From User Design Perspective? What do I need to know? We are trying to build a new system, so I would like to know a few questions regarding Configuration Management ...
2
votes
2answers
106 views

Multi application handling from single GUI [closed]

I'm searching for an approach to a very generic problem. In my recent private project, I want to control different Applications from a single GUI. To make the idea more clear I'll explain my project ...
2
votes
1answer
25 views

Handling and reporting errors consistently

Errors can come from many different sources - third-party services, libraries, environment, etc. When an error prevents a user from performing their desired action, these diverse errors should be ...
1
vote
1answer
79 views

How to comply to Disability Discrimination Act of 1995 while developing an iOS app [closed]

We have a requirement from our UK client in which he wants us to comply to Disability Discrimination Act of 1995 while developing the iOS app. I tried to search about it on Internet but most of the ...
1
vote
4answers
82 views

Advice: Switching to MVC from Webforms Web designer vs UI designer [closed]

Over the last two years, I've taken over a web application development group. My focus for the first two years was building teams, get technology updated and in-place, and fixing my customers pain ...
1
vote
4answers
101 views

How to explain to a vendor that when erroneous data is deleted/deactivated the application future state should be as if the data was never entered?

A major application we use has a bug that the vendor is calling (a swear word in our business) "working as designed". As a programmer / system analyst this is a bug - and against all I have been ...
6
votes
1answer
84 views

How to deal with legacy functionality conflicting with new feature

I am working on a well established (aka clients using it for a while) video player. We recently found out that the drawing engine (ddraw) is deprecated in windows 8 and 10, and choose a modern ...
1
vote
3answers
158 views

How far should I validate user input in my own created API?

I got something here that bogs my mind a bit. Let's say I write me this API (in TS), check out some of these properties: export class MyAPI{ propertyThatShouldContainSuffix:Array<...
2
votes
0answers
109 views

How to replace or manipulate the Microsoft Desktop Window Manager (DWM)? [closed]

I'm in the midst of deciding which platform to use to implement a new kind of display server / window manager. It seems that it isn't possible to replace the DWM on Windows systems according to MSDN ...
2
votes
2answers
132 views

Will Web Components in HTML Add Too Much Complexity? [closed]

The way I've been accustomed to User Interfaces is to see everything as a div. Where a div is essentially a box and they can be stylized in CSS. <div class='container'> <div class='...
-1
votes
2answers
576 views

Where and how to reference composite MVP components?

I am learning about the MVP (Model-View-Presenter) Passive View flavour of MVC. I intend to expose events from view interfaces rather than using the observer pattern to remove explicit coupling with ...
-1
votes
1answer
54 views

User roles array vs string

I'm working on a meanjs project. The user roles are set as an array: roles = ['admin', 'user', 'manager']; why not just set it like this? role = 'admin' Why is the convention of an array used ...
5
votes
2answers
199 views

Passing a list of choices with different arguments for each choice

I am writing a card game, in which I separated the "Core Logic" of the game from the UI. Communication with the player from the core logic part is done via callbacks which the UI implements and ...
16
votes
4answers
647 views

How to write maintainable, not brittle, unit tests for a GUI?

I tried writing UI unit tests for my GUI apps and I face the problem that, while they work well when I initially write them, they turn out to be brittle and they break whenever the design changes (...
0
votes
1answer
240 views

C# Application GUI design dependent on configuration

I have built quite big WinForms application working in industry for a few years. It communicates with many HW devices. Application can be configured to use or not use some of these devices and GUI is ...
7
votes
3answers
740 views

How much detail is in a good UI regression test?

We use a detailed step-by-step user-interface regression test for our commercial web application. It has a "backbone" test for the most used / most important parts of the system, with optional tests ...
0
votes
0answers
40 views

Should clicking already selected UI item be handled normally or ignored?

Lets say you have a user-interface with a tree view, and you click on already selected item. Should the click-event be handled normally or ignored (since the item is already selected)? Lets also ...
0
votes
1answer
44 views

Should formatter do validation?

Say I have a SSN field in a form. I want SSN to be in format of xxx-xx-xxx. I may just have a SSN formatter checking whether the input are all digits and adding dashes when necessary. Another ...
15
votes
4answers
12k views

JavaScript's prompt, confirm and alert considered “old-fashioned” [closed]

Lately I've been developing a web-based management system for a gym. Their previous app was developed in Visual Basic. For the new app, all the front-end scripting uses jQuery, the server is running ...
226
votes
14answers
26k views

How can a code editor effectively hint at code nesting level - without using indentation? [closed]

I've written an XML text editor that provides 2 view options for the same XML text, one indented (virtually), the other left-justified. The motivation for the left-justified view is to help users 'see'...
3
votes
2answers
107 views

User Inputs: Bounding Box, best practice?

I am creating a function in matlab that takes in two lat/long coordinates (opposite corners of a rectangle) and returns information about data in the region. How do I group my inputs? e.g. [lat1,...
35
votes
4answers
4k views

Why is it the caller's responsibility to ensure thread safety in GUI programming?

I have seen, in many places, that it is canonical wisdom1 that it is the responsibility of the caller to ensure you are on the UI thread when updating UI components (specifically, in Java Swing, that ...
1
vote
0answers
447 views

Integrate C++ DLL with C# GUI asynchronously (design issue)

This is more a design than an implementation question. I am aware of how to integrate a C++ DLL within a C# main app that acts as GUI. Believe me that I've read all other questions on similar topics, ...
6
votes
1answer
227 views

UI Design patterns for non-screen based project

I'm working on a small project coded in Python that uses a single button for input and a RGB LED as feedback, which responds to button presses and asynchronous events from the network. As the ...
-2
votes
3answers
157 views

The urge to organize code in a cleaner way [duplicate]

Every time I am working on a project, specially a project from scratch, I always feel like I am doing a messy job. I feel bugged all the time by the need or organizing code that is clean or proper way....
3
votes
0answers
46 views

Update of user interface cycle

I am developing an App for iOS. In an attempt to avoid the pure MVC where everything is packed in the "Controller", I have added a Presenter layer and an Application Layer. In doing so I have come up ...
9
votes
2answers
643 views

Is automatically generating passwords during registration a good idea?

I'm developing a registration system for a project I'm working on. Since users tend not to sign up if the process is too long, I've thought to require (at least initially) just their email, where I ...
3
votes
1answer
103 views

How to handle Django get-single-instance-in-view pattern?

A lot of my Django views start a little bit like this: try: # here request.POST could also be request.GET or a captured URL parameter MyModel.objects.get(user = request.user, some_attr = int(...
2
votes
4answers
645 views

Should every front-end developer understand the basic aspects of design?

I'd say that we're developing software in a world where the front-end of an application is probably the most important. The increasing ability for a user to access and interact with software almost ...
9
votes
1answer
478 views

When asynchronous tasks make a bad UX

I'm writing a COM add-in that's extending an IDE that desperately needs it. There are many features involved, but let's narrow it down to 2 for the sake of this post: There's a Code Explorer ...
3
votes
2answers
9k views

How can I separate the user interface from the business logic while still maintaining efficiency?

Let's say that I want to show a form that represents 10 different objects on a combobox. For example, I want the user to pick one hamburguer from 10 different ones that contain tomatoes. Since I want ...
2
votes
2answers
92 views

What is the origin of the tag property in UI toolkits?

I've seen the tag property in all UI frameworks I worked with: UIKit, Forms, OpenStep, even Delphi 6. Was it in the original Macintosh Toolbox or Xerox's framework? WhAt was the original idea behind ...
0
votes
3answers
210 views

'dock' working in simple words

I would like to know the idea behind the working of 'docking' in applications. I have worked with applications where components from individual forms are docked on a single main form to provide the ...
18
votes
12answers
3k views

What problem does automated user interface testing solve?

We are currently investigating automated user interface testing (we currently do automated unit and integration testing). We've looked at Selenium and Telerik and have settled on the latter as the ...
4
votes
2answers
287 views

What principle is violated by having a button do two radically different things or screens act radically different depending on the situation

I've come upon a situation several times in my career when previous developers have done something funny. They will make a control (button) function radically different depending on how the screen ...
7
votes
3answers
2k views

Javascript, Text Annotations and Ideas

I am very curious to hear input from others on a problem I've been contemplating for some time now. Essentially I would like to present a user with a text document and allow him/her to make ...
7
votes
2answers
617 views

What is best practice to handle whitespaces when letting the user edit the configuration, the name=value pairs?

For instance, you let the user define the notorious path variable. How do you interpret apppath = C:\Program Files\App? This looks like a programming language adopted practice to ignore the white ...
2
votes
2answers
693 views

pixel perfect apps techniques [closed]

While doing your iOS app development, do you try to achieve pixel perfect similarity? Is your app identical to provided photoshop designs? If yes, what techniques are you using to speed this process ...
87
votes
17answers
23k views

Is it a good idea to design an architecture thinking that the User Interface classes can be replaced by a command line interface?

In Code Complete page 25, it's said that it's a good idea to be able to easily replace the regular user interface classes by a command line one. Knowing its advantages for testing, what about the ...
3
votes
1answer
115 views

Skeletal/Abstract class just to store shared state?

Given an interface for the Strategy pattern like so: public interface Strategy { public Output execute(Input input); public Output getLastExecutionOutput(); } if I want to store the last ...
-2
votes
3answers
2k views

Time limit on user input

I am trying to put a time limit on the user input, so if they take longer than 2 seconds to put type in an input then the program will terminate. I was wondering if there is a simple way to do this in ...
1
vote
3answers
2k views

Pluggable UI Components in Java Web Applications

I will try to explain my question with an example. Let us say that we are writing a hotel reservation system which is web based using Java. We will have different payment methods, say Paypal, Master ...
4
votes
0answers
191 views

Design for an application framework that will allow each implementation to customize parts of the UI

I am tasked with designing an application framework that will allow each implementation to customize parts of the user interface. One such example would be that the implementation (let's call it ...
0
votes
3answers
179 views

How can DB and UI agree on default values?

I created a table in a Postgres database. I would like to create a form in a Java application to insert rows into that table. Certain fields have default values. What is the best way for the database ...
5
votes
2answers
443 views

Does having many duplicated methods and deep inheritance hierarchies in GUI APIs (Java Swing, Android SDK) violate the SOLID design principles?

For those unfamiliar with the SOLID principles you can start reading here: Wikipedia article. However, most of my understanding comes from: http://www.objectmentor.com/resources/publishedArticles.html ...
2
votes
0answers
259 views

How can I put multiple hierarchical forms in a single web page and avoid making it a mess?

We are a group of developers working on a web application that accepts forms filled and sent by our users and present it in an overall view. Our main form view looks like this: There are multiple ...
8
votes
8answers
466 views

What's the better user experience: Waiting once at startup for a long time or waiting frequently for a short time? [closed]

I'm currently design an application that involves a lot of calculation. Now I have generally two possibilities which I have both tested: 1) During startup of the application I calculated only the ...
1
vote
1answer
331 views

Origin of letter “X” for close icon

Who exactly presented the idea that letter "X" should be used for closing/exiting a window or an application? According to Medium.com, The first appearance of [x] in GUI design was likely the ...