Skip to main content

Questions tagged [web]

Web is referred to a network environment without any specific web frameworks used in programming.

Filter by
Sorted by
Tagged with
-3 votes
1 answer
141 views

How are 413 requests handled by servers [closed]

I sent a search string to google that responded back with a 413 error stating that the request content is too large. Also, I got back: 400. That’s an error. Your client has issued a malformed or ...
Bear Bile Farming is Torture's user avatar
0 votes
0 answers
73 views

Best Practices for Managing State in React Applications

I'm currently developing a web application using React and I'm looking for the best practices for managing state effectively. I've come across several methods such as using the Context API, Redux, and ...
Tarun Rathore's user avatar
0 votes
0 answers
36 views

Webapp/Webserver architecture patterns for shared components

Motivation: I am building a webserver that is essentially a dashboard app. Users make requests and get analytics data and visualizations back. Multiple users can be in the same "workspace," ...
StarFox's user avatar
  • 101
1 vote
1 answer
111 views

Clean architecture in webapp : how to compose a page which needs to call many use cases?

I'm writing a pretty common Symfony web application, in which HTML is server side rendered (it's not an SPA application). To illustrate my question, let's take a pretty common fictional eshop ...
sgt-hartman's user avatar
1 vote
2 answers
343 views

Clean Arch: Where to put HTTP request inputs handling logic (dto) before calling the service layer

I'm refactoring a common web app (not spa but traditional server side html rendering). The design/code organization follows more or the less the Clean architecture concepts (ie: controller calls a use ...
sgt-hartman's user avatar
0 votes
6 answers
744 views

Can a web server accept a plain test file upload without additional server side scripting?

I've been trying for days to upload plain text files to a web server (both IIS and NGINX) via HTTP PUT/POST, from a C# desktop app, unsuccessfully However, I'm no further along. I have had various ...
mountainred's user avatar
0 votes
1 answer
141 views

when would I need state management like redux in my e commerce app?

I am new to React and web development generally so please try to understand if the question seems dumb. So, I am currently making a simple e-commerce app and I was thinking of using state management ...
Solruhama's user avatar
1 vote
1 answer
585 views

Is 10 KB a large amount of data to pass around each time a user makes an API call?

Each time a user of my APP / website interacts with the APP such that it makes an API call to the backend, the backend will make an API call to the mongoDB database to retrieve the document that holds ...
Bear Bile Farming is Torture's user avatar
5 votes
3 answers
968 views

Group set of commands as atomic transactions (C++)

We're designing the architecture of an embedded device (esp32). One of the tasks is that the device should connect to the internet and use a preprovisioned redeem code to register itself with our web ...
glades's user avatar
  • 419
0 votes
2 answers
149 views

How to verify that a legitimate (but unknown) remote asset from an unknown source has not been compromised and that its integrity remains intact?

I am familiar with and see the benefits of Subresource Integrity (SRI). I understand that with SRI, once you've added a script reference with the correct integrity attribute, if the remote script is ...
Rounin's user avatar
  • 285
2 votes
1 answer
1k views

How does resuming downloads work?

I have seen download managers manage to resume HTTP downloads from where they stopped. How are they able to resume downloads? Is it related to the Accept-Range Header? Or are there other mechanisms ...
Vipin Menon's user avatar
0 votes
0 answers
121 views

Handling realtime notification receivers in a paginated application

I am working on an application right now, which is fully paginated. The application basically providers the client (a browser SPA) with a list of all data items other users added, and it does that in ...
nugetminer23's user avatar
0 votes
2 answers
1k views

Is it possible to implement a RESTful API with a protocol other than HTTP(S)?

I was confused by the distinction between REST and HTTP, and I found this article that cleared things up for me. In summary, it explained that REST is a set of general principles for web communication,...
T Hummus's user avatar
  • 111
2 votes
1 answer
467 views

How to balance 'efficient' vs 'clean' code? [closed]

I have been coding in python for a little over a year, and I have learned a lot and developed quite a few applications, in the process. I do not program for my profession, I simply program ...
NewCoder18's user avatar
-1 votes
1 answer
114 views

Client side validation with Jquery - MVC C# app

I am working on a very LEGACY MVC App using C# which is built from 2009. They dont have any client side validation at all. In other words, they dont use Validation mechanism provided by MVC framework ...
NinjaCoder's user avatar
-3 votes
1 answer
92 views

Choosing between network optimisation and CPU usage in clientside web development [closed]

I'm working on a CSS library that includes hundreds of selectors and rules for quick templating instead of writing regular CSS. This is used as a replacement of attr() CSS function until it works for ...
Tot's user avatar
  • 147
2 votes
1 answer
1k views

Best practice for deleting resource from web page

So I have been down the rabbit hole of finding that HTML forms don't support DELETE requests, and then looking into mimicking the the behaviour with a Javascript fetch request (but it is not ...
Max888's user avatar
  • 129
-3 votes
1 answer
116 views

Why is there no web standards for charts? [closed]

Charts are a pretty common thing on the Internet. So that made me wonder why there are still not some web standards for the charts? I thought that it would be cool if we had some sort of built-in ...
daniilorain's user avatar
2 votes
1 answer
604 views

What is the use case of BroadcastChannel API?

I'm reading about BroadcastChannel API https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel . It seems that it is already on market for a long time, and quite cool as well. However, what ...
Jake Lam's user avatar
  • 159
-2 votes
1 answer
50 views

What is the correct terminology for the components for a CURI?

Given a curi like [auth:password_reset_confirm], what do you call the part before the colon and what do you call the part after the colon? I have a json payload with come CURIs that look like this: ......
Neil's user avatar
  • 229
-1 votes
1 answer
29 views

Can I store product manufacturing data and a ULR into the same QR code?

I'm manufacturing a product that I will be selling to retailers throughout the United States. I want to be able to track the products manufacturing date, who we sold that batch of production too, and ...
bender1227's user avatar
3 votes
2 answers
3k views

Possible to have completely offline PWA?

I've been learning about Progressive Web Apps and how they can provide more offline functionality within a native app-like feel. I want to give users the option to download a whole site (all pages/...
frownyface's user avatar
0 votes
1 answer
285 views

Should I decouple domain models from IIdentity in ASP.NET core?

I saw a lot of examples of decoupling domain models from Identity models. For my knowledge, currently IIdentity is included in standard .NET library, so is this actual now and should I follow this ...
FoxPro's user avatar
  • 111
1 vote
2 answers
3k views

Patterns for keeping two states in sync?

A problem been thinking on... I'm on an application that involves two web maps, both showing the same data but in slightly different situations basically (say a different basemap or projection, etc)......
Carson Wood's user avatar
-7 votes
1 answer
95 views

How would one 'falsify' data collected of you by companies using software? [closed]

Since we live in a world where basically all your web activity is being tracked by some company or your ISP. I was wondering how to 'falsify' the data they collect. For instance by having software go ...
Bas Velden's user avatar
0 votes
1 answer
125 views

Should end-users enter Dates or Numbers based on their browser locales vs based on the page content language?

I have a website for international users. Let's say the website supports English users only ( All texts on the website are English words ). The website has a submit form that the end-users of the ...
LHA's user avatar
  • 135
0 votes
1 answer
1k views

What are downsides to opening local html files in the browser?

Let's say you have a scenario where you want to build a simple web stack (html/css/js) prototype to share with someone. I am a little unclear on whether or not I want/need to use a small web-server to ...
z0d14c's user avatar
  • 111
1 vote
1 answer
325 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 ...
user247763's user avatar
0 votes
1 answer
203 views

How to create lots of web projects that are copies of each other (90%) but also have some unique elements (10%) in each? And that also support updates

I have a web project in. Say, it's in Rails, or any other well web framework. And I plan to be creating copies of it and running them all. Let's say, it's a blog. Each blog will be deployed on its own ...
zirnamaraji's user avatar
3 votes
3 answers
506 views

Do I need to know about the history of the web and .NET?

As a .NET developer (for 5+ years) some times I think I should know all about the history of the dot net and also how the web was formed. However, I overlook the question by some justifications which ...
Kayvan Salimi's user avatar
-2 votes
2 answers
60 views

Interconnected technique for web, mobile and desktop

I am planning to do the university project with the Desktop application + web application + mobile application, I have planned to use languages for these 3 as below: Desktop application: Java SE Web ...
Mujitha Manorathna's user avatar
1 vote
1 answer
1k 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 ...
BreezeWind's user avatar
-3 votes
1 answer
77 views

Can TLV theoretically be used for browsers?

Compared with HTML (Hypertext Markup Language), TLV (Tag-Length-Value) also can be used for a data representation. If TLV is designed smart enough, it can represent hierarchies and trees with no ...
Christina's user avatar
0 votes
2 answers
187 views

How is fast-scroll simulated?

I've noticed on web and mobile apps, when scrolling down to the bottom of a list with thousands of entries it reaches the bottom instantly but appears to be scrolling through every entry. How is ...
Adam's user avatar
  • 272
0 votes
0 answers
160 views

Creating a webhook server / sender

I'm now working with an API project, where I'm developing new API endpoints and the final result at the end of the life cycle is as follows: a client should receive updated data out of what it sent to ...
simkusr's user avatar
  • 101
6 votes
3 answers
7k views

Data from one microservice to another

How does one service get the data from another service? I will give few examples: 1) Let's say we have two services which need to share the data: User Service and Order Service. Order Service pretty ...
DarkZ's user avatar
  • 203
-4 votes
1 answer
3k views

Why isn't React recognizing the CSS file I've linked in Index.html?

I've built a meme generator using React as an early project to master the basics. I have 6 files in my "mememaker" folder on my desktop, which I created using "create-react-app". They include: index....
Tanishq Kumar's user avatar
0 votes
2 answers
235 views

Normalising pagination regardless of the target source

I have a service that fetches data from a target source (not through an API but via scraping) which can change. I want to do pagination so that I return 35 items per page but the target source is 25 ...
Alexander Hunt's user avatar
1 vote
0 answers
93 views

Architecture recommendation for dynamic integration of algorithms/scripts

I am looking for a simple software architecture that is able to evaluate user data using different versions of algorithms. According to my concept, the user is able to upload tabular data via a Web ...
Mr. Rookie's user avatar
0 votes
2 answers
197 views

Possible microservice based design

Here are the design considerations for a software. The querying of data should be as fast as possible (reader <1s, writer <2.5s possibly since it also take time to reach the client end web or ...
Simple Fellow's user avatar
1 vote
1 answer
108 views

How can I modify web content on a mobile browser?

I want to build a small extension for major browsers that modifies the HTML and CSS of certain pages. On a desktop browser, this can be accomplished easily. On mobile browsers, however, content-...
Arseniy Banayev's user avatar
1 vote
2 answers
5k views

Http Status Code When Downstream Validation Fails

I have an API that charges for an order. It accepts the orderId and the amount as inputs. Then it makes a '/charge' call to the downstream, which returns a 202. Immediately after this call, it calls a ...
Prashant Pandey's user avatar
4 votes
3 answers
2k views

REST API: what should PUT do with complex objects?

Let's suppose I have the following objects in my domain: class Warehouse { int Id; string Address; Item[] Inventory; } class Item { int Id; string Name; int Price; int ...
user avatar
4 votes
3 answers
461 views

Possible alternatives to excel as business logic implementation

I just started my internship as a computer science student. The project I'm working on is web based price calculation. Previously, the price calculation have been done in a quite huge excel ...
Hiromi's user avatar
  • 61
2 votes
2 answers
340 views

Who or what exactly does the "Same Origin Policy" aim to protect

As I understand the "Same Origin Policy" is a browser security feature that aims to protect the user. It prevents scripts to load data from another webserver (typicall with ajax). So esentially there ...
hefeteig's user avatar
1 vote
2 answers
3k views

Rest API POST with illegal data in parameters: Bad Request or 404?

Take a hypothetical camera company providing an API to manage its users and cameras. Each user owns cameras, and every user of a camera has a role assigned (one of admin, operator, viewer - these are ...
Crearo Rotar's user avatar
1 vote
1 answer
200 views

Should all my asp.net MVC controllers use Web APIs?

The thing that I don't understand is the prioritization between MVC Controllers and Web APIs. Consider I want to make a website. I can either program to APIs and for the presentational layer, force ...
user335505's user avatar
1 vote
0 answers
3k views

How to support anonymous user in web application?

I work for a publishing company that also provides content distribution to their users. In order to access a piece of content the user must be entitled to do so. Traditionally this authorization check ...
Leandro's user avatar
  • 27
0 votes
2 answers
163 views

Allowing a user on one page to be able to cause an event on another

I would like to allow a set of users to be able to submit a form on one page, and then it would cause an event to trigger on another page. For example: Submit Page: Includes the form, the user ...
Ollie Pugh's user avatar
0 votes
1 answer
130 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 ...
DylanG1991's user avatar

1
2 3 4 5 6