Questions tagged [web]

Do not use this tag. For questions related to an aspect of the world wide web, use a more specific tag for it, such as [uri], [html], [http] or [w3c].

The World Wide Web (abbreviated as WWW or W3, and commonly known as "the Web") is a technology that connects various kinds of systems with interlinked hypertext documents accessed using networking protocols.

The credit of inventing the World Wide Web goes to many researchers, but it was Tim Berners-Lee also known as TimBL who not only proposed the idea of WWW (at CERN in 1989) but also gave his full contribution in development of 3 very significant technologies:

  1. Invention of URL (Universal Resource Locator) and URI (Universal Resource Identifier).
  2. HyperText Markup Language (HTML)
  3. HTTP (HyperText Transfer Protocol), a protocol for transferring HTML

The World Wide Web is an interconnected network which works as a bridge not only between two terminal ends (Web browser & Web server) but also to connect client machines to database servers with controlled access.

With a Web browser (client), one can view web pages that may contain text, images, videos, and other multimedia, and navigate between them via hyperlinks. The default port for requests and responses via HTTP protocol is port 80.

A web server, on other hand, receives the client's requests and generates the proper response for it. This includes an HTTP status code (like 200 Ok or 404 Not Found), a list of HTTP headers (which control things like response format and cookies), and the response body (like HTML content).

47790 questions
41
votes
5 answers

Ruby on Rails error "cannot load such file -- less"

I am fairly new to ruby on rails, I have been trying to use twitter-bootstrap as an asset, so I have included it in my Gemfile, bundled and it installs successfully. However I have noticed that it relies on certain dependencies that are not shown…
Nicolas Brown
  • 1,546
  • 1
  • 10
  • 17
40
votes
6 answers

Is it possible to integrate MaterializeCss into Bootstrap

I have asked myself (not tested) if it is possible to integrate both bootstrap and materializecss into the same project Since both frameworks are for the same purpose and probably overlapping in some class definitions etc. is it still possible to…
Nickolaus
  • 4,785
  • 4
  • 38
  • 60
40
votes
4 answers

How to get the raw content of a response in requests with Python?

Trying to get the raw data of the HTTP response content in requests in Python. I am interested in forwarding the response through another channel, which means that ideally the content should be as pristine as possible. What would be a good way to do…
Juan Carlos Coto
  • 11,900
  • 22
  • 62
  • 102
40
votes
2 answers

Creating common controller functions

How do I create some sort of utils bundle that would be accessible from all my controllers? I have this route code in my main module: 'use strict'; angular.module('lpConnect', []). config(['$routeProvider', function($routeProvider) { …
Shlomi Schwartz
  • 8,693
  • 29
  • 109
  • 186
39
votes
0 answers

web site vs web application

What is the difference between a website and a web application?
Praveen Prasad
  • 31,561
  • 18
  • 73
  • 106
39
votes
3 answers

Render GSP view as compact html file

I have gsp view files wherein tags are formatted for readability with whitespaces. I am expected to remove those so that the rendered html file is compact. So, is there a way in grails using plugin or any other means that I can tell grails to remove…
Sumit Shrestha
  • 919
  • 2
  • 8
  • 20
39
votes
2 answers

Dynamic Subdomain Handling in a Web App (Flask)

I'm going to be using flask to create a web application, and part of the application will involve a subdomain (for example, user1.appname.org). I'm not sure how to go about creating these subdomains dynamically in the flask configuration, or how to…
Bruce Collie
  • 501
  • 1
  • 5
  • 4
38
votes
3 answers

How to avoid issue related to Google Tag Manger in page speed to improve perfomance?

We have an official company website. When we check the page speed, the site is ranking low and showing Google Tag Manager script in "Reduce unused javascript". As google tag manager is important for the website, is there any way to solve this issue?…
Rakhi Vijayan
  • 593
  • 1
  • 7
  • 12
38
votes
11 answers

how do I check that two folders are the same in linux

I have moved a web site from one server to another and I copied the files using SCP. I now wish to check that all the files have been copied OK. How do I compare the sites? Count files for a folder? Get the total files size for folder tree? Or is…
Pbearne
  • 1,025
  • 3
  • 12
  • 25
38
votes
3 answers

SVG Transformation - Flip Horizontally

I need to flip this SVG horizontally - can't find anything online. Here it is:
Alex
  • 403
  • 1
  • 4
  • 4
38
votes
1 answer

HTML sections 100% height of viewport

I'm trying to build a one page website with sections (5). I'm trying to make each section 100% width and height of the window. So even if window is resized, the section size adapts to it. I've heard about JavaScript but I didn't find any good…
Nicolas Wilhem
  • 445
  • 1
  • 6
  • 15
38
votes
5 answers

Should data be formatted in the backend or front-end?

I have a web application, and I'm wondering if its better to format the data in the front-end or the backend? They both get the job done, but can someone help me brainstorm which is the better option between the two. As an example, say I have a…
dchhetri
  • 6,926
  • 4
  • 43
  • 56
37
votes
2 answers

What does dollar sign $ do in url?

I have been reading that $ ! ; . , are 'reserved' chars in url. But I can not find what are they reserved for. / path delimiter : port ? query & glue get params = param=val \# link anchor + space . My specific questions: Does anyone…
CoR
  • 3,826
  • 5
  • 35
  • 42
37
votes
4 answers

converting .wav file to .ogg in javascript

I'm trying to capture user's audio input from the browser. I have done it with WAV but the files are really big. A friend of mine told me that OGG files are much smaller. Does anyone knows how to convert WAV to OGG? I also have the raw data buffer,…
himura
  • 1,555
  • 3
  • 19
  • 30
37
votes
2 answers

Adding multiple Set-Cookie Headers in ASP.NET Web

I faced a problem. When you add multiple Set-Cookie headers to the response headers.Add("Set-Cookie", "a=b;Path=/;"); headers.Add("Set-Cookie", "c=d;Path=/;"); actually they are combined and only one header is sent with comma-separated …
mnaoumov
  • 2,146
  • 2
  • 22
  • 31