Stack Exchange Network

Stack Exchange network consists of 175 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.

2
votes
2answers
199 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
291 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
73 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
38 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
173 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
106 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 ...
2
votes
1answer
830 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
57 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
43 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
176 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
1k 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-...
1
vote
3answers
77 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
281 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
262 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
560 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
141 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
510 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
60 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
139 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
593 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 ...
19
votes
10answers
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
25 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
379 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
179 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
57 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
330 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
441 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?
0
votes
0answers
52 views

Wrapping microservices HTML result in parent page

I have a set of microservices which provide HTML pages meant for user-interaction and are pretty much stand-alone applications. These need to be "wrapped" by a Java-powered parent website which ...
0
votes
2answers
123 views

Why are web applications said to be in “production” when in reality they are in “release” or “published”? [duplicate]

The definition of production seems to contradict what web developers consider an application in production to be. Why is the term in release or published not used instead? I have been in professional ...
-2
votes
1answer
207 views

Can we build mobile app using JavaScript (NOT Java)? [closed]

I'm confused I use to build mobile app couple of years ago and I know that android is java I read some framework like Ionic HTML/JavaScript Framework that can export to mobile app. I going to have ...
3
votes
1answer
157 views

How do websites/apps deal with so many people online at once? [closed]

I’ve been wondering about this for a little bit, but I couldn’t find much info on Google. What do big websites like YouTube do to manage all the traffic they get without their website slowing down? ...
2
votes
1answer
990 views

Scalable design for a web application [closed]

My apologies if this is the wrong stack exchange site for this question. Please, let me know if I should ask this in a different place. I have recently went to a interview. The interview was for the ...
1
vote
2answers
700 views

Best practices for developing NuGet package alongside consumer?

I'm writing a NuGet package mainly for data access and utility functions that is going to be consumed by multiple web applications, but there will be one main web application that is going to drive ...
11
votes
3answers
356 views

How do I start using Git for differing code bases from different servers?

Background: I've recently inherited a set of projects at my company and I'm trying to sort out some fundamental issues with how they've been handled. Namely, the previous developers (who are no longer ...
1
vote
2answers
153 views

Should checkins into the Master Branch be clean?

We had a debate on our team about how clean the Master branch should be. The application is written and maintained by two people, me (a developer) and a GUI/UX designer. The GUI/UX designer does a ...
-1
votes
1answer
85 views

How can a static site generator link dynamic properties? [closed]

Using a static site generator has the advantage of themes, blog and hosting (via Netlify). How can this be combined with a login form, show a user is logged in and dynamic pages (flask backend), while ...
-1
votes
1answer
189 views

My browser extension modifies the DOM. How do I stop this from interfering with page scripts?

I'm writing a WebExtensions browser plugin that will modify the DOM of the current page when the user presses a button in the toolbar. More specifically, I need to insert HTML tags into the DOM. Even ...
0
votes
0answers
365 views

Design of api for spa applications

I have application for configuring e-commerce website (for example routing, page alliases, ordering, etc.). In old old times in server rendered applications I would have api like: POST/api/things/1/...
2
votes
2answers
174 views

Does it make sense for my website frontend to share the API as 3rd parties

I am building a website which has a single page app frontend that connects to a REST API from the backend. I also want others to be able to write programs for this website. It seems like providing ...
-3
votes
1answer
37 views

Would it be more beneficial to make a subdomain or route in a website?

I am creating an ASP.NET MVC website in which I require a number of different sections such as admin, current deliveries, an inventory of products, etc. Would it be more beneficial, a subdomain for ...
3
votes
2answers
137 views

Breaking up a monolith: Load balancing VS workers

Currently my architecture is very much event driven. Every API request is served as quickly as possible sending events that run after the response. However this is a monolith and the event handlers ...
1
vote
2answers
112 views

How can I analyze a large amount of data sent to my server before writing it to disk?

Note: this is a follow-up to this question. I am developing a website that allows users to upload large chunks of data to my Java backend. Once validated, the data must be stored on disk. Here, "...
0
votes
1answer
75 views

How can I ensure that data uploaded to my server via my website is of a specific type?

I am developing a website that accepts uploading a specific type of data. In particular, the data must be a human-readable text string in the order of thousands of characters. The data is input into a ...
0
votes
0answers
74 views

Put all Single Page Application code inside index.html?

I'm sure I am not the first one who thought about it but couldn't find any mention of this approach on the Internet. What the pros/cons? It will increase the size of index.html by few megabytes, but I ...
-1
votes
3answers
678 views

For what kind of websites is it ok or even better to use SQLite? [closed]

I'm familiar with the process of setting up Postgresql. And I'm also thinking of using SQLite for some of my websites for I don't need that much functionality that Postgresql offers. And I also want ...
2
votes
2answers
630 views

Why do many CMS use a database and not local files?

Most open source Content Management Systems use a database to store field data and then use files in the server's directory for config settings. Why is this model chosen so often and why would it not ...
2
votes
1answer
142 views

Is it bad practice to combine a projects static site with the app?

We are building a react based web app for a project/potential business and I'm wondering if it's ok to include the static site in the web app code? I've always had a separate basic html and css code ...
3
votes
1answer
154 views

How should I merge two separate web application built in two separate frameworks by different teams into one? [closed]

Guys, I am a non-technical founder with some understanding of how the web app works front end and backend, etc. I have a somewhat technical question to help me make a business decision. I hope you ...
0
votes
2answers
104 views

Best practice loading entity with related entities

I am trying to figure what the best practice with loading data from web apis is. Assume you have a model structure as per below: class School { private string name; private List<Classroom> ...