Questions tagged [desktop-application]
The desktop-application tag has no usage guidance.
100 questions
0
votes
3
answers
245
views
Is it wise for a Production Browser App to Access Localhost Server
I'm looking at doing something like this:
Browser <-> Desktop App <-> SQLite DB
My first thought was, this opens potential access to that SQLite db to every web app that the user interacts ...
-2
votes
1
answer
90
views
How Can GitFlow Work for Multi-Product Releases?
I am looking to adopt GitFlow for a multi-product repository. This repo contains multiple on-prem applications and libraries. Due to the nature of the products, releases are not frequent and we do not ...
-1
votes
4
answers
213
views
How do you design applications with client-based DBs?
Here's what a typical application that adopted the client-server architecture looks like:
A client-based frontend issues requests to a company backend server
The company backend server accepts the ...
2
votes
2
answers
148
views
How to develop a desktop software with components based on several different technologies
If I give a real example, I want to create a desktop software that includes:
electron js app that communicates with react js using IPC channels.
I need to communicate with software that only has a ...
1
vote
1
answer
266
views
Working with a poorly written piece of software as an entry-level developer with no support or documentation [duplicate]
I'm and entry-level developer straight out of college. I am the only developer at this company.
I feel the challenges I face are different to most people working with sub optimal or very poorly ...
2
votes
1
answer
1k
views
Saving and reading files in user specific application data in C or C++
Most useful or reasonably complex applications need to save data such as user settings or saved games or browser history. I have been working on applications and games in C or C++ but I am not sure ...
1
vote
1
answer
264
views
Architecture review for desktop application with distributed components
We are planning on building a desktop application with a few web components. I want to know how resilient is this architecture.
Essentially the design looks like
Mixing web components with desktop ...
2
votes
1
answer
149
views
Best way to handle versioning between a desktop product and a cloud product when one depends on the other
Let's say that there are two products, product A and product B.
Product A is a desktop product that customers download and install locally on their machine. This product follows a typical versioning ...
0
votes
1
answer
588
views
Is it a bad practice to use cookies for a Desktop Application?
I'm working on a Desktop App in C# that communicates with a Java backend hosted AWS.
I want to deploy on multiple instances and use an Application Load Balancer with sticky sessions but as Far as I ...
2
votes
1
answer
282
views
Direct Database Access for Desktop GUI or via Application Server?
We have a scenario that is in a VERY tightly controlled industrial environment. This is all C# on Windows.
We gather data from different types of sources - sensors monitoring environmental data, ...
7
votes
3
answers
3k
views
How do desktop applications get notified of events over the internet?
I would like to display something on my desktop by tapping a button on my mobile app.
For example, there is a "show cat" button on my mobile app. When I tap that button, a new window should ...
0
votes
1
answer
199
views
Exception handling with failure atomicity in desktop applications
When it comes to exception handling, there are many guidelines and best practices on the web. On of them is to throw early, catch late, or even Don't Catch. So when facing an exception, the current ...
1
vote
1
answer
2k
views
Does it make sense to reuse microservices in a desktop application with an "offline" mode?
Lets say we have a microservice architecture consisting of:
multiple frontend clients, e.g. an Android App, an iOS App, and a Javascript Web Frontend
a Java Spring (HTTP Rest) microservice to access ...
0
votes
1
answer
87
views
In an MVC desktop application, is there a canonical solution to share an immutable value class between multiple components?
Question
In the context of an MVC, desktop architecture, is there a canonical solution or a design pattern / best practice to give access to an immutable value class to multiple components at ...
0
votes
3
answers
771
views
What is the best practice for monolithic desktop frontend-backend communication?
For a monolithic desktop application with two projects - a frontend and a backend, both in C#, what would be the best practice for communication between them?
The frontend needs to make calls to the ...
3
votes
2
answers
194
views
Is it good practice to have applications remove old AppData files when they're no longer needed?
I have a Desktop application that was saving some data to %AppData%\MyApp\old.txt (roughly 1KB).
I have decided to rename the file that I write to to new.txt.
If I push out this change, customer ...
-2
votes
1
answer
147
views
How do you implement an app autoupdate feature from scratch?
I am trying to imagine how Google Chrome automatically updates but have some questions:
Is this against Apple's terms of service? I feel like I've seen somewhere that Chrome for MacOS isn't in the ...
3
votes
3
answers
1k
views
Multiple main windows in one process vs multiple processes
I'm making a desktop application where it would be perfectly sensible for the user to have multiple instances of the main window open at the same time (i.e., with different documents open between them)...
-1
votes
3
answers
808
views
How should I manage SQL Server logins for a desktop application?
I'm looking for a bit of guidance or someone to point me in the right direction.
I have a C# WPF desktop application which accesses a local SQL Server Express database. The application is on a single ...
2
votes
1
answer
226
views
Is it possible to layer an API (REST, GraphQL, etc.) in front of data that is currently only accessible via an enterprise desktop GUI?
Currently, my thoughts are that GET requests would be feasible by using the concept of screen scraping combined with a cron job that runs at a set interval to scrape data from the GUI and sync to my ...
2
votes
2
answers
721
views
Automatically update info on Desktop Client when there are changes in the server
Basically, I have a remote hosted server somewhere https://nnn.com
And then I have the NNN Desktop Client.
The Desktop Client shows information X.
I change information X from the remote hosted ...
2
votes
3
answers
1k
views
Is it worth supporting big-endian for a desktop-only application?
From what I've read (other questions on the site, etc...) the vast majority of desktop systems have little-endian architectures, and Windows doesn't even support big-endian. Now I'm wondering if it's ...
2
votes
1
answer
155
views
When should desktop app save to database using UoW?
So one thing I didn't really think about when designing this personal finance application was WHEN (not HOW) to persist the data. I'm using DDD, a 4-tier architecture, and EF.
It struck me when I ...
2
votes
2
answers
557
views
how to recover from power shutdown while auto update my application
I have a Windows desktop application build in C# which auto updates itself when an update is available. It uses an MSI installer package for this.
Sometimes while updating app, a PC shutdown due to ...
12
votes
2
answers
465
views
Should I lock rows in my cloud DB while they're being edited by a user
I am creating a desktop application that persists the data in the cloud. One concern I have is a beginning to edit an item in the application and leaving it for a while causing the data to become ...
0
votes
2
answers
956
views
Should i be using My own MVVM implementation?
Hi there i've been into MvvM and modular design the last few days, i find it really nice design principle that be scaled and maintained really well.
But here is the thing, i see there are multiple ...
6
votes
2
answers
3k
views
Making a language agnostic Plugin system
I want to make some software which relies heavily on Plugins. I plan on writing it in C++ and will most likely be getting plugins built in C++, Python and possibly Java But most likely C++ and python ...
8
votes
5
answers
4k
views
Writing a language agnostic API?
I'm planning on writing a C++ program which is heavily influenced by plugin modules. Initially I had only thought of making the APi available as an abstract class that others extend. After talking to ...
-2
votes
1
answer
182
views
Web API interacting with local application [closed]
Situation
I have a Desktop Application and a Web Application.
I need the 2 to interact with each other. Such though that when a button is clicked on the Web App the Desktop App activates and ...
6
votes
1
answer
424
views
Using nested classes to modularize large application code?
I'm building a large Desktop application, which will have a range of functionality, for each I wish to have a specific class.
I'm thinking of using a nested class structure to modularize the code and ...
1
vote
1
answer
141
views
Collect DLL usage data (Open Source)
Is it legal to collect some usage data of a open source library?
Let's say, I would like to know Things like These:
Name of the assembly, using the library
Number of Startups of the assembly, using ...
1
vote
1
answer
5k
views
HTTPS site perform ajax calls to native http desktop aplication
I'm working on web app that communicates with a locally installed desktop application to get certificate information from the user machine and perform digital signatures.
Currently it's possible to ...
2
votes
1
answer
305
views
What would be a decent practice to get unique id for each MACHINE
I'm focusing my question on Windows OS, desktop applications.
What would be a decent way to get a unique identification for every machine?
obviously there many ways to do that, such as concatenating ...
4
votes
2
answers
2k
views
Create an app for both desktop and web
Our team is currently developing a hybrid application. It is similar to Sigma Estimates - a GUI with tables, forms, a sidebar with a tree structure, etc. The software allows a user to work with a ...
3
votes
2
answers
1k
views
Onion architecture design question
I recently started working on a new project where the team was considering use onion architecture, which I was not very familiar with, so I started reading about it.
The application is a simple 3D ...
2
votes
1
answer
82
views
How to handle error opening Windows file created by my code
My Windows desktop app creates a file in:
%LOCALAPPDATA%\XYZZY Software\Our Product\foobar.json
One customer on Windows 7 is experiencing "Accessed Denied" errors when our software tries to ...
2
votes
1
answer
2k
views
Can Qt desktop programs be recompiled for Android/iOS as-is?
One of the advantages of open-source programs is that they can be ported easily to any platform simply by recompiling. Qt is also a cross-platform toolkit that can work on several platforms simply by ...
13
votes
3
answers
27k
views
REST API vs directly DB calls in Desktop Application
I am currently planing an application that will be used in a company. It is required to build a Desktop Application. At the moment they are not sure if the application should be available on mobile or ...
-1
votes
1
answer
2k
views
develop crossplatform GUI based DESKTOP application with HTML5/CSS [closed]
I'm experienced wed developer doing stuff for web for a several years. But now my customer need to build crossplatform ETL tool which he want to ship to his clients. And will be much easier if it will ...
1
vote
1
answer
1k
views
License issues re: using Angularjs and Bootstrap in a desktop app [closed]
I'm a web developer and I've been asked to write a desktop app. The languages and libraries that I'm most familiar with are standard web tools (Javascript, Angular, Bootstrap). I'd like to use these ...
2
votes
2
answers
2k
views
Why isn't programming mobile apps more similar to programming desktop applications? [closed]
Well, first of all I don't really know how the hardware of a smartphone is, and I've just programmed for Android. But it feels safe to think that a smartphone is just an old PC with some particular ...
7
votes
1
answer
10k
views
How to design a time tracking or activity monitoring application? [closed]
I am trying to build something like Manic Time - which is an application that tracks what the user is currently working on. It worked flawlessly on Windows, but doesn't support Linux.
It has mad ...
-1
votes
1
answer
744
views
Automatic deployment of windows desktop application [closed]
I work on commercial (windows) desktop application that is subjected to frequent changes, and is installed on multiple locations. Application should only be available to existing users. Until now each ...
4
votes
1
answer
226
views
Rich client persistence without a database
We have a pretty sizable .NET rich client app that currently uses nHibernate and Firebird embedded for persistence. Due to the nature of the app, we need to load the entire database into memory when ...
1
vote
1
answer
78
views
How can I automatically test my app on multiple OSes? [closed]
I have a Python based desktop app that can run on Windows, Linux, and Mac. Each time I make an update, I would like to test that it works on each OS, because I have already had several OS-specific ...
2
votes
1
answer
1k
views
Would one use a 2D Gaming Engine for a desktop application?
I am thinking about a library that I could use for a program to create presentations but I am not sure what one could/should use for a task like that.
What first came to my mind are 2D Gaming Engines ...
2
votes
1
answer
745
views
How to access secure web services from a desktop application?
I'm writing a Java desktop application that will be available to the public. It will contact backend APIs via HTTPS using Jersey client.
I don't know anything about using certificates in desktop apps ...
2
votes
1
answer
2k
views
Multiple websites and applications using one user database
I've got several applications and websites that will be built around one main application. In a perfect situation users will be able to register once and be able to log into the different applications ...
2
votes
2
answers
1k
views
Moving old desktop application to a robust platform [closed]
Several years ago I wrote a desktop application, a small accounting system, in Delphi 7, that is in user in a medium-sized company.
The code belongs to me. I ported another Accounting system that I ...
-1
votes
3
answers
211
views
How to pick a platform for a new application [closed]
What should be taken into account when choosing between desktop and web as a platform for a new application?
There are definitely a lot of arguments for both platforms but what are the most important ...