Re: Is hostmonster any good for hosting python?

2007-10-11 Thread Tim Chase
> I should have mentioned, I am thinking about using a python framework,
> either django, turbogears, or pylons.
> 
> I think these frameworks require a newer version of python, maybe 2.4.

I can't speak for the others, but I know Django can be deployed
with 2.3+ (though they offer some nicities if using 2.4).

> Also, I think some of them require a newer version of Apache - 2.0 or

mod_python requires Apache 2.x so if you're deploying with
mod_python, yes.  However, if you deploy with lighty+fastcgi,
it's moot what version of Apache you have. :)

> better. I also think these python frameworks all work with fastcgi,
> which - I think - is possible with hostmonster. Although fastcgi is
> acceptable, it is generally not the preferred solution.

The preferred Django deployment environments are

 - Apache + mod_python
 - Apache + FastCGI
 - lighttpd + FastCGI

> I do not think you will get reasonable performance with CGI, even if
> factcgi/mod_python/wsgi are not officially required.

No...with plain-ol'-CGI, performance is abysmal...the entire
framework would be reloaded for each request.  Possibly feasible
for development if you're patient and have nothing better, but
CGI is a generally bad idea.

> Also, I doubt you will find mod_python on any "standard" shared
> hosting. 

To get a python-framework environment, you usually have to get a
better hosting service as the need for mod_python or fastcgi
limits you to these hosting services.  That means no
bottom-of-the-barrel priced hosting services (which usually just
offer static pages, basic CGI, or PHP).

If one *must* use python in a CGI environment, I'll plug WebStack
(the author lurks here on c.l.p, IIRC) which does a nice job of
abstracting deployment environments so you can deploy to a
variety of targets with minimal fuss.  I have several projects in
the wild that use WebStack, before I found Django.

-tkc



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is hostmonster any good for hosting python?

2007-10-11 Thread walterbyrd
I should have mentioned, I am thinking about using a python framework,
either django, turbogears, or pylons.

I think these frameworks require a newer version of python, maybe 2.4.
Also, I think some of them require a newer version of Apache - 2.0 or
better. I also think these python frameworks all work with fastcgi,
which - I think - is possible with hostmonster. Although fastcgi is
acceptable, it is generally not the preferred solution.

I do not think you will get reasonable performance with CGI, even if
factcgi/mod_python/wsgi are not officially required.

Also, I doubt you will find mod_python on any "standard" shared
hosting. To get mod_python you will need 1) a host that speciallizes
in python - like webfaction. 2) a virtual host 3) something like
hcoop.net, which may be sort-of like a virtual host. BTW: hccoop.net
has a long-running freeze on new memberships.

Please correct me if I'm wrong about any of this.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is hostmonster any good for hosting python?

2007-10-11 Thread Tim Chase
>> According to hostmonster's list of features, they do support python.
>> Does anybody have any experience with hostmonster?
> 
> I'm using host monster to run my html-only site. However, I want to
> add some python cgi, and I'd prefer to extend that to the Django
> framework. I've had some issues getting cgi support. I've IM'd with a
> tech rep and all they could tell me is that "yes, they do support
> python cgi." From what I've seen, they don't have the mod_python
> module installed for Apache. Without mod_python, I don't think you can
> install Django. Not sure about other pythonic web frameworks.

While vanilla CGI is a really bad idea for Django, in addition to
mod_python, Django supports FastCGI for deployment if your
hosting service doesn't give you mod_python access.

-tkc



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is hostmonster any good for hosting python?

2007-10-11 Thread jayharvard1
On Oct 10, 1:27 pm, walterbyrd <[EMAIL PROTECTED]> wrote:
> According to hostmonster's list of features, they do support python.
> Does anybody have any experience with hostmonster?

I'm using host monster to run my html-only site. However, I want to
add some python cgi, and I'd prefer to extend that to the Django
framework. I've had some issues getting cgi support. I've IM'd with a
tech rep and all they could tell me is that "yes, they do support
python cgi." From what I've seen, they don't have the mod_python
module installed for Apache. Without mod_python, I don't think you can
install Django. Not sure about other pythonic web frameworks.

Outside of the cgi support, host monster has been pretty good to work
with. They have a pretty slick control panel. Also, they use CentOs 4
and an older version of python.

HTH,
J

-- 
http://mail.python.org/mailman/listinfo/python-list


Is hostmonster any good for hosting python?

2007-10-10 Thread walterbyrd
According to hostmonster's list of features, they do support python.
Does anybody have any experience with hostmonster?

-- 
http://mail.python.org/mailman/listinfo/python-list