All Questions
Tagged with web-development web
47 questions
-3
votes
1
answer
150
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 ...
1
vote
1
answer
740
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 ...
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)......
1
vote
1
answer
329
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
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 ...
2
votes
2
answers
351
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 ...
26
votes
4
answers
11k
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 ...
3
votes
1
answer
159
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 ...
1
vote
3
answers
302
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 ...
-2
votes
2
answers
367
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 ...
1
vote
4
answers
246
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 ...
0
votes
3
answers
93
views
Do and Undo action in the same / different page - Is there a difference?
If I'm bulding an application like a social network and I implement a like / favorite button with AJAX, is it preferable to use one URL to like / dislike or 2 differents URL?
If I use one, for ...
1
vote
3
answers
1k
views
Would it be possible to transfer an HTML file using a protocol different from HTTP?
I am reading about internet and stuff and just learned that web pages are really just HTML files.
Also, I have learned that HTTP is just a transfer protocol.
So my question is, would it be possible ...
0
votes
1
answer
1k
views
How to stop someone from calling URL on server
I am very new to web development and am trying to create a website using client/server model. From what I understand, the front-end (client-side) calls URLs specified on the server to get information. ...
0
votes
1
answer
1k
views
CGI Scripts and Python / Ruby [closed]
I am new to web programming. Now unfortunately, I was a kid during the advent of the world wide web and didn't have access either. So now when I am just starting out, it feels like there's a myriad of ...