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.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

When dealing with session level data in a web app, is it better to maintain a static store of that data, or pass it around as needed?

I have a web app that is capable of connecting to multiple databases that are identical in structure but contain different data; each of our clients who uses the app gets their own copy of the ...
0
votes
1answer
127 views

Modular code how do they really fit together?

Let's say I am developing an ecommerce application. And I have modules organized in certain way. Products Coupon Tag (can be used as brands and linked data) Offer Now what I want to achieve is user ...
1
vote
2answers
65 views

Automate clearing everything (database tables, log files, etc.) and starting from a fresh state during development?

The Issue When I'm fixing a bug during web development projects, I often find myself cleaning out the existing (tainted) database records, clearing out log files, etc. I do this so that I can start ...
-3
votes
1answer
45 views

How can I display user's documents (pdf) to them on a website?

As the title suggests, I need to create a document viewer such that a user can log into our website and view the files tied to their account. The reason I'm struggling with this is that the files are ...
1
vote
0answers
34 views

Golang / React Webapp Architecture

A project is structured as so: A build server listens to changes in two repositories: a frontend and backend repo. When it picks up a change it builds, tests, and deploys the updates to a production ...
-4
votes
1answer
68 views

Create an e-commerce that integrates other store

I would like to create an e-commerce website that integrate other e-commerce. I can retrieve their products using APIs or feeds. The problem is that all these information are different from shop to ...
-2
votes
1answer
53 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 ...
5
votes
2answers
247 views

Can the Liskov substitution principle be encountered when building real-world frontend applications?

I know about the LSP, which requires that objects of a superclass shall be replaceable with objects of its subclasses without breaking the application. However I've been building frontend applications ...
1
vote
1answer
45 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 ...
1
vote
0answers
36 views

How can I share authentication information between all the server?

I'm developing a web service that have following structure: Web Server: this is implemented with NextJS which do Server-Side Rendering and serve server-side rendered webpage data to Client. API ...
1
vote
2answers
236 views

Is it hard to “add” semantic web to your website?

I am learning about the semantic web. So far what I know is that the whole idea of the semantic web is to add metadata to the data in your website in order to make the data in your website easier to ...
9
votes
2answers
4k views

Observer pattern over HTTP and TCP/IP (Server-Client)

I have a server and many clients (around 50 clients) who connect to that server based on a web application, which is of course based on HTTP protocol, which in turn uses TCP/IP (correct me if I'm ...
5
votes
3answers
5k views

Service layer returns DTO to controller but need it to return model for other services

Following this post https://stackoverflow.com/questions/21554977/should-services-always-return-dtos-or-can-they-also-return-domain-models and best practices in Software Arch suggestions by Martin ...
0
votes
1answer
242 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
1answer
117 views

Memory Usage for Website

I have been working on a project and Im hoping to get a gauge on possible performance issues before I put it in any production environment. Currently on my local machine Chrome's task manager says I ...
20
votes
5answers
3k views

What is the benefit of having “no runtime errors”, like Elm claims?

Some languages claim to have "no runtime errors" as a clear advantage over other languages that has them. I am confused on the matter. Runtime error is just a tool, as far as I know, and ...
45
votes
6answers
8k views

Why is 2FA usually done after the correct password has been provided?

If all accounts have 2FA for a given product, is there any reason why the 2FA box couldn't be on the primary login screen? Is it bad practice to request 2FA code along with username and password on ...
1
vote
0answers
47 views

Issues Regarding Data Model Abstraction in Golang

I am currently writing a quiz web-app with a React front-end and a Golang backend, with a PostgreSQL database to keep track of the quizzes, the questions on the quizzes, and the choices in the ...
-2
votes
1answer
130 views

Techniques for *large* CRUD apps?

Question, what is a good way to handle large CRUD web pages? My current process is this: I make/edit the SQL table with IDs I get another set of IDs in the HTML form, which is sent to a PHP page In ...
4
votes
1answer
843 views

Separating AngularJs and Django into individual Apps?

I am building a web application using AngularJs and our web server is built in Python Django Rest Framework. I would like to have the two projects separated and not coupled. In my current setup the ...
0
votes
2answers
939 views

How to create data driven views in AngularJS?

I am building a support web front-end for our team from where we can perform various support functions for a number of different sites at which our products run. This typically involves running some ...
1
vote
1answer
2k views

Two way data synchronization between web application and REST API server

I have a web application and a REST API server (Microsoft Dynamics CRM 2016) that I don't have access to it's code, but I have access to the available resources. I need to create a data sync between ...
2
votes
3answers
132 views

Back-end solution for pulling from CSV files

I'm building a data visualization that displays COVID information for the United States, at the city, state, and county level. The ultimate source of truth are three CSVs published by the New York ...
0
votes
1answer
3k views

Jpa Repository save inside a for loop

I have this requirement: Csv Upload (using opencsv) Should display if the record is inserted (if it doesn't exist in the db) or updated (if it exists). Eg.: 5 records inserted 2 records updated. ...
3
votes
3answers
277 views

Why not use SQL to query an API instead of GraphQL?

nalzok posted an interesting question over a year ago: "Why not use SQL instead of GraphQL?". Respondents seem to suggest three main problems: One should not directly expose one's database ...
0
votes
0answers
21 views

Architecture pattern for website service that automatically generates Bootstrap templates

I am working on a web app that will automatically generate Bootstrap sites given a bounded set of parameters. I need help with regards to architectural decisions, as over time, I have made very naive ...
-1
votes
1answer
71 views

Where to store unregistered user data?

Where should I store data of user that is not yet registered? Data that I want to store: Search history (to show appropriate products on a store page) Theme preference (dark / light theme) Cookies? ...
1
vote
1answer
111 views

Writing a SQL recordset as a HTML Table - a bad practice?

I'm maintaining an intranet using ASP Classic. Some of pages looks like one or more HTML tables used for administration tasks. Those tables are obtained by SQL requests. Server side, they are kind of &...
0
votes
3answers
147 views

Proper development workflow for fullstack app with multiple developers?

Say that I am developing a web application that has the following structure: An SPA web frontend (angular in my case) Postgresql database with: A bunch of initial data in CSV's and JSON's that need ...
-2
votes
3answers
135 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 ...
0
votes
1answer
95 views

Potential Solutions to loading Javascript classes unknown at run time

I'm looking for some advice or potential options for loading javascript files in real time long after the DOM has fully loaded. Those javascript files need to be sent over a WebSocket connection, and ...
0
votes
0answers
32 views

Best way to implement Shopify-like cache for products?

I'm currently building a shopping cart from scratch and am thinking of how I can cache the individual products as well as the product lists (e.g. Show All products page, Show 'Cakes' only page, Show '...
0
votes
1answer
61 views

Question about the best way to architect a small webapp

So I'm trying to create a simple website where I run a computationally intensive task on the backend based on input submitted by a form. For reference: my goal is not too dissimilar from something ...
13
votes
3answers
6k views

Does react.js make sense for a static content-driven site?

I'm pretty sold on the react.js model because it makes DOM manipulation so smooth and comprehensible. But I'm wondering how it could be leveraged for a site that's largely static with big blocks of ...
1
vote
0answers
39 views

How does Google Analytics prevent tampering?

I'm building a simplified web tracker as a side project. One of the things I'm unsure about these cloud-based trackers (like Google Analytics) is how they prevent abuse of their platform; in other ...
30
votes
8answers
34k views

Are C and/or C++ viable/practical options for web development? [duplicate]

I am proficient in C, and I am learning C++ right now. I always played with websites (HTML/CSS), and I was wondering if it would be viable/practical to create some simple web apps using C and/or C++. ...
0
votes
0answers
31 views

Persistent logging in browser extension?

I am currently working on developing a browser extension to be supported on chrome, firefox and edge. I want to integrate application logging into it in order to have sufficient data to diagnose any ...
-3
votes
1answer
62 views

What is a good strategy for moving to Continuous Deployment? [closed]

My Goal I'm currently in the process of trying to get my company to adopt Continuous Deployment of the web product I work on. As far as I know, we're the first product in the company to attempt this. ...
-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 ...
-3
votes
2answers
64 views

How do I organize my REST API codes along with the codes for generating the website?

Using github as an example, www.github.com is the website people visit and api.github.com is the REST api server programs will visit. But they probably share some codebase and in my case they share a ...
3
votes
2answers
254 views

Storing a function body inside a database table

Let us say that for a web application, inside the source code of the app you created a function called calculateAmount. Inside the web app, you need to call that function. But for some reason, due ...
0
votes
1answer
44 views

PHP: What code should be removed to its own helper class and where should such classes be located in the filesystem?

The following is an example requesting an explanation for one specific file in one specific filesystem, not helper classes generally. I have configured a LEPP stack on a CentOS server. The server ...
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
3answers
135 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 ...
-1
votes
1answer
90 views

Learning About Different Architecture Set Ups [closed]

I'm sorry in advance if this isn't a good fit here, as it is a pretty open-ended question. In a nutshell: where / how / when does one learn about application architecture(s)? Normally for web ...
27
votes
10answers
5k views

How do I pitch ASP.NET over PHP to a potential client? [closed]

I work at a Microsoft shop doing mainly web development. We had a client who asked us to review (improve) the data model for his web app, but said that he wants to develop his app in PHP (he knows "a ...
-1
votes
1answer
91 views

How to do test-driven front end development?

I'm trying to rapidly develop my frontend, but every time I change my code I find myself refreshing my browser and running some macro to test whether the changes in my code solved the problem. I ...
-4
votes
1answer
43 views

How to create a quiz app without multiple choice?

So I'm trying to make a quiz app where the answers should be typed rather than multiple choice. However, even though there is always one right answer, in english, we have many ways of writing the same ...
0
votes
0answers
59 views

How to implement micro-frontends with Native Apps?

I'm working with Web (react) and Mobile (IOS, Android) teams. And I find that even with a microservices architecture we end up always doing duplicated work at the front end/client level. How to ...
-2
votes
3answers
66 views

Is there a secure way to ensure a data in an API endpoint of mine came from an Instagram endpoint?

Is there a way through encryption/keys/jwt or anything else to ensure that the data being sent through a POST request is only data coming from another request I made on the client to a 3rd party ...

1
2 3 4 5
30