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
-2
votes
0answers
20 views

Do I need External CA certificates for setting up Public & Private Key encryption with my website for our users?

I have a website which is used by corporate company with some sensitive data. What we are planning to setup a public private key implementation within our website. While storing the information to our ...
1
vote
0answers
43 views

Setting width/height of unknown images for lazy loading

I have a site where users upload images & can all be viewed on a single page by other users. I want to lazy load images as the user scrolls instead of loading all initially. This is easy enough, ...
0
votes
3answers
42 views

Understanding the importance of Gunicorn and Nginx for Django web development

I'm entirely uninitiated to the world of web development, and only have a tentative grasp on Django and web development through the test server it works through. From the guide I'm reading, the author ...
2
votes
2answers
316 views

Does OOP overemphasize the importance of noun and thus put action/verb in the less importance position ? [closed]

Steve yegge wrote an article called "Execution in the Kingdom of Nouns" back in 2006, 14 years later I still find the points he made valid. For example, "Action is what gives life its ...
-1
votes
1answer
30 views

Best practices for data manipulation to use in admin dashboard application?

I am trying to create admin dashboard to track sales and inventory. Using React front end and Django rest backend API. Right now I am pulling sales and would like to make some charts. What's the ...
0
votes
0answers
42 views

Handle big data sets in a web application in combination with real-time communication between web-clients

We have the following use case to be developing: A web application that shows a data table / data grid with up to 100000 rows and 30-50 columns. Each column is filterable and sortable. The web ...
-2
votes
0answers
48 views

Media storage management in chat application (quotas ?)

I'm building another of those in-browser web chat application as a side project and I'm coming to a point where I want users to be able to exchange media (picture, video and audio files) directly ...
1
vote
0answers
59 views

Best practices for embedding an application in a website

I've written an embedded app in Javascript/HTML/CSS that allows people to schedule services. Here is an example installation in production right now: https://azureautodetailing.com/schedule-online.php ...
0
votes
1answer
36 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 ...
1
vote
2answers
74 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
47 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
43 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 ...
-2
votes
1answer
54 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 ...
-4
votes
1answer
71 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 ...
5
votes
2answers
257 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
0answers
38 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 ...
0
votes
1answer
134 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
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 ...
1
vote
0answers
52 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 ...
46
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 ...
2
votes
3answers
175 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 ...
3
votes
3answers
284 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
24 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
114 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 &...
-2
votes
3answers
136 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
0answers
36 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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
32 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
66 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
255 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 ...
0
votes
3answers
137 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 ...
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 ...
-1
votes
1answer
93 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
44 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 ...
1
vote
0answers
87 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
67 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 ...
-4
votes
1answer
45 views

When making websites for clients, what's the best way to handle payments that clients pay for, but you design?

When making a website for a client, how do you deal with payments (hosting, theme, plugins, software, ect) when you are setting everything up for them, though the client will be paying for the systems/...
-5
votes
1answer
58 views

What is a good book to learn JavaScript for complete beginners?

I could not find a good book for learning JavaScript. I Googled but most books seem to assume that you have some programming experience and don’t teach from the ground up. They assume you should know ...
0
votes
1answer
248 views

Understanding when to use plain HTML CSS JS vs Frameworks

Looking at the web development landscape I see that there is two approach to making websites. If the site is simple you're better of using HTML, CSS and JS. If the site is complexe it's worth it to ...
1
vote
2answers
97 views

Web server archicture

This may seem like an odd question but it's something I've yet to find a "proper" answer for. I've tried googling but I don't get anything useful (maybe I'm looking for the wrong terms). I'm ...
0
votes
2answers
78 views

How sensible is it to build a website/app etc. using an external api?

Wanting to expand my programming horizons I recently started building a website. I have started to build up my website and it is heavily focused around an external api. The reason for using this api ...
1
vote
1answer
159 views

How to update HTML/JS client from PHP server without refresh intervals?

I am building a simple client-side web page that can be updated from an admin page. I am using PHP for server-side manipulation of the client targeted page. The setup feels like an overkill to me: ...
1
vote
1answer
45 views

Angular Folder directory approach

I know the proper folder structure for an Angular application should be like this: /app /core module /components /services /feature module /components /...
0
votes
0answers
137 views

Structure of constants between back end and front end

I have a form that's being submitted from my front end to my back end, and the back end is responding. I'd like to ensure that they both send JSON in a format that the other side will interpret ...

1
2 3 4 5
30