Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
42 views

Is giving sub reducers access to the full state a bad idea?

I've got a Redux app with a fairly flat state tree. All sub reducers handle one separate part of the state, and they are tied together with combineReducers. My problem is that in a few cases I need ...
-2
votes
0answers
49 views

How are multiple pages, and a variety of multimedia content on each page handled at the backend? [on hold]

I am learning to apply Flask to my own projects. I have decided to make my own personal blog using Flask. I am struggling with the concept of the numerous amount of pages that will result over time ...
3
votes
1answer
97 views

Single-Page vs Multi-Page and Client-Side vs Server-Side

I am currently researching the benefits and disadvantages of SPA (Single-Page Applications) vs MPA (Multi-Page Applications). Having established that MPA is more suitable for my project, I proceeded ...
0
votes
3answers
125 views

How do I deal with file downloads?

I'm currently working on a script (in PHP, but I'm not sure if that's relevant here) which allows users to set up a simple file-sharing system on their server. I'm stuck when trying to figure out how ...
0
votes
1answer
95 views

Professionalism of implementing the HTTP “QUERY” method in an API

Some years ago, the w3c documented a proposal for a method called QUERY, where query information may be passed in as the request body rather than on the request line in query parameters. You can see ...
-2
votes
2answers
96 views

The best way method to write an app that takes you to a web page that depends on the time in a browser app?

I'm not a software developer at all, but wondering if this would be a relatively simple project for creating an android shortcut. My parents like doing the guardian quick crossword: https://www....
1
vote
1answer
58 views

Collection of APIs making up one Application - How to manage?

We have inherited an application that is made up of small .NET web API's. Each API has its own Visual Studio SLN and git repo. All of the APIs are published to one folder ("All") and that folder is ...
0
votes
1answer
41 views

Mitigate a hacking attempt when it is detected by an app sitting behind a WAF

Let's say I have a web application where my users can log in, and save resources through my API and an ajax call. Now let's say I put my web application behind a Web Application Firewall (like ...
1
vote
1answer
63 views

Are data attributes good identifiers of certain blocks of HTML code?

I have a complex environment which is mostly oriented around / ends up spitting out blocks of HTML, which make up the entire page. Now, I need a way to "point and click" identify any block on my page ...
1
vote
0answers
39 views

Seeking Tips on PAAS Architecture

I've developed a java web app using Vaadin, and using Jelastic/MassiveGrid as the PAAS. However, I need advice on proper architecture for my needs. Desired Outcome: Users land on my homepage where ...
1
vote
3answers
225 views

Programming Language Interoperation for Website

Say I have one website created with the LAMP stack and another with the MEAN stack. I want to create a program which estimates the entropy of a password so that I can add a password strength meter to ...
0
votes
0answers
34 views

Pros and cons of setting super admin in users table

I'm structuring a RBAC in a Web system. My database tables looks like: actions id name resources id name permissions id action_id resource_id roles id name permission_role permission_id ...
-1
votes
0answers
43 views

Is there a way to separate the HTML, CSS and Javascript portions of a web widget?

I have a web widget that is composed of a JavaScript file which generates HTML on a page, generates CSS styling for the page, then runs its own functions to setup the widget. As of now this one file ...
-3
votes
0answers
32 views

Version control workflow for semi-bespoke e-learning courses in a learning management system

I have a set of 20 e-learning courses (of which 3 courses are bespoke) that I offer to 50 clients. Each client requests a different set of courses that they want (anywhere between 3 courses to 18 ...
0
votes
1answer
46 views

How do browser extensions interact with web apps?

I want to build a browser extension that can read/write from the database that is behind my web app. However, I don't really understand how that would work conceptually and what the best practices ...
-1
votes
1answer
96 views

API gateway for web-fronted applications, is it worth it?

So am in the process of developing a new application and am welling to adopt a micro-services based architecture (am new to that). The problem is that the application will be exposed to the final ...
-3
votes
1answer
50 views

I want to sell web app and share source code but not to be redistributed. How do I do that?

I want to sell web app to be hosted internally and share source code with that specific client but not to be redistributed(commercially or non-commercially) to outside the office. They can edit and ...
1
vote
2answers
88 views

Are two .net web applications necessary?

We have one single internal website. Underneath this website (in IIS) we have two web applications: 1-Main web application 2-Web services (created using the visual studio web api project template) ...
3
votes
2answers
64 views

Where do I encode value conversion methods in an MVC web app to display values in different unit systems in the View?

I have a use case where I do internal data computations using English system, due to various precomputed graph coefficients and other data already using the English system. But for output I need to ...
0
votes
0answers
54 views

Does putting javascript in my JSP file make it impossible to test?

The project I'm working on has lots of JSP files, some of which have javascript script blocks scattered throughout and some of these scripts interact with other javascript packages that are served ...
0
votes
0answers
36 views

Mobile app for existing responsive web app?

I have an existing enterprise application that lives on a lamp stack (not single page app). All html is responsive using twitter bootstrap. The question of sending push notifications to mobile devices ...
0
votes
1answer
38 views

Help defining architecture - async messaging; web app as portal in web page

I don't know if this is a legitimate architecture that I've been playing with. It consists of nodejs servers for services and to create web app front ends. And it is using async messaging (Redis) to ...
0
votes
0answers
20 views

Error details helpful for issue analysis?

I have webapplication. My requirement is I need to store exception details in DB in case any 500 error occurs. I am planning to store below details at backend automatically for any request under ...
0
votes
1answer
126 views

Best practices for calling multiple APIs and manipulating data before showing it to user?

I am building a web application that makes use of multiple API's (Google Maps, Weather APIs, and more). I am using Python + Flask on the backend, and Javascript (probably with React, I have not ...
0
votes
0answers
36 views

How to reuse the same code for separate desktop/mobile Web Applications?

I see that websites like Instagram and Facebook do not fully make use of RWD but serve separate websites depending on the target viewport. I can see how this might be better than RWD - less CSS, ...
1
vote
3answers
99 views

If either html+css or an image can achieve my desired decoration, which one should I prefer to use?

For example, to create flow indicator like: Step 1 > Step 2 > Step 3 I can either: 1.Use html+css .concave{ border-left:1em solid transparent; border-top:1em solid orange; border-...
1
vote
3answers
101 views

How use a REST interaface for implementing tasks commands on my Web API?

I'm creating a Web API with a lot of REST Resources. My service also have some tasks which should be started on demand. for instance "Start sending emails". For now I do have a specific URL which I ...
0
votes
0answers
16 views

Web application with plugins: how to transfer orders between plugins

This question is about the application's architecture and is thus language independent. Should it matter: I'm using python 3.6 and http.server. Context and architecture I'm writing a software that ...
1
vote
1answer
136 views

Use Case of HTTP GET Request with a Body

I am maintaining a old .aspx page in which all the data required by the page to show the content is passed in the URL of the GET request as a part of query string. The result of this is that, as we ...
0
votes
1answer
83 views

API design for multi-tenant web app - how to identify users from another system?

I have a multi-tenant web application that allows authenticated users to make changes to their application instance - making comments as an example. I'd like to build an API that allows a user of any ...
0
votes
0answers
24 views

planning class schedule web-app

Hi I'm new to JavaScript and developing web-app but I'm taking on a project (to improve my skills) and I need some help/suggestions So the web-app is a class planner. I'd have a time table with days ...
0
votes
1answer
75 views

Pessimistic concurrency in a web application

I am working on an application that will support working in multiple tabs at the same time. Currently, when a document is locked by a user, other users won't be able to acces the same document but the ...
1
vote
1answer
56 views

How does the concept of http middleware differ from events?

I've been thinking about the most optimal way to implement middleware in my web application and it got me thinking, how is middleware any different from events? Let's say that before a controller ...
0
votes
2answers
349 views

Ways to authenticate and redirect with decoupled front-end web application

I have a coupled web application (frontend and api backend served from the same application). It's worked well for our needs but I've been curious about the differences that would go into having a ...
0
votes
3answers
170 views

How far do you go in server-side validation of POST/GET requests?

Our application had a few vulnerabilities detected by AppScan and we had to add server-side validation to catch SQL injection attempts. But my question is, how far do you go in server-side ...
0
votes
0answers
22 views

Should client initiate a session for a third party application server?

I want a third party JavaScript application which has its own back-end to be authenticated with my application server. The application is initiated using a JavaScript API where I can send my ...
0
votes
0answers
46 views

Best practices to check permissions in a webapp based on api?

Let's say I build an api server and a angular/react/whatever client webapp. I can authenticate and store auth token, no issue with that. Is there andy best practice on how to handle users ...
0
votes
1answer
88 views

How to make an server side application independent of database

We have a server-side application (in JAVA, communicates via web services) that accesses a database. If we wish to sell just the application to a customer, so that he can use his own choice of ...
1
vote
2answers
47 views

Preload Lookup Values on Startup of Application, or Fetch Them As Necessary?

We have all kinds of Lookups in our application, stored in a separate table, LOOKUP_T. Should the application load them all on startup, and keep them in a global lifecycle variable -- or is it OK to ...
1
vote
5answers
305 views

How can a web app work correctly when Internet connection is lost for some hours?

Our team wants to design a Web-Based retail pharmacy management system. A web based solution is good because no user installations are needed. Some of the data fetched from central database are read-...
0
votes
1answer
89 views

Serialized Object Representation in Javascript from PHP

Let's say I have a Widget object that I serialize and send back to the browser at a regular interval. This Widget object includes lots of different members (variables) and other objects along with ...
4
votes
2answers
201 views

How to properly use a database containing common tables in a multi-application system?

I'm trying to determine the best application and database architecture for a project I am working on. The idea is that there will be multiple, separate applications that will all share a few tables ...
0
votes
0answers
201 views

Storing template like data partially as JSON in MySQL or as flat JSON file

I am working on creating a import/export template solution for a web application. The web application has "Departments" (stored as a MySQL table departments) and each "Department" has a set of "...
0
votes
0answers
51 views

Should/Could I add MQTT to this design?

As a project for my university (having to be course-related), I came up with a system which would allow for device management over a HTTP/TCP connection. It would have: "N" number of devices with ...
3
votes
1answer
51 views

Realtime Live Auto updates for web applications

It's about trying to understand the architecture behind how updates to web application is done. I've been working on a non-public website that has bunch of records displayed in a UI, now the ...
0
votes
1answer
281 views

MPA vs SPA for first-load performance & meta tags?

Let there be a static web application. Let the following be a priority: First loading time (ignore cache etc) User experience Search Engine Optimization (meta tags & bot friendliness) When ...
0
votes
1answer
69 views

Hosting what normally would be a windows service inside a web server

We have the requirement to implement some fire and forget long running tasks that fit perfectly into windows services (remote data acquisition and processing, etc) but the requirement is to deploy ...
0
votes
2answers
40 views

How to track past week visits in a web app?

I am developing a newspaper-like MVC webapp with an article content type which has a visits field. The database is mysql. Each time a visitor requests an article, the visits field of the article is ...
-3
votes
1answer
151 views

Is there any reason to use server side rendering instead of HTTP API + JS Frontend? [closed]

When deciding for a new web project I have two design choices. First, I can go for traditional web application design. In this case, pages are rendered on server side. Second, I can go for an API ...
0
votes
1answer
147 views

Web page accessing local system via localhost HTTP API

I have seen this pattern that allows web pages to interact with local system resources through a HTTP interface and I have a couple questions about it: What is this pattern called? What ...