Quantcast
Channel: Active questions tagged ui - Software Engineering Stack Exchange
Browsing latest articles
Browse All 31 View Live

Why don't web browsers know the physical dimensions of a display?

CSS is a syntax for specifying the appearance of text and other web content, sizes and lengths are defined in pixels, however pixels have different sizes in different devices, this is the most notable...

View Article



Good representation for list of items that can be grouped together

I am building the frontend of a web app in JavaScript that manages list of past events. It basically has the following requirements:Events are displayed in a vertical list.Events can be moved to...

View Article

Should I use Flask w/ Javascript OR a Javascript UI that calls a Flask /...

I recently wrote a data management tool in Python & SQLAlchemy. Now, I need to put a web UI on it. While I want to start small, there is some need for interactivity, like drag and drop in tables,...

View Article

Calculating position of menu options with variable sizes

Not entirely sure if this is the most appropriate community for this but...I'm looking for solutions to calculate positions for menu options when the amount of options vary and when each options might...

View Article

Pattern for creating an instance of a class from a UI form

The following is a contrived example of a potential code smellthat I've repeatedly encountered when implementing a GUI with which instances of a class created by letting the user fill out a form. The...

View Article


How to handle pagination in a stateless application having multiple...

This problem statement is around one UI component, 3 service components. The current design of the application is like:UI makes request to Service-A to get dataService-A first makes a call to Service-B...

View Article

App Design - Engagement Type selected at beginning, or Radio buttons...

I am building an app wherein a user will be requesting one of three engagement types:Appointment (no SLA)Consult (2hr SLA)Emergency (10mins SLA)We are considering two different scenarios for submission...

View Article

Multithreaded UI desktop application issues

I am involved into development a rich UI project: desktop windows application. Application uses asynchronous invocations and in its turn it should be ready to process external messages (events). The...

View Article


How to avoid context objects and designing "UI states"

Note: I'm using Dear IMGUI, OpenGL and C++.I have a UI, it has two "modes" one where it records and displays images and information about a recording device (IE camera) and another where it can read...

View Article


TDD for Graphics application

I have googled and read few articles about the TDD for UI. I am not very much clear about how to start the implementation of the Graphics Application using Test Driven Development or how to write unit...

View Article

End-to-end and UI testing in microservice-architecture?

We're in a process of moving from a huge old monolithic architecture towards microservice one.UI-centric ProductOur product (which is mostly a large single-page app) is quite UI-centric. Thus the...

View Article

implement a dynamic frontend UI based on roles

We want to build a new frontend for our existing app with elements shown or hidden based on a users role.Are there any common patterns for this? I see two ways of doing this.The backend sends the user...

View Article

Micro Frontend architecture and different teams

I often get the argument that, if only a single team is working on the UI development, then the UI should not be developed as a set of Micro Frontends, with each one representing a subdomain.I would...

View Article


Getting the UI to know about Business Rules for Form Controls

Situation:VB.NET WinForms application, using the WinForms as a presentation layer project. Another class library project containing the business layer, in the form of CQS and Service classes, plus a...

View Article

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...

View Article


Is there such a thing as "completeness" theory for UI layout managers? [closed]

Given the often wide variety of layout managers available on any particular UI platform, I was wondering if there is something akin to a "theory of layout completeness" that can be used to describe...

View Article

Wrapping the UI framework

I want to write an application where I would delegate certain functionalities to 3rd party libraries. To make sure the code remains modular, I want to put these libraries behind an interface so I can...

View Article


How do you achieve encapsulation while "separating view and business logic"?

I've been trying to get a better understanding of OOP (I'm not the biggest fan of it, but I still want to understand it).One of the core principles of OOP is encapsulation - you're supposed to...

View Article

How to maintain cohesion, loose coupling, and SRP when building a reporting...

I'm building a reporting tool with three core layers:Extract data from a databaseTransform this data to compute business metricsDisplay these metrics in a report (a heavily formatted Excel export in...

View Article

What is a Reactive User Interface? Where did the term come from?

I heard about Reactive User Interfaces in a React course. I would like to understand the concept, but was unable to find reliable sources. Best I could find is that they are some sort of declarative UI...

View Article

UI/UX design feels like waterfall, What do you think should be the proper...

I'm currently working as Fullstack developer, our frontend is being built in React.Our current process involves:The client / product owner describes a feature to the UI / UX designer.The designer...

View Article


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...

View Article


How to make a mobile (flutter) app that also works in VR (unity)

I'm interested to build a VR app which will allow the user to interact with some 2d screens in a 3d world.I would like these same 2d screens to be available on a mobile app, so that the user could use...

View Article

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...

View Article

Image may be NSFW.
Clik here to view.

What approach for this kind of drawing application in C#/WPF

I've got experience with WPF, but I have always been creating standard UI's. I want to build a drawing application for electrical wiring diagrams (single-wire diagrams).Example of the kind of drawings...

View Article


Handling IO operations through a server and building the UI using a separate...

I am trying to build a file editor, and I wanted to build the UI using Flutter. However I wanted to implement IO operations (reading a file, applying changes, etc) in Rust.The reason I would like to...

View Article

Silently re-using data vs requiring the user to pass a "re-use" argument?

ContextAfter creating a (bash) CLI interface that creates self-signed SSL certificates (for onion domains), the user can choose to re-use some of the data that is created in past runs. For example, a...

View Article

How to avoid duplicating Create and Update UIs in CRUD apps

For most apps I've built which deal with CRUD operations, I end up two very similar UI pages: one for the creation of the object, one for updating it.An example would be StackExchange's UI for creating...

View Article

Image may be NSFW.
Clik here to view.

Who should own observable data in a hierarchical architecture?

I mostly write mobile apps so this is definitely coming from that perspective, but I think it applies for most UI development.Suppose I have a UI with the following pattern:I want to have some user...

View Article



CQRS how to display failed commands in the GUI

I am trying to use CQRS in my project and I was thinking how the GUI gets notified about failures in the GUI, when commands are fire and forget. My commandhandlers are not returning anything, but...

View Article
Browsing latest articles
Browse All 31 View Live


Latest Images