Re: Django in production on Windows

2010-12-08 Thread ashdesigner
Sam, That's exactly what we arrived at: PyISAPIe doesn't work with IIS, so I will install an Apache pack on Windows. We've already launched a VMWare (Win VPS) with no IIS running on it, and I lean to XAMPP as an appropriate Apache out-of-box pack to run on the Win platform. What would you say? Wi

Re: Django in production on Windows

2010-12-07 Thread Sam Lai
Eeek. Just had a poke around with getting Django running on IIS. Making it work with FastCGI will need a bit of work; doesn't work out of the box and isn't well documented as most of the focus has been on PHP. It does seem to work ok with PyISAPIe. I'd probably install Apache and use that instead

Re: Django in production on Windows

2010-12-07 Thread Sam Lai
On 8 December 2010 02:50, shmengie <1st...@gmail.com> wrote: > www.cygwin.com is one possible windows avenue that might work.  When I > was hanging on to windows because I had to support it, I used cygwin > religiously.  I found a lot about cygwin to be frustrating, but it was > better than being w

Re: Django in production on Windows

2010-12-07 Thread shmengie
I'm not the windows guru I used to be. Converted my household to Ubuntu Linux and have been pretty happy since. The kids miss some flash games, I don't miss the virus issue. www.cygwin.com is one possible windows avenue that might work. When I was hanging on to windows because I had to support

Re: Django in production on Windows

2010-12-06 Thread ashdesigner
;LAMP" for windows or just install pieces which is easy too. > > > -Original Message- > > From: django-users@googlegroups.com > > > [mailto:django-us...@googlegroups.com] On Behalf Of ashdesigner > > Sent: Wednesday, December 01, 2010 6:44 AM > > To: D

Re: Django in production on Windows

2010-12-06 Thread ashdesigner
Behalf Of ashdesigner > Sent: Monday, December 06, 2010 2:43 AM > To: Django users > Subject: Re: Django in production on Windows > > Thanks Fred, we'll try it. > > Anthony > > On Dec 5, 7:16 pm, "Sells, Fred" wrote: > > I don't know about IIS

RE: Django in production on Windows

2010-12-06 Thread Sells, Fred
lto:django-us...@googlegroups.com] On Behalf Of ashdesigner Sent: Monday, December 06, 2010 2:43 AM To: Django users Subject: Re: Django in production on Windows Thanks Fred, we'll try it. Anthony On Dec 5, 7:16 pm, "Sells, Fred" wrote: > I don't know about IIS, but u

Re: Django in production on Windows

2010-12-05 Thread ashdesigner
> From: django-users@googlegroups.com > > [mailto:django-us...@googlegroups.com] On Behalf Of ashdesigner > Sent: Wednesday, December 01, 2010 6:44 AM > To: Django users > Subject: Django in production on Windows > > Hello, > > I am absolutely new to Python/Django. Being respons

RE: Django in production on Windows

2010-12-05 Thread Sells, Fred
r 01, 2010 6:44 AM To: Django users Subject: Django in production on Windows Hello, I am absolutely new to Python/Django. Being responsible for a large corporate startup project and having looked through a number of MVC/ MVT frameworks I decided to outsource the webproject in Django. The only und

Re: Fwd: Django in production on Windows

2010-12-03 Thread ashdesigner
Pete, Thank you for your advice, and considering our rather long discussion I already think now that Win+Apache+MSSQL is the best way out for us indeed. Both for performance and support matters. Anthony On Dec 3, 4:57 pm, CrabbyPete wrote: > Windows is a great platform to work on. There are loa

Re: Fwd: Django in production on Windows

2010-12-03 Thread ashdesigner
Matt, Thank you so much for your posting. My initial question was indeed about both the webserver AND the database, but I believe you're the first who commented on the latter. I am already aware about the Django + MSSQL issue, but compared to the Django+IIS, there are stable solutions that run sol

Re: Fwd: Django in production on Windows

2010-12-03 Thread Matt Conrad
I notice that the conversation is mostly about IIS vs Apache. You'll also want to think about the database. Django doesn't have built in support for MSSQL. You could run Postgres or MySQL on Windows, or there are some adapters for Django that will let it talk to SQL Server. Either way, you'll prob

Re: Fwd: Django in production on Windows

2010-12-03 Thread CrabbyPete
Windows is a great platform to work on. There are loads of tools and support for Windows. The issue is not Windows vs Linux the issue is Apache ( which works great on Windows ) v IIS. If your admin is wants to use Windows by all means stick with it, and just install Apache. I developed on Windows a

Re: Fwd: Django in production on Windows

2010-12-03 Thread ashdesigner
Ok, I see. Happily, this is not the case with us. We've discussed the issue with the crew, and our decision is that most likely we'll deploy on Win+Apache. Hope there won't be any considerable development limitations due to the use of the Windows Server OS. Thank you a lot! Regards, Anthony On D

Re: Fwd: Django in production on Windows

2010-12-03 Thread Javier Guerra Giraldez
On Fri, Dec 3, 2010 at 4:04 AM, ashdesigner wrote: > Frankly, I just don't quite get the #3 option. Do you mean switching > to *nix would entail considerable support/management issues? If so, > why *nix - native to Django - as you say, could be a limitation to the > framework? Is this what you mea

Re: Fwd: Django in production on Windows

2010-12-03 Thread ashdesigner
Javier, Frankly, I just don't quite get the #3 option. Do you mean switching to *nix would entail considerable support/management issues? If so, why *nix - native to Django - as you say, could be a limitation to the framework? Is this what you mean? Anthony On Dec 2, 7:23 pm, Javier Guerra Giral

Re: Fwd: Django in production on Windows

2010-12-02 Thread Javier Guerra Giraldez
On Thu, Dec 2, 2010 at 10:57 AM, ashdesigner wrote: > browsing through techy blogs I often saw FastCGI mentioned as someway 'slow', > 'deprecated', you're reading the wrong blogs > 'IIS7-incompatible' that might be true, i have no idea. a big reason to stay far from IIS unfortunately, i've ju

Re: Fwd: Django in production on Windows

2010-12-02 Thread ashdesigner
Guys, Again, the issue is just as follows: 1. Windows + IIS only(!). 2. Win/*nix + whatever else. Our employed admins can administer IIS only. Which means, having to deal with any other webserver (different from IIS) unbinds us from using a Win platform at all. Anthony On Dec 2, 6:33 pm, Javie

Re: Fwd: Django in production on Windows

2010-12-02 Thread ashdesigner
Javier, As a beginner, I don't have any own experience to judge, but browsing through techy blogs I often saw FastCGI mentioned as someway 'slow', 'deprecated', 'IIS7-incompatible', etc. Maybe I am wrong, but using PyISAPIe was described as 'much much faster'. You see, performance matters signific

Re: Fwd: Django in production on Windows

2010-12-02 Thread ashdesigner
Lloyd, Yes, correct. To us it is purely a webserver (IIS) issue. Anthony On Dec 2, 6:29 pm, Sithembewena Lloyd Dube wrote: > True, Javier. But the issue isn't whether or not Django + Python can run > smooth on Windows - it is a web server problem? Specifically IIS? > > On Thu, Dec 2, 2010 at 5:

Re: Fwd: Django in production on Windows

2010-12-02 Thread ashdesigner
Lloyd, Yes, correct. It is purely a webserver (IIS) issue. Anthony On Dec 2, 6:29 pm, Sithembewena Lloyd Dube wrote: > True, Javier. But the issue isn't whether or not Django + Python can run > smooth on Windows - it is a web server problem? Specifically IIS? > > On Thu, Dec 2, 2010 at 5:25 PM,

Re: Fwd: Django in production on Windows

2010-12-02 Thread Javier Guerra Giraldez
On Thu, Dec 2, 2010 at 10:29 AM, Sithembewena Lloyd Dube wrote: > it is a web server problem? Specifically IIS? if IIS can do FastCGI (and it should!) you can do django with flup if IIS can proxy HTTP (and it would be weird if it doesnt), you can do Django with gunicorn/tornado or, you can ditc

Re: Fwd: Django in production on Windows

2010-12-02 Thread ashdesigner
Javier, Under "hack approach" I meant PyISAPIe + IIS (wich is weird by itself, but still). Anthony On Dec 2, 6:25 pm, Javier Guerra Giraldez wrote: > On Thu, Dec 2, 2010 at 10:05 AM, ashdesigner > wrote: > > not to use Python/Django > > +IIS+Windows because of lack of support and tools immatu

Re: Django in production on Windows

2010-12-02 Thread ashdesigner
David, Thanks for your advice. Our IT environment is not hostile towards *nix, but the general corporate policy is to stick to MS as much as we can. Which means, we may start supporting a *nix OS, but this will cost us some extra money. As such, I have to obtain significant reasons to prove my p.o

Re: Fwd: Django in production on Windows

2010-12-02 Thread Sithembewena Lloyd Dube
True, Javier. But the issue isn't whether or not Django + Python can run smooth on Windows - it is a web server problem? Specifically IIS? On Thu, Dec 2, 2010 at 5:25 PM, Javier Guerra Giraldez wrote: > On Thu, Dec 2, 2010 at 10:05 AM, ashdesigner > wrote: > > not to use Python/Django > > +IIS+W

Re: Fwd: Django in production on Windows

2010-12-02 Thread Javier Guerra Giraldez
On Thu, Dec 2, 2010 at 10:05 AM, ashdesigner wrote: > not to use Python/Django > +IIS+Windows because of lack of support and tools immaturity ("hack" > approach). not at all. there are lots of goods reasons to go the *nix route (be it Linux, BSD, Solaris, etc). but Django does work anywhere Py

Re: Fwd: Django in production on Windows

2010-12-02 Thread Sithembewena Lloyd Dube
Correct :) On Thu, Dec 2, 2010 at 5:05 PM, ashdesigner wrote: > > I thank you all so much for the really valuable pieces of advice. All > > in all, the underscore seems to be as follows: not to use Python/Django > > +IIS+Windows because of lack of support and tools immaturity ("hack" > > approach

Re: Django in production on Windows

2010-12-02 Thread ashdesigner
Lloyd, The only thing we shall really avoid is a painful webserver administration and/or project support and development. In fact, we may hire a Linux admin, but I have to provide convincing reasons for that to the IT dpt. We have to get the project up and running asap, with as less obstacles as p

Re: Django in production on Windows

2010-12-02 Thread David De La Harpe Golden
On 02/12/10 14:22, ashdesigner wrote: > Guys, > > As I can judge from the posts and links above, an ISAPI plugin > (PyISAPIe) which is declared the best and fastest way to run Django > apps on Windows and primarily intended to be used with IIS Hmm. Fastcgi looked most promising to me, not that I

Re: Fwd: Django in production on Windows

2010-12-02 Thread ashdesigner
I thank you all so much for the really valuable pieces of advice. All in all, the underscore seems to be as follows: not to use Python/Django +IIS+Windows because of lack of support and tools immaturity ("hack" approach). One'd better deploy on Win/Unix + Apache, am I right? On Dec 2, 5:39 pm, Jav

Re: Django in production on Windows

2010-12-02 Thread Sithembewena Lloyd Dube
Hi Anthony, if you could share, what would the nature of your requirements be? Do you just want to deploy Django web apps? I am trying to think of ways you could do this - although I honestly think it sounds like you need to go Linux. Regards, Lloyd -- You received this message because you are

Fwd: Django in production on Windows

2010-12-02 Thread Javier Guerra Giraldez
On Thu, Dec 2, 2010 at 9:22 AM, ashdesigner wrote: > maybe I just don't get the point. i guess the point is that nobody likes IIS, so there's no development specific for that platform -- Javier -- Javier -- You received this message because you are subscribed to the Google Groups "Django

Re: Django in production on Windows

2010-12-02 Thread Sithembewena Lloyd Dube
Hi Antony, I think that the main issue would be that the vast majority of Django developers deploy on Unix/ Linux. As such, there is probably more activity with development of open source software to support Django on those platforms than there is on Windows. Regarding the fact that your company

Re: Django in production on Windows

2010-12-02 Thread ashdesigner
Guys, As I can judge from the posts and links above, an ISAPI plugin (PyISAPIe) which is declared the best and fastest way to run Django apps on Windows and primarily intended to be used with IIS (although it is announced to work with Apache as well) simply doesn't work smothly with IIS. Or at lea

Re: Django in production on Windows

2010-12-02 Thread CrabbyPete
I'm not saying not to use IIS, I could just not get it to work. Other people have asked how to get it work as well. Its not easy and I would love to here from someone that was able to get it to work with IIS. I developed everything on windows, and running Apache on windows was great. No headaches a

Re: Django in production on Windows

2010-12-02 Thread ashdesigner
Cal, Thanks for promotion, but I think you could read the subject first. Anthony On Dec 2, 8:02 am, "Cal Leeming [Simplicity Media Ltd]" wrote: > It's a shame you are not using a *nix os, because you could have then > used uWSGI (http://projects.unbit.it/uwsgi/). > > Feature list: > >     Curre

Re: Django in production on Windows

2010-12-01 Thread Cal Leeming [Simplicity Media Ltd]
It's a shame you are not using a *nix os, because you could have then used uWSGI (http://projects.unbit.it/uwsgi/). Feature list: Current core features are * written totally in C * very fast (and simple) communication protocol for webservers integration (apache2

Re: Django in production on Windows

2010-12-01 Thread ashdesigner
Javier, Thanks for your reply. We will try to explore (to some extent) solutions you propose, hopefully it will help. Anthony On Dec 1, 6:26 pm, Javier Guerra Giraldez wrote: > On Wed, Dec 1, 2010 at 6:43 AM, ashdesigner wrote: > > The only undiscovered issue to us is whether we can launch a h

Re: Django in production on Windows

2010-12-01 Thread Javier Guerra Giraldez
On Wed, Dec 1, 2010 at 6:43 AM, ashdesigner wrote: > The only undiscovered issue to us is whether we can launch a heavy > loaded website in Django under Windows (IIS) + MSSQL. Would appreciate > any comment please. a WSGI plugin for IIS would be the best answer; but there's nothing wrong with Fas

Re: Django in production on Windows

2010-12-01 Thread ashdesigner
Lloyd, No it is not a must, but is highly desirable by our IT dpt. You see, currently we don't have a *nix admin, so Windows deployment would be an advantage. Anthony On Dec 1, 5:52 pm, Sithembewena Lloyd Dube wrote: > Hi Antony, it's a pleasure. > > Regarding your last question - I am sure you

Re: Django in production on Windows

2010-12-01 Thread Sithembewena Lloyd Dube
Hi Antony, it's a pleasure. Regarding your last question - I am sure you could get a Django/ IIS7 setup to work, but I am also sure that you would get more support from the community for deploying on Apache or other open source web servers than on IIS. Anyhow, here are more links that speak to th

Re: Django in production on Windows

2010-12-01 Thread ashdesigner
Pete, Does this mean that we shouldn't even try to run it on IIS7 in production? On Dec 1, 4:27 pm, CrabbyPete wrote: > I developed Djano on a windows server and everything went smoothly > except getting it to work with IIS. I loaded apache on windows and it > works great. > > On Dec 1, 6:43 am,

Re: Django in production on Windows

2010-12-01 Thread ashdesigner
Hi Lloyd, Thank you so much for your reply. You see, the new project is still currently regarded of as probationary, though the choice of the Django framework is agreed and seems to be confident. The issue is that we will be running a separate VPS for the project, and Windows+IIS+MSSQL perfectly

Re: Django in production on Windows

2010-12-01 Thread CrabbyPete
I developed Djano on a windows server and everything went smoothly except getting it to work with IIS. I loaded apache on windows and it works great. On Dec 1, 6:43 am, ashdesigner wrote: > Hello, > > I am absolutely new to Python/Django. Being responsible for a large > corporate startup project

Re: Django in production on Windows

2010-12-01 Thread Sithembewena Lloyd Dube
Antony, you might also want to have a look at this: http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts Regards, Lloyd On Wed, Dec 1, 2010 at 1:43 PM, ashdesigner wrote: > Hello, > > I am absolutely new to Python/Django. Being responsible for a large > corporate startup project and havin

Re: Django in production on Windows

2010-12-01 Thread Sithembewena Lloyd Dube
Hi Anthony, I was in a situation similar to yours not too long ago - introduced Django at work and we've enjoyed it. We are getting better time to market than we would with other options (PHP, .NET etc). Also, coding in Python has been great fun. So, good choice. As to your question, I have no ex

Django in production on Windows

2010-12-01 Thread ashdesigner
Hello, I am absolutely new to Python/Django. Being responsible for a large corporate startup project and having looked through a number of MVC/ MVT frameworks I decided to outsource the webproject in Django. The only undiscovered issue to us is whether we can launch a heavy loaded website in Djan