I've asked this question on some places but I never get a completely straight answer. I've heard a lot about web frameworks and only know a basic understanding. Okay is a web framework installed on top of server architecture like apache or is it its own thing? I've read a good amount about web frameworks and I like what I read, but I only have access to simple free apache web hosts. Python works on it because I've tested it but I don't have a whole lot of freedom on it to install different kinds of software and such.
-
If you're using Python, Django is the leading framework at this time -- djangoproject.comAsaph– Asaph2010年12月10日 07:46:11 +00:00Commented Dec 10, 2010 at 7:46
-
"but I never get a completely straight answer"? What parts confuse you? Or is that what the rest of the question is? Perhaps you could leave this out, since it doesn't help us answer the rest of your question.S.Lott– S.Lott2010年12月10日 14:27:44 +00:00Commented Dec 10, 2010 at 14:27
-
possible duplicate of What exactly is a web application framework?Jonas– Jonas2011年06月17日 08:38:12 +00:00Commented Jun 17, 2011 at 8:38
2 Answers 2
It can be "its own thing", meaning it can listen on a port and service requests without Apache; or it can run under Apache or any other web server, for example as a CGI script. For an easy-to-swallow overview, see http://bitworking.org/news/Why_so_many_Python_web_frameworks
Also see What exactly is a web application framework?, it answers a very similar question.
2 Comments
A web framework is a toolkit designed to make working with HTTP requests within a certain language easier. It usually provides things like URL routing and HTML templating, and may optionally provide a ORM. It may or may not come with its own web server. On Python they are usually written to WSGI, of which there are plenty of containers.
Comments
Explore related questions
See similar questions with these tags.