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.

22465 questions
74
votes
5 answers

How can a web server handle multiple user's incoming requests at a time on a single port (80)?

How does a web server handle multiple incoming requests at the same time on a single port(80)? Example : At the same time 300k users want to see an image from www.abcdef.com which is assigned IP 10.10.100.100 and port 80. So how can www.abcdef.com…
user2032344
73
votes
5 answers

Serving static content with a root URL with the Gorilla toolkit

I am attempting to use the Gorilla toolkit's mux package to route URLs in a Go web server. Using this question as a guide I have the following Go code: func main() { r := mux.NewRouter() r.Handle("/",…
jason
  • 1,247
  • 1
  • 9
  • 25
71
votes
8 answers

I need a client side browser database. What are my options

I'm creating a web site that I think must have a client side database. The other option would be to stick everything on the server at the expense of increased complexity and decreased scalability. What options do I have? Must I build a plugin? …
JnBrymn
  • 24,245
  • 28
  • 105
  • 147
71
votes
2 answers

How can I develop a LAMP web application using Docker, Puppet and Vagrant?

In the dark ages, my usual setup for development of LAMP web applications was to test locally on my machine. PHP (in my case), the database and the web server were all installed natively. The server was set up with standard installs of Apache and…
Robert
  • 5,735
  • 3
  • 40
  • 53
69
votes
20 answers

Sencha Touch or jQuery Mobile?

I wonder if I were to develop a mobile Web app (now, in two weeks, or in a month), which one should I go for? Which one would you mobile Web developers go for? If jQM 1.0 were officially released today, I would most likely embrace it (as long as it…
William Niu
  • 15,798
  • 7
  • 53
  • 93
69
votes
3 answers

ASP.NET Web Garden - How Many Worker Processes Do I Need?

What is the best practice for deciding how many worker processes to allow for an ASP.NET web application? On one server I manage, creating a new AppPool defaults to 10 (maximum) worker processes. Other people suggest that the normal setting is…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
68
votes
6 answers

Add Bean Programmatically to Spring Web App Context

Because of a plug-in architecture, I'm trying to add a bean programmatically to my webapp. I have a Spring bean created through the @Component annotation, and i am implementing the ApplicationContextAware interface. My override function looks like…
user146714
  • 731
  • 2
  • 7
  • 9
68
votes
9 answers

jQuery CSS plugin that returns computed style of element to pseudo clone that element?

I'm looking for a way using jQuery to return an object of computed styles for the 1st matched element. I could then pass this object to another call of jQuery's css method. For example, with width, I can do the following to make the 2 divs have the…
Keith Bentrup
  • 11,834
  • 7
  • 49
  • 56
67
votes
3 answers

What does vendor mean in web file structure?

Every now and then I see vendor being used in a directory structure on web apps. Like this: What does this mean? Why do people use it? More importantly, should I use it? I make web apps…
Ben Harvey
  • 1,793
  • 2
  • 16
  • 23
67
votes
10 answers

What databases do the World Wide Web's biggest sites run on?

This question is meant to serve as a list of databases and their configurations that the major web sites use and would be a great reference for anyone thinking of scaling their web site to the size of Twitter, Facebook or even Google. Please keep…
niktech
  • 115
  • 1
  • 5
  • 12
66
votes
15 answers

PHP Fatal error: Class 'PDO' not found

PHP Fatal error: Class 'PDO' not found in /home/bd/public_html/app/webroot/Cake/Model/Datasource/Database/Mysql.php on line 177 PHP INFO: PDO PDO support => enabled PDO drivers => sqlite, sqlite2, mysql pdo_mysql PDO Driver for MySQL =>…
Amanada Smith
  • 1,893
  • 9
  • 28
  • 42
65
votes
9 answers

Can I turn off the HttpSession in web.xml?

I would like to eliminate the HttpSession completely - can I do this in web.xml? I'm sure there are container specific ways to do it (which is what crowds the search results when I do a Google search). P.S. Is this a bad idea? I prefer to completely…
les2
  • 14,093
  • 16
  • 59
  • 76
65
votes
4 answers

Cloud Foundry explained

So I've been reading up on Cloud Foundry and yet I'm still confused as to what it is. Here is my take anyway on PaaS on CF, and hopefully you guys could tell me if I'm wrong and explain it a bit better. A traditional PaaS offering like Microsoft…
Amoeba
  • 1,573
  • 4
  • 19
  • 25
64
votes
4 answers

How to prevent arbitrary client apps from using anonymous web API?

Apologies if this has already been asked and answered; I've looked around a bunch but haven't found exactly what I'm asking. -- Suppose my web app at http://example.com/ uses a private and undocumented web API at http://api.example.com/ to fetch…
Aseem Kishore
  • 10,404
  • 10
  • 51
  • 56
64
votes
14 answers

Multiple "apple-touch-startup-image" resolutions for iOS web app (esp. for iPad)?

I've written an HTML5-based iOS web application and all seems to be working well, but I'm trying to polish it up with multiple startup screens. The iPhone/iPod touch works well w/a PNG of 320x460, as follows:
morgant
  • 2,135
  • 2
  • 19
  • 28