Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [client]

It refers to client-server model where service requester is called client.

-2
votes
0answers
72 views

Best Practice on How to Log on the Client (WPF) With a Secret Key

I understand that secrets in the client are not considered secret. But now, I come across a dilemma, how do other client application use logging on the client or how do they communicate with another ...
1
vote
0answers
34 views

How do I choose the right Websocket API

I'm doing a project where I have to control a live DALI controller and I'm sending data from the website to the controller with Websocket. How do I know what Websocket to use? At the moment I'm ...
2
votes
6answers
212 views

Wait for file(s) in a remote directory to be created, then transfer the file(s) immediately to local computer

I'm wondering what the best practice would be for the following task: I start a program on a remote node, which will generate subsequently new files in a publicly accessable folder. Whenever a new ...
0
votes
2answers
537 views

Open source desktop application and security

I'm currently working on a desktop application in Java (using JavaFX). This application stores some user information, parts of which are sensitive. For example, if the user configures a proxy, it ...
0
votes
1answer
2k views

Client Side or Server Side Calculations?

I was wondering about client side vs server side calculations regarding websites that provide some convenience type service. For example, an online website where you input a certain date and the ...
2
votes
1answer
92 views

Where should my method(s) that connect to DynamoDB go?

I'm a Java developer working on a new module for my app that connects to, inserts, and updates DynamoDB information. For a lot of our projects, I used an MVC design pattern with a service layer to ...
4
votes
2answers
709 views

Design for client-server synchronisation

Background I am working on improving the backend design for a video game. The game is live and working fine, but we want to improve various things. As a video game studio, we often do events which ...
4
votes
1answer
159 views

What is exactly meant by the term “API client”

I'm reading Robert Sedgewick's Algorithms book and I often see the term API client. Please take a look at this exercise: Write an iterable Stack client that has a static method copy() that takes a ...
1
vote
4answers
8k views

Difference between REST server and REST client

I'm reading articles about REST including a tutorial. I've seen this site http://www.vogella.com/tutorials/REST/article.html, and there is a part for explaining the rest as: In a REST based ...
1
vote
1answer
123 views

Is it good practice to save data client-side when it is retrieved from database?

Let's say I have a database with users, groups and messages at the groups. And I have 3 views: Profile view: Where all the details of the user is shown. Groups view: Where all the groups are shown. ...
-1
votes
1answer
112 views

Complete statelessness, how to save password on client in secure way

Thinking about statelessness I wonder how I can overcome the issue of saving the user's password on the client side in a secure but also comfy way. I assume the client always sends credentials to the ...
0
votes
2answers
162 views

Requiring GPL for clients of AGPL Server

I am working on a piece of server software that is licensed under the AGPL. I would like to require that all clients to it be released under a free license (GPL preferable, but I'm open to other ...
0
votes
2answers
61 views

Allowing only users of the official client to upload media to my server. Possible?

I've been toying with a project idea for a while now but can't quite settle on one important detail. The plan is to write a client that can author and upload WebMs to a server for global viewing (...
1
vote
5answers
229 views

Should a client check for valid parameters?

I'm writing a Java client library for a simple API service and I was wondering how much should I be strict for invalid values. For example for an endpoint a parameter should not exceed a certain ...
1
vote
1answer
540 views

REST client library design

I have API accessible via REST. I want to develop library for it. Now, question is, how heavy should the library be? What is the best practice here? Should I wrap the whole API in objects and ...
2
votes
1answer
2k views

What are the pros and cons of using these Multithreading Models in a Client/Server Architecture

In my classes of parallel programming the teacher mentioned three models, dynamic thread creation (create threads according to demand), thread pool (create a fixed amount of threads) and mixed or ...
3
votes
2answers
153 views

How should I refer to data bound columns?

I work often with data-bound applications with WinForms; records are pulled from a database and updated in a client application that I write. Stored procedures are used for all database transactions ...
0
votes
1answer
76 views

Extensible web application where users can upload client-side code

I have a simple web application built with Angular which fetches some state from a web server and shows it to the user. Additionally I want to implement a feature where users are able to customize the ...
2
votes
3answers
226 views

Can one html page with web services replace current server-client technology?

I have everything I need in 2 services in form of REST api's, is it a good idea or even possible to replace my existing asp.net app by writing ONE single html page (embedded with Angular templates) ...
3
votes
1answer
41 views

Quickly reflecting changes across a site to all visitors

Say: I have a website that contains a single toggle switch with 2 states. There are currently 2 (or more) clients viewing the site. and 1 client flicks the toggle switch. How can I reflect that ...
2
votes
2answers
223 views

Should a client ever test server response at runtime?

I'm writing a client application that receives a JSON response from a server. In the past I've run into situations where a developer on the server side changes the JSON response in a way that causes ...
1
vote
1answer
78 views

Send more data, or do client processing?

I have a conceptual problem that I want feedback on. First and foremost, the layout of my system. It contains a server, with many clients connected to it. The clients get fed data from the server at ...
2
votes
1answer
2k views

Rest Client API design and implementation (with RestEasy)

I am working on a design to create a generic rest client for our application for current and future integration's with multiple services (different external systems). Following is a high level diagram ...
1
vote
1answer
267 views

Separate GUI for clients

I am writing a game in which I have a Java server/client system set up. Everything is working great, but I reached a slight problem. I have set up a basic health system, and a GUI to go with it (for ...
11
votes
3answers
30k views

Pushing data from Server to Client without a client request?

I've noticed while browsing Stack Exchange that there are dynamic notifications like "3 new messages, click to show". I want to have this kind of dynamic updating for what I'm about to explain. Let's ...
0
votes
3answers
730 views

Client-Server Application Object with child Objects

Actually I'm going to build an Client Server Application, at the Login I recive the User Object from the Server. An user has a List of tasks, but I don't want to load them at the Login. So what would ...
1
vote
1answer
430 views

Software architecture confusion App-Server/Client

i have a question about the following software architecture: So, there is one database, an app server, which provide a restful service, a client and a framework, used by the app server and the client....
2
votes
1answer
697 views

An embedded C developer wishing to interface some code with a web page

Okay, so as the title says, I'm an embedded C/C++ developer. Right now, I'm working on a project that involves a client/server C application. The server side of the application is running on ...
0
votes
1answer
169 views

Custom mobile app and custom server app [duplicate]

I have this little bit simple and general question. Let's say I build an android app which requires an online server to communicate with. The thing is that I want to make the communication on my own ( ...
6
votes
2answers
472 views

How to handle a large amount of authenticated clients

I currently have made a multithreaded server in c++ for windows, where each connected client gets a thread to themselves which stays running until the client's socket is closed. When a client connects,...
3
votes
1answer
158 views

What's best for a client library: userland code or schema files?

I'm building a client library that consumes a collection of OpenStack API services. I know that as time goes on more services will be added - so I want to come up with a clean and neat way of ...
2
votes
2answers
6k views

What kind of webservice can be called with just a browser url?

Can a webservice be written in such a way that it can be called via just a browser url? For eg. if the webservice is called GetStockQuote, then it should be callable by the following url on the ...
2
votes
2answers
2k views

When is the private key given to the client? [closed]

http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/ I've been reading the article and I haven't really grasped it yet. When is the private key given to the client? ...
-1
votes
2answers
362 views

How to assure client that we will complete our project and won't run away with the money [closed]

I have decided to work as a freelancer. I have developed a software and have successfully given the presentation demo. The client liked it and has agreed to implement the project in his organisation. ...
0
votes
1answer
660 views

Make an app that communicates with an app on a server over wifi [closed]

This is a very broad question, and I'm just looking for a pointer in the right direction more than a specific answer, but it's something I've always wondered and never known. Lets say I have a ...
4
votes
1answer
1k views

constants/enums in API

What are a few ways constants and enums are dealt with when creating an API Client? I'm writing a client in python for our API and I've hit a sticking point with this. We use a lot of mappings to ...
-1
votes
1answer
707 views

A Server sending data to be processed to clients [closed]

About a year ago I had an idea in mind which was using my friends computers to help me process my data, so I programmed a socket server application with boost::asio, and gave the client part of it to ...
5
votes
3answers
821 views

Should we be completely honest to our clients about a time frame for a project?

I have been having this experience for sometime now, when a client needs a software product and contacts me, the client usually wants to know the time frame on which this product will be accomplished. ...
2
votes
4answers
266 views

The right place to embed a parser : Server or the Client?

I'm writing a database management software. It has a client-server architecture where the server has the piece of code to store and retrieve. The client has to get the input from the user, connects to ...
2
votes
1answer
2k views

Building a strong robust client-server system

I need some help with regards to implement a pre-designed system that has 4 components and several constraints. I've spent approximately 50 hours trying to determine the best way to build this system; ...
8
votes
1answer
937 views

How to architect a P2P application

[Moved here at the suggestion of SO users (10k SO+)] I'd like to develop a peer-to-peer application. While I have a lot of experience in LOB apps, I'm new to the P2P arena. I've got a rough idea of ...
0
votes
1answer
66 views

Should I re-download my server data after each change?

I have a simple DB editor that sits on the client. When I make changes via the editor, should I re-get all my data, as some of it is changed, or can I just do a check to make sure the procedure ran ...
1
vote
1answer
424 views

Which .NET technology would work as an improvement for this client/server application?

I am helping a friend with his rewrite of his .NET application, currently using WinForms + sockets, which is a client/server program that currently has on average ~120 concurrent users (sending ...
10
votes
2answers
752 views

What to do when a client asks for something unreasonable (from my point of view)

I'm a freelance programmer and recently I finished a website, it all works fine but there was one user that complained to my client that he couldn't log in. This problem was clearly a cookie-...
2
votes
4answers
2k views

AGPL License - does it apply in this scenario?

There is an AGPLv3 based software (Client) that makes web service calls (using SOAP) to another software (Server - commercial, cloud based). There is no common code or any connection whatsoever ...
2
votes
1answer
2k views

Should I Use WCF For My Purpose?

I wrote two programs that server and client can connect to each other (one program for server and another for client) with their IP addresses (socket programming). Now I want to modify it so that if ...
2
votes
2answers
436 views

Ambiguous program requirements

it seems that most of the programming exercises that I am currently doing, are a little bit ambiguous when it comes to specifying what should I do. When programmers work with clients, are the clients ...
23
votes
7answers
4k views

What to do when a client has unrealistic expectations? [closed]

I've been working on a project for the past six months at a client site, since they require data confidentiality and didn't want us to work at our own office. When I showed up alone to this client ...
4
votes
4answers
658 views

How do you convince the client their application's backend needs a rewrite?

I have been supporting a LOB winforms application for a client the last 3 years. The application is built with a simple monolithic architecture and uses .NET 2.0. The application is a core part of ...
1
vote
1answer
189 views

Security using jsonp

I'm writing an app that will make available a set of api functions that require cross site scripting to work. I'll be utilizing jsonp which will allow other developers to consume these services for ...