Skip to main content

All Questions

Tagged with
-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 ...
Bear Bile Farming is Torture's user avatar
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 ...
Bear Bile Farming is Torture's user avatar
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
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 ...
user247763'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
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 ...
hefeteig's user avatar
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 ...
George Sovetov's user avatar
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 ...
Kumaro's user avatar
  • 67
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 ...
edam's user avatar
  • 111
-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 ...
MBen's user avatar
  • 105
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 ...
user227435's user avatar
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 ...
Zerquix18's user avatar
  • 125
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 ...
Utku's user avatar
  • 1,912
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. ...
kev's user avatar
  • 11
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 ...
Silver's user avatar
  • 103

15 30 50 per page