Questions tagged [web]
Web is referred to a network environment without any specific web frameworks used in programming.
236
questions
-4
votes
0answers
11 views
Web server with dart
Are there any ways to install dart in a web host? I want to make a website fully with flutter and want to use dart as a backend. Are there any compatible methods that I can use to do so?
Please ...
-3
votes
0answers
15 views
Deploying Angular Universal to Firebase Functions vs. App Engine
I'm a bit torn between using Firebase Functions or App Engine for my Angular Universal app and would like to know more about the pros and cons of each.
The biggest priority is trying to keep the costs ...
0
votes
1answer
57 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 ...
1
vote
2answers
129 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)......
-7
votes
1answer
62 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 ...
0
votes
1answer
110 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 ...
-1
votes
1answer
100 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 ...
1
vote
2answers
238 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
1answer
149 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 ...
3
votes
3answers
486 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 ...
-2
votes
2answers
35 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 ...
0
votes
1answer
318 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 ...
-3
votes
1answer
70 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 ...
0
votes
2answers
152 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 ...
0
votes
0answers
48 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 ...
3
votes
2answers
1k 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 ...
-4
votes
1answer
61 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....
0
votes
2answers
39 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 ...
1
vote
0answers
71 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 ...
0
votes
2answers
112 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 ...
1
vote
1answer
42 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-...
0
votes
2answers
490 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 ...
3
votes
3answers
760 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 ...
2
votes
3answers
280 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 ...
1
vote
2answers
260 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 ...
0
votes
2answers
586 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 ...
1
vote
1answer
69 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 ...
2
votes
0answers
836 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 ...
0
votes
2answers
162 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 ...
1
vote
1answer
81 views
What are the points of apps like Sketch and Photosbhop 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 ...
13
votes
4answers
4k 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 ...
6
votes
3answers
274 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 ...
0
votes
1answer
122 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/...
3
votes
2answers
116 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, ...
1
vote
2answers
140 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)
...
1
vote
1answer
65 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 ...
-3
votes
1answer
969 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 (...
4
votes
3answers
3k views
Calling service and repository layer from controller
A question came to the team and I'm asking you guys. Our application uses MVC with service layer. But sometimes our service layer just call the repository, without doing nothing
Our questions is: in ...
2
votes
1answer
3k views
Is .NET ASP MVC core suitable for rapid web development?
I currently work for a company who builds web applications for businesses and entrepreneurs, typically 4-6 projects per year. We currently use Laravel/PHP which allows us to build apps relatively ...
1
vote
0answers
71 views
Working with user timezones in the web browser and reports generated in the back-end
I have searched a lot on how to handle timezone in a web app. My application saves all dates as UTC in the database and returns UTC dates in json requests, so javascript proper handle conversions in ...
2
votes
4answers
1k views
Why use Java as a server-side language over an interpreted language?
Web pages are usually tested by refreshing the page, clicking some UI component, then either writing to a debug log or adding some breakpoints in the IDE... in larger applications, unit tests are ...
1
vote
1answer
2k views
Architecture for Online-Offline Web Application
I have a data-driven legacy system (has a Java Swing client and a JavaEE application server) in my workplace, This system uses a single database for querying and modifying data.
Recently we've been ...
-2
votes
1answer
76 views
Is it a good idea to have a string.xml to house all strings in a web application
In Android Framework there is a string.xml file that houses all the strings for the application.
This allows for easier re-use and possible internationalization. My question is, is there any ...
1
vote
1answer
253 views
Why bother with server-side form submissions in a SPA?
I am all in favour of progressive enhancement and using server-side rendering when fetching a URL. The age-old discussion gives several advantages, such as improved load time, SEO crawling and ...
4
votes
2answers
117 views
Running expensive computation on single server
I'm building a website that lets a user pay for a service that automatically does some video encoding for them.
Encoding takes several minutes. A naive solution would run each encoding job ...
1
vote
1answer
528 views
Angular template variable reference [closed]
Here is a weird problem in Angular:
<input #pin1 type="password">
<p>You entered: {{pin1.value}}</p>
If you type something in <input>, the <p>'s content will not change ...
-4
votes
2answers
229 views
What's the alternative to separate front-end and API? [closed]
In every website I have ever made I usually make the back-end API using NodeJS and run it on a certain port and make the front-end using React and run it on a different port and make requests to my ...
-2
votes
3answers
507 views
Saving a website of 30 pages in one piece to view offline (but with CSS and JS in place)?
How to save a website of 10 pages in one piece to view it offline (but with CSS and JS in place)?
I tried to save a webpage to view offline from the browser via Firefox:
File > Save page as > ...
0
votes
2answers
68 views
One central db for a blog for sever websites — the column “app_id”
I have a few blogs/websites hosted on my vps. Recently I've decided to move a db on a single central server/vps because all the blogs have the same structure in terms of code and structure of the db.
...
0
votes
2answers
79 views
How should I store a list of file names for a webapp?
I want to be able to call on a list of files that are being processed by the server. The problem is, I want to call them on a web app (think React) whenever a user does something. i.e. a list of all ...