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).
1,078
questions
6
votes
4
answers
716
views
Improved design for a turn-based multiplayer game using AI?
I'm trying to decide which is the best architecture for a turn-based multiplayer game where the players can be either humans or AI and the UI is optional, for instance because the game can just be ...
2
votes
1
answer
126
views
Do i need to implement Security for my webpage, if it is only connected to a LAN
I am making a websocket server that can communicate with clients.
This server is going to be on a private vLAN channel on a public place, AKA only the staff have access to the network which the ...
0
votes
1
answer
932
views
Should I access the backend directly or through an API layer?
Please allow me to ask my question using an example where we have a database with flight data and I want to make a web app where users can search, select, and book a flight.
I wrote some classes ...
2
votes
3
answers
632
views
Modelling recurring events
I am in the process of writing a web app to track expenses and which will be multiuser.
Everything is fine with a single expense, but I am struggling to find the best way to represent recurring ...
111
votes
9
answers
22k
views
Fear of web-app not being "future-proof"
I'm a web developer of a small, local SaaS web application. It currently has about a half-dozen clients.
As I continue to design the application, it's become increasingly harder for me to convince ...
0
votes
1
answer
128
views
What are the points of apps like Sketch and Photoshop when it comes to Web Development?
This may be an obvious question but I really don't understand this so if someone can help me that'd be great.
Basically, I am in the middle of developing an e-commerce app for my database management ...
12
votes
3
answers
11k
views
How can I prevent a user from editing my code in their browser?
Description
I'm designing a Node.JS application (more like a full website). The app will send five JavaScript files and will have <script> tags linking them together.
Question
How can I prevent ...
4
votes
1
answer
355
views
User management: third party Identity Management vs local user
Context
Let's considering a standard web application handling cars. Each car has an owner. So the car structure looks like:
cars(
id INTEGER PRIMARY KEY,
...
owner_id *???*
)
For simplicity ...
25
votes
4
answers
11k
views
Why is XSLT so rarely used on the web? [closed]
XSLT is a mature, widely accepted standard.
It can be used in browsers (even in old IE) and on the server side (nginx has an XSLT module, which can be used from programming languages, of course). Its ...
1
vote
1
answer
1k
views
How to get email from Gmail to a PHP app
I'm building a PHP app which should somehow receive emails that are to be imported into user records. None of the solutions I've come up with will work (listed and explained below). I'm hoping ...
1
vote
2
answers
335
views
Directing user to a specific screen on App after he installs the App
I have a very specific use case. We are working on a Project where user can buy the tickets to an event. In this, we are asking the user to enter an Email id where he can receive the email from where ...
0
votes
1
answer
655
views
Architecture layout for SPA application
I have an existing SPA application where api calls from user browser are forwarded to application server hosted separately. My application server have all business logic and repository to connect to ...
1
vote
2
answers
150
views
How can I live-update my internationalization Resource Bundles?
I'd like to add translations without waiting for a full new release.
In other words, I'd prefer that the Resource Bundles not be part of my Git repository; and that they be easily editable and ...
2
votes
1
answer
420
views
What is the difference between Web Workers and Service Workers in Progressive Web Apps
In the context of Progressive Web Apps (PWA) there are two terms that I am trying to better understand:
Service Workers, and
Web Workers.
What is the difference between them and their intended use? ...
-3
votes
1
answer
218
views
Database design for online applications
I am developing an Online Application portal. But I am stuck in designing my database tables, and am unsure about the best approach to take.
Background: how the portal is supposed to work
Let me tell ...
2
votes
1
answer
791
views
Web application with relational database - best practice?
I am currently designing a web application which is pretty similar to Twitter but with some unique features for my company.
Technologies are Vue2, Spark framework and PostgreSQL.
I am trying to ...
6
votes
3
answers
364
views
How to solve form submission consistency in a web application?
Imagine that you have a form with which you can edit some data, let's call it a Person form. Let's imagine that a user opens up this Person form, receives the current data that is stored in the ...
1
vote
1
answer
35
views
Web Crawling Form Help Needed [closed]
If I have a form built on my website. How can I get that form 1 to plugin results into another websites form 2 and extract information to display on my website?
For example, if I wanted to create a ...
0
votes
0
answers
201
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 ...
9
votes
1
answer
3k
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
3
answers
161
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
1
answer
166
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
2
answers
190
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
1
answer
128
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
2
answers
113
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
1
answer
157
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
0
answers
78
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
3
answers
258
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
0
answers
248
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
...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
328
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 ...
-2
votes
1
answer
468
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
2
answers
154
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
2
answers
146
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 ...
1
vote
1
answer
419
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 ...
2
votes
1
answer
3k
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 ...
1
vote
3
answers
112
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-bottom:...
1
vote
3
answers
168
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
0
answers
43
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 ...
16
votes
1
answer
73k
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 ...
1
vote
1
answer
817
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
1
answer
523
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 ...
2
votes
1
answer
278
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 ...
1
vote
2
answers
9k
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
3
answers
215
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
1
answer
203
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
2
answers
124
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 ...
4
votes
5
answers
10k
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
1
answer
137
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
2
answers
1k
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 ...