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

Questions tagged [web-development]

Web development is a broad term for the work involved in developing a web site for the World Wide Web or an intranet.

8
votes
4answers
529 views

Why is XSLT so rarely used on the web? [on hold]

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 ...
0
votes
0answers
93 views

How do Chrome notifications work internally?

I recently learnt how mobile push notifications work but did not get any relevant tutorial how push notifications work on the Chrome browser. Here is my understanding how Chrome notifications must be ...
1
vote
1answer
50 views

Some questions on mobile push notification?

I need to work on android mobile push notification. I have recently gone through some of the tutorial on google. I would like to summarize the my understanding first Developer registers the app with ...
0
votes
2answers
73 views

In which layer should a microservice should send a message to another microservice

In our monolith application, the piece of code that used to handle sending SMSes and emails was written in our business layer. Now the responsibility of sending emails and SMSes is handled by a ...
2
votes
1answer
119 views

What should I do when being assigned to a project which relies on a technology I don't know? [closed]

I just graduated from college and got my very first job. I start my first day tomorrow and my boss just told me that I am going to work on a project to build a Spring Boot application. I am ...
0
votes
1answer
62 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 ...
0
votes
0answers
57 views

How to connect a python desktop application and a Django website to communicate data each other?

I am making a Basic Django website that takes a name and score input from a user and shows the highest ranked player. I have a python desktop application and would like to auto send the username and ...
0
votes
1answer
84 views

how can a web server know all the tabs served by it (for the same session) in the same browser?

This is in the context of my bismon program (GPLv3+, on github, still unreleased, alpha-stage), which is mostly a single-page web application (with a garbage collected DSL in it) which uses the ...
1
vote
2answers
56 views

Securing e-commerce administrator panel with a VPN

I am developing the back-end of an e-commerce system, which has customer and administrator type accounts. These two roles do not overlap, administrators are there to do the back office work, while ...
2
votes
1answer
73 views

DDD with web application - How to avoid rule duplication?

Imagine we have a simple rule: A member must be at least 18 years old to join. Imagine we have a C# class for Member and it is our domain model. The rule is enforced in this class. Now we create ...
1
vote
1answer
97 views

How to store blog post in database - React & GraphQL

I am building travel blog using React as frontend Javascript framework along with GraphQL. I am doing this project by myself as a pilot test and I am currently in a phase of translating photoshop ...
2
votes
1answer
97 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 ...
1
vote
1answer
23 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 ...
2
votes
1answer
81 views

Using SPA ( Single-page-application) in production with separate configuration file/module

Problem statement dev team Dev team wants to pre-build the SPA's (Angular App & React App) and provide single package containing JS, CSS, & HTML file. There's no server-side rendering / lazy ...
4
votes
1answer
184 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 ...
1
vote
2answers
78 views

Is there a need to add web sockets for push notifications

Currently we have an application that, upon certain events, will send notifications to users. We use SQS to handle the actual delivery of the notifications. As an example, when a user registers an ...
-3
votes
1answer
104 views

Is it a good practice to always apply CSS styles to the innermost nested element? [closed]

Let's say you want to center the text here: <div class="wrapper"> <div class="content"> <p class="body"> GUCCI GANG, GUCCI GANG, GUCCI GANG, GUCCI GANG, ...
3
votes
2answers
109 views

How can I avoid using global variables in simple Javascript SPA?

To learn Javascript I am building a simple Single-Page Application. It is a basic slideshow app that needs only to process some basic settings and execute some behaviors. The basic structure of my ...
3
votes
1answer
236 views

Java web development

I started to develop web applications not so long ago, and therefore there are a lot of unknown things in this field for me. My question concerns web development using the Java language. Assume that ...
1
vote
0answers
41 views

how to provide search feature on website with ASP.net application

I have an old website (https://www.recordsforliving.com/) with a search feature. Up until recently, it was running on Windows 2012 server, and used Microsoft Index Server, and ... OleDbConnection ...
0
votes
0answers
55 views

How to create a router-like configuration page on Raspberry PI?

We have a Raspberry PI (with raspbian OS) that runs some application, this application uses a local configuration file that contains some data like username, password, server url etc. We will provide ...
0
votes
1answer
82 views

Is my approach to dynamically populating web content ok?

I'm porting my JavaFX application to a web based version, which I'm new to. In my web app the user can search the server database for records. At present I've chosen to present the records in a ...
2
votes
2answers
195 views

Separating API server from HTTP server is really worth to have?

First of all, I would like to tell you guys to understand my English skill even if it's miserable to read it. I'm really trying to learn English nowadays. - I'm currently developing a web community ...
1
vote
2answers
95 views

Developing and debugging microservices locally

The use case: I am working on a microservice based architecture and I am wondering how I am supposed to debug a microservice (with my IDE attached to it) on my local machine where I develop it. The ...
1
vote
1answer
72 views

API Architecture: Should the API update the database on it's own? Or should there be another service to tell it to update the database?

I am working on a project which has a requirement to records in the database every day. I currently have a REST API which does the usual CRUD functions. Should I create a service within the ...
0
votes
0answers
37 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 ...
-2
votes
1answer
167 views

How would the customer edit the website you've sold to him?

I am pretty sure that in one month, I can create a website semi to professional with really good design, functionality and security. I have made quite a few researches and I have found websites where ...
-2
votes
1answer
105 views

How are site-creation services built?

I have always wondered how sites like Blogger, Wordpress.com, Forumotion, Jcink or Forumatic (shut down) work but I can't seem to grasp an idea about how they're internally made. At first sight they ...
1
vote
1answer
470 views

Why is one way data flow (eg. React, Vue, Angular) faster than two way data binding with dirty checking?

I understand that two way data binding can be expensive and slow. For example, imagine a toy grocery list app that lets you list grocery items and their prices, and shows you the sum of the prices (...
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 ...
-2
votes
1answer
38 views

pixels aside, how to cross the uncanny valley of hybrid apps? (performance)

I see the top drawbacks of hybrid (webview/dom) apps, compared to native, as the following, in order time to startup/launch smooth frame rates (no jank) responsiveness to input, instantaneous are ...
0
votes
3answers
173 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 ...
2
votes
5answers
474 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
3answers
69 views

Performance on highly filterable web pages

In our application we have a page were we list our entities with many options to filter and to search. Over time this page got slower and slower especially for large datasets, so we thought about how ...
1
vote
3answers
272 views

How to make the most out of a beginner-level development team?

I now find myself in a scenario, mentoring no more than 8 beginner-level developers and tasked with the development of a reasonably complex SPA website. It is to be developed using React (which the ...
1
vote
1answer
101 views

Can I have a client-side-only web application keep OAuth tokens?

I'm only a student, so forgive me if my understanding is poor or my ideas poorly expressed. I want to create a purely client-side browser application that works with the user's Dropbox account. They ...
1
vote
3answers
416 views

Validate JSON on server side

I'm working on Web Application (ASP.Net MVC) that will allow users to edit a JSON object in the browser and save it to database. To do so, JSON object will be sent from view to server side (...
3
votes
1answer
140 views

What is the standard method of handling errors in a NodeJS web app?

I am currently working on a web application as a learning project, which has a NodeJS backend and uses a MongoDB database; however, I believe my question is not specific to the technologies I am using....
0
votes
3answers
304 views

How can I handle slow loading of images in react?

I have the following problem. I have a react application that needs to load a grid of individual small, fixed size images, up to a few hundreds (think a 20x20 grid where each cell is a 100x100 image). ...
2
votes
1answer
58 views

Rendering and holding state changes in a web app with functional programming

Let's say you have a tic-tac-toe app. There's the game state which can be represented by an array of size 9. There's your "reducer" computes new state from old state and player actions. Then there's ...
0
votes
0answers
31 views

How to design a UI in a browser and simulate various background colors of a 3D app?

I'm working on a new UI for a 3D web app. The app is not ready for the UI to be wired up, so I'm developing just using a web browser for a while. I don't want to design everything with a white ...
0
votes
0answers
108 views

Testing REST API with nested object creation and endpoint transactionality

I'm building a location based REST API using Spring Boot, and I have run into a bit of a testing philosophy question. I have an object called Location that, among other things, requires a Google ...
0
votes
1answer
390 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 ...
17
votes
8answers
1k views

When is it better to optimize a software for better performance, at the beginning or at the end of the development?

I'm a junior software developer and I was wondering when would be the best time to optimize a software for better performance (speed). Assuming the software is not extremely large and complex to ...
-2
votes
1answer
24 views

Web Application in Cloud, how to organise customizations and main releases with our client?

Context : We have deployed a cloud solution ERP (Acumatica) for one of our client. There is only one dedicated Production server on the cloud hosting the app. We have our own local server to ...
0
votes
1answer
299 views

Refactor Django application - split monolith into REST API and frontend

I am in the process of refactoring a Django web app. It is written in the usual MVT style, and I would like to change this for a REST + frontend approach. In my first iteration I would like to do as ...
2
votes
1answer
161 views

Is it a best practice to use a mocking service for testing http requests?

Is it better to unit test using a mock library like 'nock' (nodejs) or to just test the server's http requests directly? Here is an example of my Express server test for testing if my server is up ...
2
votes
1answer
53 views

Is there a limit of requests that an Apache server can make and wait for response?

Let say I have an Apache server that needs data from external API before serving the page. I wonder if there is a limit of requests an Apache server can make and wait for response. Or does it depend ...
6
votes
2answers
287 views

How do you handle JWT expiration for long running calls?

Currently we are debating over securing our multiple micro-services. The major concern is that the JWT token provided to us will expire before the call is finished. (This is in the synchronous design) ...
-3
votes
2answers
264 views

What does it mean, “Php doesn't have its own runtime”?

Speaking of php. It doesn't really have its own runtime in compare to python, ruby or go. Php is jsut a text preprocessor. What exactly does it mean by, Php doesn't have runtime?