Questions tagged [web-applications]

Web applications are applications that are accessed over the "web", which can mean the Internet, or an internal network (an intranet).

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Packaging backoffice admin and public functionality together in the same SPA web UI?

Would you ever ship backoffice admin UI functionality together in the same distribution package as the public client functionality? For instance - you are building a public web application for ...
-4
votes
0answers
39 views

Why “the contents of a page displayed at a client cannot be updated in response to changes in the application data held at the server”?

Distributed Systems by Coulouris says AJAX (Asynchronous Javascript And XML) is an extension to the standard client-server style of interaction used in the World Wide Web. AJAX meets the need ...
-3
votes
1answer
65 views

How to understand two-tier and three-tier solutions for web applications?

From Distributed Systems by Coulouris: Tiered architectures are complementary to layering. Whereas layering deals with the vertical organization of services into layers of abstraction, ...
0
votes
2answers
54 views

Preventing double submissions using PRG pattern

You probably know PRG (Post/Redirect/Get) pattern used in web applications to avoid double form submission (and usually conseguent item duplication in a data store). But I keep reading this is not a ...
-2
votes
1answer
69 views

Where do presentation, business logic, and data access layers and MVC components run: server side or client side?

I have some difficulty, when trying to understand about the architecture (presentation i.e. UI layer, business logic layer, and data access layer, and MVC) and deployment (which part runs on client or ...
-2
votes
0answers
35 views

How would one go about separating a WebApp's UI server from the backend logic

I'm interested in knowing how would one go about creating a Web Application in terms of backend organisation. Say you want to create a medium to large web service, or at least an easily scalable ...
-3
votes
0answers
23 views

Arhitecture involved for replicating Dropbox online file viewer

I want to make an online website that will have a feature similar to that of Dropbox. A teacher should be able to upload files so that a student can view them without downloading them first. Dropbox ...
0
votes
0answers
27 views

Design for import/export of data for administrator of n-tier application

In every app, we are always getting requests that simply take data from a file and import them into the system or export from system to file/ftp etc. This is mostly used internally by the ...
1
vote
1answer
58 views

What's the prefer way to construct a personal blog render system, SSR or prerender or anything else?

I am building a personal blog system. The system is more like a platform, means that not only the admin, but all registered users can post their blogs. We've decided that using markdown as the blog's ...
0
votes
2answers
86 views

Http Status Code When Downstream Validation Fails

I have an API that charges for an order. It accepts the orderId and the amount as inputs. Then it makes a '/charge' call to the downstream, which returns a 202. Immediately after this call, it calls a ...
1
vote
1answer
64 views

How to configure front-end web application from environment?

I'm working on a relatively thin front-end web application that talks to an API. Depending on where this front-end application is served from (CI server, staging server, production server, etc.) I ...
-1
votes
1answer
148 views

How do sites like LeetCode & HackerRank test your code for correctness?

Not sure if this question belongs here, but I've always wondered how exactly sites like Leetcode & HackerRank test your code. Say you code in Java for a question like, Find all the duplicates in ...
3
votes
2answers
107 views

Drawbacks of implementing session specific thread pools for a web application

Basically, the idea is to have a new thread pool with a few worker threads in it every time a user log onto the application (a new user session is created). Pretty much all the web applications I've ...
2
votes
1answer
66 views

How to handle frequent update requests to an API which is connected to the database?

In a document editing web application such as Google Docs or Evernote, sync/save has to happen almost instantaneously to make sure data loss is minimal in case of a connection failure or a client ...
-1
votes
1answer
31 views

Order of deletion with web cache overflow

I'm creating an web app who uses a service worker to download its pages in the cache so I can use the web app offline. It is possible that the user doesn't connect to the internet for a while. I know ...
1
vote
1answer
103 views

What is the best way to run multiple instances of a web app that requires state to be transferred between instances?

I'm working on a web app where users enter a "room." The state of these rooms is loaded in the server's memory at all times, and is synchronized with the clients via websockets. What's the best way to ...
2
votes
1answer
38 views

Best practice in synchronized form data validations (Web apps - Client-Server)

Here we go again with topic what was asked many times all over internet, but I not found any good enough answer: What are best practices in making client and server side validations synced? I was ...
1
vote
2answers
399 views

Authentication and authorization - front-end vs back-end dilemma

I'm working on centralized authentication and authorization API system and got stuck in front-end vs back-end dilemma. Front-end person is telling that should to have only one request to that API to ...
0
votes
0answers
30 views

Handling session expiry in a javascript app without losing app state

Currently, when our SPA detects that our session has expired, we redirect to another page (domain) to login through a SSO solution, before being sent back to the original page. This has some ...
0
votes
0answers
48 views

Web application architecture - consistent UI and database

I'm sketching out the architecture of a side-project of mine which is an app that let's logged in users to add points on a map with their location. So the steps would be the following: user logs in ...
1
vote
1answer
33 views

How HttpResponse is mapped back in case of dynamic IP?

I have dynamic IP provided by ISP. Say IP is x I type google.com in browser. Http request goes to google server IP changes to Y. How does http response comes back to my laptop/broswer when IP changed ...
0
votes
1answer
59 views

Pattern to encrypt / decrypt data to / from a server without entering the secret key each time?

The title maybe it's a little bit confusing but I am certain that what I want to achieve is a common pattern, even if I didn't found anything on internet. I'm developing a web app that store ...
0
votes
1answer
36 views

Adding authentication and filtering in the service layer

I am currently developing a simple web-based application that consists of various layers: Model Layer Performs simple CRUD operations and provides access to the databes. Implements functions such as ...
2
votes
2answers
143 views

HTTP 404 for REST calls from client side (browsers)

I'm having troubles with the issue of distinguishing between "real" 404s and 404s where the path is correct but the id, for example, doesn't exist when it comes to client side apps. Most REST ...
0
votes
2answers
118 views

Hosting a standalone .Net Core Web Application

We've created a .Net Core Web Application and are deploying it as a stand-alone exe. The main reason for deploying it stand-alone was to not be dependant upon the version of .Net Core installed on the ...
2
votes
1answer
42 views

Access control to Django App running on private server

I am a self-learning programmer (with a fair share of python knowledge), and currently a company asked to develop a simple application so that they can track employee expenses (and I thought of using ...
1
vote
1answer
145 views

Should I keep my web app front end completely backend agnostic

I am very much an amateur developer. I have written a web app which uses parse-server as a backend. My question revolves around how agnostic the frontend should be to the backend (parse server)? For ...
0
votes
0answers
25 views

What layer/object should I add a Helper method to get all Product objects from?

I have a Helper class and a Service class currently and I read this other question about the difference between a service class and a helper class and got confused. A method to get all products in my ...
0
votes
0answers
17 views

Per-organization subdomains or single domain for a B2B app?

I'm currently in the design stage of a web app that will be set up at the organization level, with the end-user admin managing their own users and policies. Each organization will get the same ...
3
votes
2answers
199 views

Authentication setup advice for web app and its backend API

I am fairly new to web development, and I am learning to build web applications. I am facing a problem figuring out how to set up authentication mechanisms for a multi-user application. Let me provide ...
0
votes
2answers
246 views

Who or what exactly does the “Same Origin Policy” aim to protect

As I understand the "Same Origin Policy" is a browser security feature that aims to protect the user. It prevents scripts to load data from another webserver (typicall with ajax). So esentially there ...
0
votes
0answers
85 views

How can I economically scale to 100+ instances of my .Net Core app without using 1 container per instance?

Currently I have a .NET core application, which fires up a new thread to hold each customer account. Each thread instance: Is long running for many months or more Holds open SignalR Websockets and ...
-2
votes
1answer
166 views

What approach should i use to license a local web application with no internet?

I built a .Net web application for a company and it is going to be hosted on their own web-server that don't have access to the internet. the solutions i have thought so far is to get the MAC address ...
2
votes
0answers
74 views

How to design generic bug-tracker integration? [closed]

I'm looking for ideas on how to design a "generic" bug-tracker integration architecture for Kiwi TCMS (opensource test case management system). Background: at the moment we support integration with ...
0
votes
1answer
107 views

I have a data set of over a million addresses and I want to display the closest N locations to a given address or current location

I am a student working on a personal project which is essentially a location finder that will be on a website. I have a data set of over a million addresses and I want to display the closest N ...
6
votes
3answers
563 views

practical copy/paste clipboard model of recent web HTML5 browsers?

the reader is expected to be an advanced Linux developer, having read ALP and having developed advanced GUI applications on Linux using GTK or Qt; notice that sadly I am not a native English speaker (...
0
votes
0answers
15 views

spatial element count data structure eg: R-Tree, with filtering

Background: The application is a web map application with a LeafletJS front-end and NodeJS back-end with Postgres database. The application is to be used on both desktops and smartphones/ tablets in ...
-3
votes
1answer
91 views

Taking over a project. Should I scrap and rebuild? [closed]

I'm taking over an Opencart solution for a client. This is for my capstone at College. I'm to create a simple CRM (Customer Relationship Management) software that will live as a single page ...
0
votes
1answer
71 views

How do you alleviate stale data in a multi-user web application?

Displayed data can be changed in the underlying database by any user. How do you show the change to all the other users? For instance, I have database tables for building and associated rooms. Any ...
2
votes
2answers
230 views

Should the web client (web browser) be counted as a tier in n-tier architecture?

In a course, a test's solution says the following has a 4-tier architecture But it seems to have a 3-tier architecture to me. I don't count the client (web browser) as a tier itself, but the test's ...
1
vote
2answers
116 views

What are the relations between the presentation/application/data logics, client and server, and MVC?

I appreciate if someone could clarify my confusions about the following quote from Distributed Systems, by Coulouris et al: Consider the functional decomposition of a given application, as ...
2
votes
0answers
55 views

How to approach large amounts of data to be stored and mapped?

I am developing an iOS application that plots a large number of locations on a map, I have selected a data structure that is suitable for the pins on the map, though I am stuck on an approach for the ...
2
votes
1answer
145 views

At what point is having a static class with utility methods better than having an injectable service?

I have a pretty general question about the design of Angular web applications. I'm a big fan of writing services. Sometimes I write services that have only utility methods that don't require state at ...
0
votes
0answers
22 views

Different approaches for user levels

I'm writing a simple web application that allows users to login on different levels. Example: admin: may access to everything in read/write manager: some sections are in read/only operator: only few ...
0
votes
2answers
87 views

User friendly webapp configuration

I'm planning to develop a web application that would run on-premise at the customer. I'm quite unsure about the whole process of setting up the site in a user-friendly way, but mostly disturbed by the ...
0
votes
1answer
45 views

Combining web app and CLI to python package

I'm writing a program in Python that has two different entry points. There's a CLI that processes some data and needs to be installed to run hourly on a server, this populates a database. There's also ...
1
vote
2answers
140 views

What is the best model to catch DB side error?

We have a web application that all update, insert and DB operation procedure handle via SQL Server DB 2017. What is the best way to handle and get error (in Web-app or SQL server error handler?). for ...
0
votes
0answers
11 views

Open ID Connect Session Management Access/Refresh Token vs Session iFrame

We have a web app in which we allow users to log into the app using any Open ID provider(e.g. Okta, Google, Facebook etc.). We want to implement the correct Open ID Connect prescribed methodology/...
0
votes
1answer
90 views

Place Logic In Client Side or Server Side

I'm building a small personal website. Basically, they are 20 short sound files. Clicking a button will play one of those files randomly. Once played, that file will no longer be played. So in total, ...
0
votes
2answers
135 views

How to describe an API-like request that is browser-to-browser?

I'm building a web application that has a feature which allows visitors to directly access resources using URL patterns, for example: www.site.com/client/[clientID]/orders www.site.com/client/[...