Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62740

Re: Apache restart after source changes

From Ned Batchelder <ned@nedbatchelder.com>
Subject Re: Apache restart after source changes
Date 2013-12-26 08:26 -0500
References <9e70e719-10f9-4772-8da9-0270538f9fba@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.4633.1388064426.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 12/26/13 12:57 AM, Fredrik Bertilsson wrote:
> I am evaluating Python for web development and just found out that I need to restart Apache after source changes on windows. Using linux the situation is better but I still have to touch the wsgi file. Is it only me that finds this being a major drawback compared to PHP?
>

In general, PHP is more tightly integrated into web servers than Python 
is.  Python's advantages are 1) a more disciplined and carefully planned 
language and standard library, and 2) a larger and broader ecosystem of 
libraries, especially for tasks not directly related to serving web pages.

As to restarting servers after source changes: most people do not change 
file directly on their production servers.  They develop on their own 
machines, test the code, then deploy it to a production server.  In this 
scenario, restarting the web server is not a burden.

I don't know what the options are for auto-restarting the kinds of web 
servers you'd use in production, I'm sure there are some.  Someone here 
mentioned the Django web server, but that isn't intended for production use.

-- 
Ned Batchelder, http://nedbatchelder.com

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Apache restart after source changes Fredrik Bertilsson <frebe73@gmail.com> - 2013-12-25 21:57 -0800
  Re: Apache restart after source changes Eduardo A. Bustamante López <dualbus@gmail.com> - 2013-12-25 22:27 -0800
    Re: Apache restart after source changes Fredrik Bertilsson <frebe73@gmail.com> - 2013-12-25 22:36 -0800
      Re: Apache restart after source changes Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-12-26 14:13 +0100
      Re: Apache restart after source changes diverman <pavel@schon.cz> - 2013-12-29 23:32 -0800
  Re: Apache restart after source changes Ned Batchelder <ned@nedbatchelder.com> - 2013-12-26 08:26 -0500

csiph-web