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
3
votes
1answer
77 views

Should a Web Application File URL Have Public or Private Access

I am debating whether to give my files a public url or a limited private one. I am hosting various files for a mobile/web application. These will include product images and videos. Currently only ...
0
votes
1answer
26 views

SPA browser-based routing: external routing table for both frontend (React) and backend (Go) use

I have a Single Page Application that uses React-Router and is served via Go backend. The pre-built static app is accessible at app.com which then uses app.com/api to load dynamic data. If a user goes ...
-4
votes
0answers
157 views

Do these applications implement a protocol: web applications/services, and application implemented using socket API?

I was wondering what counts a protocol? Kurose's Computer Networking book says The application layer is where network applications and their application-layer pro- tocols reside. The Internet’s ...
-1
votes
1answer
30 views

Best practices for data manipulation to use in admin dashboard application?

I am trying to create admin dashboard to track sales and inventory. Using React front end and Django rest backend API. Right now I am pulling sales and would like to make some charts. What's the ...
-1
votes
1answer
92 views

How to verify a production website corresponds to a certain github repo commit when a company claims they are the same

A company makes their website client side open source and claim that it is exactly equal to a certain version that can be found in a github repo. I want to verify their production website (client side)...
1
vote
0answers
59 views

Best practices for embedding an application in a website

I've written an embedded app in Javascript/HTML/CSS that allows people to schedule services. Here is an example installation in production right now: https://azureautodetailing.com/schedule-online.php ...
-1
votes
1answer
93 views

What are downsides to opening local html files in the browser?

Let's say you have a scenario where you want to build a simple web stack (html/css/js) prototype to share with someone. I am a little unclear on whether or not I want/need to use a small web-server to ...
-2
votes
1answer
54 views

How good of an idea is extending HTMLElement

In the new era of web components MDN (and probably the standard) suggests extending the HTMLElement class. For a long time we've strayed away from doing that, what has changed now for this to become ...
1
vote
2answers
133 views

Can a monolithic architecture provide more than one API?

I have been researching microservices and monolithic architectures, and I can't seem to find the answer to this question. From my oversimplified understanding, a monolithic applications uses the same ...
0
votes
2answers
69 views

How can I cleanly set up debug logging in my javascript frontend?

I basically want to be able to "turn on debug logging" like you can do with many applications that run in a shell. The naive way of implementing it would be to insert a statement like this ...
1
vote
0answers
31 views

Building an app+backend with extraneous functionality for an existing web shop. How to handle authentication on the backend?

This is an architecture question as I've been asked by an existing web store to build a mobile app (they don't have a mobile app) that provides extra functionality to the store, a web admin panel to ...
0
votes
0answers
32 views

Security and cookie practices for an API of a website

I'd like to create a web API. It would be used on my websites and potentially by others as well. I intend to use a single token to authorise users. You see, this API acts as an OAuth2 client (or ...
-2
votes
2answers
87 views

Caching expensive sql queries on first page load

I have a web application with an express/node backend using typeorm and PostgreSQL. The home page in my app is a query with lots of inner joins that shows the user a complex report. This query takes ...
3
votes
1answer
177 views

Business logic on the client side of a modern web app

If we look at the typical software architecture guide, it will have the domain layer, application services, and UI, where domain layer contains the business logic. This is a nice clean separation ...
0
votes
0answers
36 views

How to integrate App package into web and desktop apps using Typescript and React?

I'm building an application that will be served via browser and on desktop via ElectronJS. I'm using Typescript and React. I have separated the whole app in the following packages: ui: it has all the ...
-2
votes
3answers
136 views

Vector graphics are smaller in file size and more scalable than raster, why vector graphics are not used more often in web and mobile app development?

As in the topic. If yes - why, if no - why? I never seen it recommended in any android/web development tutorials to use vector graphics instead of your usual PNGs and JPGs and I find it odd. I checked ...
-3
votes
1answer
56 views

What is meant by a webmodule?

At my job, people sometimes speak about a 'webmodule'. But when I search for this term on the internet, I don't get any relevant results for an definition. (either at google, or at the w3c ) What do ...
-3
votes
1answer
36 views

Using same algorithm in web and Android application

For my project I need to use same algorithm for both web and Android application. I thought about handling the algorithm server side but I feel this would put too much unnecessary load on the server ...
-3
votes
1answer
16 views

Implemented appstore/integrations in an SaaS application

What is the best way to implement a app store in a SaaS application? For example, say you have an ERP application and you want to allow external accounting systems to integrate into your application. ...
0
votes
0answers
57 views

How to handle various types of custom logic in multi-tenancy architecture

In a microservice based multi-tenant web application, there are some cases of tenant specific logic where I am unclear about the proper strategy to handle them. Thank you for pointers. These two ...
-3
votes
1answer
40 views

Do I need MongoDB (or another type of database) to authenticate with Google?

I'm creating a web application using Node.js and Pug, and have recently been looking at adding external OAuth authentication to this site, using Express and Passport.js. I've found a lot of examples ...
-4
votes
1answer
62 views

How do big publishers edit their websites?

I've been trying to develop a website with some success for the past few months. One question that I always have lurking at the back of my mind is whether to develop a very in-depth, powerful admin ...
-5
votes
2answers
41 views

What would be a proper way to build a web-based application interface to avoid html manipulation?

I am currently building a web application where users can place stocks trades. So far I use plain HTML, JS, CSS (forms, AJAX calls, etc.) for the frontend and Django/Python at the backend. I am now ...
1
vote
2answers
109 views

Best way for resource (entity) relations loading in a REST API

We have a problem of load time in our REST API, which is the result of having Fat DTO (nested DTO s) & the N+1 problem (which is off my question), means that we are loading too much data in one ...
0
votes
1answer
32 views

How should I represent a UI state change in the URL?

My web application has a UI. Some aspects of the UI can be changed (e.g. the language, the theme, the text size). As a concrete example, let's assume that I have a "theme" dropdown box available on ...
0
votes
1answer
82 views

Architecture of Online Chess (2-player web-based board game)?

I'd like to try to create an application where 2 players can play chess online. The (possibly) novel feature would be that the process for joining a game would be similar to how Typeracer works. The ...
1
vote
2answers
65 views

Recommended strategy for maintaining a session when navigating from app to browser?

We have an SSO application that provides authentication for a native mobile application, as well as for a web application. There are some features that the web application has that the mobile ...
0
votes
3answers
137 views

React - When is a backend necessary?

So I'm currently playing around with web development as a project, and I've been looking at React recently. My current issue is that I'm having trouble distinguishing between front and back end ...
42
votes
8answers
8k views

Is it common practice to validate responses from 3rd party APIs?

I'm working on a PHP web application that depends on a few 3rd-party services. These services are well documented and provided by fairly large organisations. I feel paranoid when working with ...
0
votes
0answers
68 views

How do I decide if Domain-Driven Design would be applicable to this project?

I'm at the stage where I'm taking my MVP app and trying to refactor and structure it in a way that it is maintainable and extendible. I'm new to software architecture or design so I'm having early ...
0
votes
0answers
32 views

Structure for a spotify / OAUTH web app

I am creating a spotify app that will allow 2 users to compare what songs they have in common. I have never designed a super-complicated web app before, so I wanted to get some advice for the ...
0
votes
0answers
17 views

Unity3d app as web client

Background Having the client web application and the server on the same network is safer, as one can expose the server ports only within the network, instead of making them publicly available. I ...
-1
votes
1answer
41 views

GPS application targeting mobile devices

I'm working on making a product for tracking workers/staffs locations and in that case the application need to be able to run on the phone for at least 10 hours without the phone suddenly closing the ...
1
vote
1answer
159 views

How to update HTML/JS client from PHP server without refresh intervals?

I am building a simple client-side web page that can be updated from an admin page. I am using PHP for server-side manipulation of the client targeted page. The setup feels like an overkill to me: ...
-4
votes
1answer
23 views

Locale specific guidelines for naming people and organisations

I've been researching different approaches to i18n in web applications and have found a lot of great resources for locale specific information like CLDR. There is one area where I really can't find ...
1
vote
3answers
200 views

When do you do a health check?

So, I have an application here that posts requests to another service via REST API calls. I have to implement a health check within my application that ensures that the other service is up. I'm a ...
1
vote
1answer
29 views

Do i need to check the existence of blogId/replyToUserId when building a blog's comment api?

I am building a blog system's comment api, and decided to provide the REST api like: post: /blogs/{blogId}/comments/ put: /blogs/{blogId}/comments/{commentId} These api accept the same parameter: ...
1
vote
0answers
47 views

Designing flow for application

Problem I am working on an application for my personal use. Basically what I require is a 24 hr running cloud application that will get alerted about the new articles posted on provided website links ...
2
votes
1answer
49 views

How does a push-based(write fanout) feed system handle unsubscribe logic, message erasure and new following user's message

I am curious about these three questions when building a push-based(write fanout) feed system: How does it handle the unsubscribe logic? To me, it seems to me that we has two choice: delete or keep ...
0
votes
1answer
114 views

Where is the distinction between a web application and an API?

This question is highly related to this over question. I'm asking another question between I still am a bit confused on the topic. The Issue I Ran Into I currently have a Django web application ...
0
votes
0answers
22 views

Window based singel page applications

Traditionally web applications has been build by one singel page served to the client for every functionality (/settings, /users …). So every time you need a new Gui, you would have to navigate to a ...
-1
votes
1answer
281 views

Recommend a way to handle multiple UI frameworks in a pattern library

We are setting up a pattern library. It's use is on the one hand to document and display our UI elements in a web view. On the other hand, it should also be the place where components are built. The ...
1
vote
2answers
36 views

Multiple thread invocation in Rest Web Service

I have a scenario in our Web Application. GUI invokes a REST web wervice and further web service calls a procedure. However, the procedure returns data properly for most of the scenarios. In some ...
-2
votes
1answer
119 views

Is Python's Django WebFramework good to design Expert System as a Web App?

I hope everyone is good. Well, I am at the end of my degree BS (Software Engineering), and in the third Phase of my Final Year Project named as 'Test Phase'. My Project is to build an Expert System ...
2
votes
1answer
59 views

What's the prefer way when validate a “set” semantic input JSON array parameter in a blog website, silently ignore it or report an error?

I am developing a blog website, for each post, it has a list of tags, just like stackoverflow. There is no doubt that in the server side, i will expose a api like blog/edit to the client side, and ...
0
votes
3answers
642 views

ASP.NET MVC - Using Session Variables or Caching to prevent unnecessary calls. Is it a good practice in general?

I have an application that consists of multiple sections of which each section will need to load data from various API calls. Now I'm thinking of taking advantage of Session variables(or caching) to ...
1
vote
1answer
46 views

How do I make my Browser Extension send a Selection it captured to a Database/Web App so it can be stored in the user's account?

I am building a Browser Extension that captures a Selection made by the user in any web page, and stores it in his account. I don't quite know how to proceed with this, however. My initial thought ...
3
votes
3answers
168 views

Read large JSON file and return a subset for map

To some extent, this is a wide question, because I do not know in which direction I should move. I am using Polymaps to show markers on a map. The markers are static but the visualization depends on ...
0
votes
0answers
64 views

Should I create Thumbnail of video in Web App (client-side) or Lambda/Server-side?

I am trying to create a thumbnail from a video that I'll be uploading to my Web App(React). And then I'll upload that video to AWS S3, and thumbnail(image) to S3 as well. I wanted to know where ...
1
vote
1answer
82 views

How to keep user inputs consistent with assumed inputs to slow computations at the backend?

Background: I'm writing a clinical trials simulator. The user defines future trial options, eg a trial with 100 placebo patients, 200 treatment patients, "optimistic" outcome scenario, etc. There can ...

1
2 3 4 5
21