Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [web]

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

1
vote
0answers
23 views

Separating WebRTC Signal Server and Media (SFU) server

I'm working on a WebRTC VOIP product. I am not using peer-to-peer connections, but instead having clients connect to a SFU which distributes audio to everyone involved in a call. From my ...
2
votes
1answer
76 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 ...
9
votes
4answers
788 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
210 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
50 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/...
0
votes
0answers
46 views

Java RPC - Notify client without client-side method call

The current project is a basic java web application written with the RPC pattern and java ObjectStream... Here a some base classes used by my basic framework: public abstract class AbstractServer ...
3
votes
2answers
72 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
90 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) ...
0
votes
1answer
60 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
407 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 (...
3
votes
3answers
540 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
649 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 ...
0
votes
0answers
46 views

Architecture question with specific use-case (Web Development)

I'm new to web development and looking for ideas to build the following prototype. My requirement is to display near real-time stock market data via charts that are updated automatically every five ...
1
vote
0answers
52 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
495 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 ...
0
votes
1answer
807 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
75 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
241 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
99 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
300 views

Angular template variable reference

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
154 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
243 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
65 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 ...
3
votes
1answer
70 views

Should a push hold data or make the receiver trigger an API call?

With WebSockets, when clients should be notified that data changed, I've seen two approaches: the server pushes the data modifications directly within the push; or the server pushes no data, and the ...
3
votes
1answer
81 views

Data to pre-populate a database kept in text files

Many web application require a seed file -- a file, written in the same language as a web application, where I have data to pre-populate a database. This makes sense. Nonetheless, I sometimes see ...
0
votes
4answers
196 views

How to implement “viewed: N times” functionality for an article?

How will I have to update "views_count" each time(!) a user loads my page? It will be costly. And I don't need such accuracy when I update "views_count" after a user loads a page. Then is there any ...
0
votes
1answer
82 views

On an encrypted connection, are packets' destinations visible to a third-party?

Example: I'm in a coffee shop in Maine, using a VPN whose physical location is in Berlin. I know that my packets between Maine and Berlin are encrypted, so someone snooping on that coffee shop's ...
-1
votes
1answer
76 views

Moving XML data into DB [closed]

Is this a "overkill" design to store XML data in a relational database? One point is that these web API REST services can later be used by other applications.
-4
votes
1answer
124 views

Rewrite legacy code or continue to live with it [duplicate]

Last year I decided to create a web-based SAP Business One extension system consisting of a JavaScript SPA written with Aurelia that communicates with two REST backends written in Go and Java (...
5
votes
3answers
454 views

Stored procedures or ORM in web?

I am working in a Peruvian company that develops desktop accounting software(.net C#). We have many clients (companies) each customer can create several companies, in addition there is a new database ...
3
votes
1answer
681 views

Why shouldn't you create a custom uri scheme?

In setting up deep linking to android and iOS apps, I've made some use of custom URI schemes, and they work great, especially as a fallback when the mechanism that allows maps from http: fails (as ...
1
vote
1answer
2k views

Multiple language web application - how to implement?

What is the best way to provide a web application in multiple languages? The focus of my question is not what to think about, but indeed how to do it. The text in the web application: text in the ...
0
votes
1answer
263 views

What's the best way to do horizontally scalable file uploads?

In general, how do websites handle file uploads when they scale horizontally? Obviously if you have a load balancer going to 10 application servers, and each application server just saves an upload ...
0
votes
0answers
249 views

Web-app or client based application in Python?

After a few years of using plain but functional Tkinter GUIs in my Python apps, I would like to implement a GUI which is more visually appealing. With abundant website creation templates all over the ...
2
votes
1answer
2k views

Choosing between Web API and DLL reference

I am confused between choosing Web API or DLL reference for a project I am working on and want to understand recommendations for both the approach. We are having a Web API which exposes an interface ...
2
votes
1answer
592 views

A web browser written using OpenGL, is it practical?

Games written using OpenGL are relatively easy to port to many platforms, and look and feel the same everywhere implementing their own UI. Web browsers have to solve a very similar problem. So, why ...
10
votes
4answers
10k views

Should HTTP status codes be used to represent business logic errors on a server?

I'm at a bit of a crossroads with some API design for a client (JS in a browser) to talk to a server. We use HTTP 409 Conflict to represent the failing of an action because of a safety lock in effect. ...
2
votes
1answer
631 views

Animations and React — is it bad practice to mix them?

I have been in arguments with programmers that mixing elements with animations and react is very bad practice, and that all animations should be in a style sheet because that is something ...
0
votes
1answer
320 views

Is CQRS Appropriate for a Service with Distinct Query and Command Clients

I want to ensure that I understand the scenarios which CQRS is intended. For example, if a web service has two types of clients: many external clients who will only query via GET; they will never ...
1
vote
3answers
97 views

Web form repopulation after invalid submit

In general, what should be the best way to repopulate a form when submission fails due to invalid inputs. Here, invalid would mean something did not pass the check or some validation methods server ...
1
vote
2answers
697 views

Single Web API endpoint for all entities, good or bad?

Situation We are currently developing a large web application (Web API 2) - several entities and thus require several endpoints for each. But suddenly, they changed to "one endpoint fits all" ...
-1
votes
1answer
132 views

How can I translate an ip address to a url in a Java Webserver?

I host my own webserver through Java. The problem is I can only access it through a web browser by using an ip address. Can I spoof a url? For example, I type in 192.168.2.111 into the address bar,...
-2
votes
2answers
210 views

Why don't servers deliver JS and CSS at the same time as HTML?

Since every time a web browser requests a page, we are almost certain that there are .css and .js files to be sent as well. Why do we wait for the browser to parse the DOM and discover those files ...
3
votes
5answers
407 views

Which way of web navigation is more maintainable? (index with $_GET parameters vs physical file for every page)

Let's look at those two scenarios. First, you have a page that is using $_GET vars for routing and only requests/includes the files based on $_GET requests, like as follows: index.php <head>.....
-4
votes
1answer
103 views

Is it possible to detect if a screen is off through a browser? [closed]

With any method not requiring special permissions. I want to find out if a website can tell if my screen is off. Can a browser access that information in any way?
-7
votes
1answer
486 views

How to detect someone tweets using twitter API?

I am learning API. I now want to write a program to send an email once some twitter users tweet. I have found there is an API call (user_timeline) which can get the tweets from an user. So my idea ...
8
votes
5answers
321 views

How do I scale up a bot/service?

I have this bot that I've created for Twitter. It's written in Python. It lives on my Raspberry Pi and I've set up a cronjob to run it every 60 seconds. Part 2 of the project is to build a web app ...
1
vote
4answers
226 views

Is there any situation where there is a good reason to use an anchor <a> element without a href attribute?

I recently came across a website that contained an anchor element without a href attribute. I immediately thought that was stupid, but, could there be an actual situation where having an anchor ...
-4
votes
3answers
2k views

What handles the work of video streaming in ASP.NET MVC?

I want to play video using ASP.NET MVC. In my understanding, the model deals with the video files stored in file system and data in database. The controller retrieves the path of video file from model ...