Questions tagged [web-applications]

Do NOT use alone. Do NOT use with web-frameworks or libraries like [reactjs], [django] or [flask]. Use for questions about web applications, where a more specific tag isn't applicable. Use with a appropriate language tag([java]) and the specific aspect of web-application, the question is about: http method([post],[get]), errors([http-status-code-404]), client-server communication ([client-server]) or server errors.

A web application is a client-server application that bases the communication on the HTTP () protocol. Often a third layer implements data persistence through a database.

The client side runs in a web browser that sends the http requests, receives the responses, renders the response's content (usually a html page, but also video streams, or applets). The heavy-lifting is done by scripts or compiled code on the server side. Some examples of web applications include Google Calendar (), Zimbra (), and Office Outlook Web Access.

21301 questions
2194
votes
17 answers

How to decide when to use Node.js?

I am new to this kind of stuff, but lately I've been hearing a lot about how good Node.js is. Considering how much I love working with jQuery and JavaScript in general, I can't help but wonder how to decide when to use Node.js. The web application I…
Legend
  • 104,480
  • 109
  • 255
  • 385
1485
votes
17 answers

Memcached vs. Redis?

We're using a Ruby web-app with Redis server for caching. Is there a point to test Memcached instead? What will give us better performance? Any pros or cons between Redis and Memcached? Points to consider: Read/write speed. Memory usage. Disk I/O…
Sagiv Ofek
  • 24,614
  • 6
  • 57
  • 53
1176
votes
29 answers

Does Django scale?

I'm building a web application with Django. The reasons I chose Django were: I wanted to work with free/open-source tools. I like Python and feel it's a long-term language, whereas regarding Ruby I wasn't sure, and PHP seemed like a huge hassle to…
Roee Adler
  • 31,157
  • 31
  • 99
  • 132
909
votes
22 answers

How to create a file in memory for user to download, but not through server?

Is there any way I can create a text file on the client side and prompt the user to download it, without any interaction with the server? I know I can't write directly to their machine (security and all), but can I create and prompt them to save it?
Joseph Silber
  • 193,614
  • 53
  • 339
  • 276
544
votes
24 answers

Set up a scheduled job?

I've been working on a web app using Django, and I'm curious if there is a way to schedule a job to run periodically. Basically I just want to run through the database and make some calculations/updates on an automatic, regular basis, but I can't…
TM.
  • 94,986
  • 30
  • 119
  • 125
508
votes
11 answers

Max parallel http connections in a browser?

I am creating some suspended connections to an HTTP server (comet, reverse ajax, etc). It works ok, but I see the browser only allows two suspended connections to a given domain simultaneously. So if a user is looking at my website in Tab1 of their…
395
votes
4 answers

Difference between the 'controller', 'link' and 'compile' functions when defining a directive

Some places seem to use the controller function for directive logic and others use link. The tabs example on the angular homepage uses controller for one and link for another directive. What is the difference between the two?
336
votes
5 answers

Difference between MEAN.js and MEAN.io

I wanted to use the MEAN JavaScript Stack, but I noticed that there are two different stacks with either their own website and installation methods: mean.js and mean.io. So I came up asking myself this question: "Which one do I use?". So in order to…
CMPSoares
  • 4,133
  • 3
  • 21
  • 38
287
votes
15 answers

Cross-Domain Cookies

I have two webapps WebApp1 and WebApp2 in two different domains. I am setting a cookie in WebApp1 in the HttpResponse. How to read the same cookie from HttpRequest in WebApp2? I know it sounds weird because cookies are specific to a given domain,…
SundarJavaDeveloper
  • 2,931
  • 3
  • 15
  • 8
283
votes
19 answers

What's the difference between a web site and a web application?

I'm stumped trying to come up to a difference between a website and a web application for myself. As I see it, a web site points to a specific page and a web application is more of some sort of 'portal' to content and information. But where I'm…
Prusprus
  • 7,682
  • 8
  • 39
  • 54
278
votes
1 answer

What browsers support HTML5 WebSocket API?

I am going to develop an instant messaging application that runs in the browser. What browsers support the WebSocket API?
Sareuon
  • 2,797
  • 3
  • 14
  • 3
274
votes
9 answers

What is Rack middleware?

What is Rack middleware in Ruby? I couldn't find any good explanation for what they mean by "middleware".
chrisgoyal
  • 4,177
  • 3
  • 20
  • 25
264
votes
4 answers

Best practices when running Node.js with port 80 (Ubuntu / Linode)

I am setting up my first Node.js server on a cloud Linux node and I am fairly new to the details of Linux admin. (BTW I am not trying to use Apache at the same time.) Everything is installed correctly, but I found that unless I use the root login,…
Robotbugs
  • 3,947
  • 3
  • 19
  • 28
262
votes
22 answers

Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list

To be honest, I've tried to turn a dirty trick on IIS and just when I thought that I was going to get away with it, I realized my workaround doesn't work. Here's what I've tried to do: 1) I have ASP.NET application which has Preloader class that…
Ivan Peric
  • 3,915
  • 3
  • 19
  • 31
246
votes
30 answers

Performing a Stress Test on Web Application?

In the past, I used Microsoft Web Application Stress Tool and Pylot to stress test web applications. I'd written a simple home page, login script, and site walkthrough (in an ecommerce site adding a few items to a cart and checkout). Just hitting…
1
2 3
99 100