Questions tagged [web]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
118 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 ...
user avatar
0 votes
1 answer
134 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 ...
user avatar
0 votes
0 answers
46 views

Is it possible to develop a web server microservice-backend with gRpc/bRpc

I've the experience of development of web servers with Go and Python. I knew that there were some web frameworks, such as Beego, Django. I have used Nginx and Beego/Django to develop and deploy some ...
user avatar
  • 211
0 votes
0 answers
35 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 ...
user avatar
0 votes
2 answers
288 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,...
user avatar
  • 111
2 votes
1 answer
315 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 ...
user avatar
-1 votes
1 answer
34 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 ...
user avatar
0 votes
0 answers
19 views

Web api talking to a separate process

I've been working on an application (let's called it AppX) that will be launched on RaspberryPi. It's being written in C++. As it will be a part of my smart home solution, I would like to add a ...
user avatar
  • 267
-3 votes
1 answer
74 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 ...
user avatar
  • 147
1 vote
1 answer
162 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 ...
user avatar
  • 119
-3 votes
1 answer
111 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 ...
user avatar
0 votes
1 answer
109 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 ...
user avatar
  • 129
-2 votes
1 answer
35 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: ......
user avatar
  • 197
-1 votes
1 answer
25 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 ...
user avatar
-2 votes
1 answer
328 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/...
user avatar
0 votes
1 answer
103 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 ...
user avatar
  • 111
1 vote
2 answers
569 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)......
user avatar
-7 votes
1 answer
78 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 ...
user avatar
0 votes
1 answer
120 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 ...
user avatar
  • 135
-1 votes
1 answer
401 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 ...
user avatar
  • 101
1 vote
2 answers
267 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 ...
user avatar
0 votes
1 answer
197 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 ...
user avatar
3 votes
3 answers
490 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 ...
user avatar
-2 votes
2 answers
43 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 ...
user avatar
0 votes
1 answer
725 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 ...
user avatar
-3 votes
1 answer
72 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 ...
user avatar
0 votes
2 answers
165 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 ...
user avatar
  • 228
0 votes
0 answers
99 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 ...
user avatar
  • 101
4 votes
3 answers
4k 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 ...
user avatar
  • 183
-4 votes
1 answer
686 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....
user avatar
0 votes
2 answers
51 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 ...
user avatar
1 vote
0 answers
82 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 ...
user avatar
0 votes
2 answers
166 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 ...
user avatar
1 vote
1 answer
47 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-...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
4 votes
3 answers
1k 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
3 votes
3 answers
340 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 ...
user avatar
  • 51
1 vote
2 answers
280 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 ...
user avatar
0 votes
2 answers
2k 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 ...
user avatar
1 vote
1 answer
75 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 ...
user avatar
2 votes
0 answers
2k 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 ...
user avatar
  • 29
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 ...
user avatar
0 votes
1 answer
120 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 ...
user avatar
19 votes
4 answers
7k views

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

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 ...
user avatar
6 votes
3 answers
316 views

How to solve form submission consistency in a web application?

Imagine that you have a form with which you can edit some data, let's call it a Person form. Let's imagine that a user opens up this Person form, receives the current data that is stored in the ...
user avatar
  • 349
1 vote
1 answer
137 views

What's the current state with Application-Level Profile Semantics? Anyone use them?

Reading books on REST architecture(especially O'Reilly) many times I came across the idea that one should attach data's description into link http header. Link: <http://example.com/...
user avatar
  • 151
3 votes
2 answers
166 views

HTTP Methods - what about only using POST for Ajax calls?

You can find whole articles theorizing when you should use what METHOD in what edge case. It mostly comes down to this; every action needs to be simplified to in just four flavours (GET, POST, PUT, ...
user avatar
  • 305
1 vote
2 answers
148 views

Are two .net web applications necessary?

We have one single internal website. Underneath this website (in IIS) we have two web applications: 1-Main web application 2-Web services (created using the visual studio web api project template) ...
user avatar
  • 11
1 vote
1 answer
72 views

Displaying periodic simulations via web interface

The gist of my problem is that I'm trying to make a basic simulation for periodically collected data. More specifically, given the position of a radio antenna, the RF patterns would be simulated ...
user avatar
-3 votes
1 answer
1k views

Web GUI for Python scripts

I have several but independent computer vision pipelines which were original planned to run by a user via a cmd (task1 -> script_1.py, task2 -> script_2.py and so on). All pipelines share some code (...
user avatar
  • 153

1
2 3 4 5