Re: Python on the Web

2009-09-03 Thread Bruno Desthuilliers
John Nagle a écrit : (snip) MySQLdb is available only up to Python 2.5. Huh ??? Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb /var/lib/python-support/python2.6/MySQLdb/__in

Re: Python on the Web

2009-09-03 Thread Bruno Desthuilliers
Ed Singleton a écrit : On Aug 26, 4:17 am, alex23 wrote: Frameworks created for the sake of creating a framework, as opposed to those written to meet a defined need, tend to be the worst examples of masturbatory coding. Indeed, but masturbation is perfectly healthy and acceptable, and we all

Re: Python on the Web

2009-09-02 Thread Ed Singleton
On Aug 26, 4:17 am, alex23 wrote: > Frameworks created for the sake of creating a framework, as opposed to > those written to meet a defined need, tend to be the worst examples of > masturbatory coding. Indeed, but masturbation is perfectly healthy and acceptable, and we all do it every now and t

Re: Python on the Web

2009-08-28 Thread Bruno Desthuilliers
John Nagle a écrit : > Bruno Desthuilliers wrote: >> If you're only writing your framework for learning purposes, you could >> as well go with Python 3, and implement everything from the ground up >> (not a trivial task FWIW). > >Python 3 isn't ready for prime time on web servers. Too many ma

Re: Python on the Web

2009-08-28 Thread John Nagle
Bruno Desthuilliers wrote: If you're only writing your framework for learning purposes, you could as well go with Python 3, and implement everything from the ground up (not a trivial task FWIW). Python 3 isn't ready for prime time on web servers. Too many major modules, haven't been ported

Re: Python on the Web

2009-08-28 Thread John Nagle
Graham Dumpleton wrote: A few additional comments on top of what others have said. On Aug 26, 11:09 am, Phil wrote: As I've read elsewhere, "These days, FastCGI is never used directly. Actually, FCGI works quite well. Sitetruth's AdRater (http://www.sitetruth.com/downloads/adrater.html)

Re: Python on the Web

2009-08-28 Thread Bruno Desthuilliers
Phil a écrit : When I gave that arbitrary percentage, I was basing it off of the information I had seen with regards to launching applications built with existing frameworks using lighttpd. I do realize I was missing a lot of information by looking up something that specific. Indeed !-) I al

Re: Python on the Web

2009-08-27 Thread Phil
Haha. While I don't disagree with you, I seem to be under the impression that you think I haven't been reading the web where nearly every blog post complains about the abundance of Python frameworks. The thing is, most of the frameworks being commented on in such a way are 'microframeworks' that pr

Re: Python on the Web

2009-08-27 Thread Aahz
In article , Phil wrote: > >My interest in Python 3.1 was actually to develop a framework. Again, >I can feel the flames. :) I understand there are enough frameworks but >I actually have no applications that I wish to develop. I enjoy >developing these kinds of things from scratch as a learning >

Re: Python on the Web

2009-08-27 Thread Phil
Thanks Graham. I actually ended up reading that blog post from a Google search last night before I saw your response. It was very informative. Bruno, I will take a look at those groups to expand my knowledge. When I gave that arbitrary percentage, I was basing it off of the information I had seen

Re: Python on the Web

2009-08-27 Thread Bruno Desthuilliers
Phil a écrit : (snip) However, 99.9% of the discussion I see with Python on the web is around FCGI. May I suggest you spend some time reading django-users and django-dev on google groups ? (and that's only *one* of the way-too-many Python web frameworks). -- http://mail.python.org/ma

Re: Python on the Web

2009-08-27 Thread Graham Dumpleton
On Aug 27, 1:02 pm, Phil wrote: > Thanks a lot for another response. I've never posted in groups like > this before but the results are amazing. > > I will definitely consider trying mod_wsgi when I get a chance. I like > the approach taken with it. It is unfortunate that I completely missed > all

Re: Python on the Web

2009-08-26 Thread Phil
Thanks a lot for another response. I've never posted in groups like this before but the results are amazing. I will definitely consider trying mod_wsgi when I get a chance. I like the approach taken with it. It is unfortunate that I completely missed all Apache related material because I was using

Re: Python on the Web

2009-08-26 Thread Graham Dumpleton
ded module. That module > would then serve the function of both FCGI and the 'WSGI Server' in my > diagram? That actually sounds really neat. Unfortunately I missed this > because I've been hooked on lighttpd, as the minimalist I am. > > Here are the things I am still c

Re: Python on the Web

2009-08-26 Thread Phil
ve been hooked on lighttpd, as the minimalist I am. Here are the things I am still confused with: 1) Why do I not want to consider running Python on the web with FCGI, without WSGI? You said 'no' straight up, no questions asked. I would imagine that there is a good reason of course, as

Re: Python on the Web

2009-08-26 Thread Bruno Desthuilliers
it is only used for the deployment of WSGI applications." As far as I understand, the main (or only?) reasoning for this is because WSGI makes Python applications easier to deploy without having to worry about whether using FCGI/SCGI/CGI. Nor about which web server you use (Apache, lighthtt

Re: Python on the Web

2009-08-25 Thread Graham Dumpleton
r as I understand, the main (or only?) reasoning > for this is because WSGI makes Python applications easier to deploy > without having to worry about whether using FCGI/SCGI/CGI. WSGI provides for portability, it isn't necessarily easier to use than mod_python. > What would be inv

Re: Python on the Web

2009-08-25 Thread Graham Dumpleton
On Aug 26, 1:17 pm, alex23 wrote: > Phil wrote: > > My interest in Python 3.1 was actually to develop a framework. Again, > > I can feel the flames. :) I understand there are enough frameworks but > > I actually have no applications that I wish to develop. > > No offense intended, but that's prob

Re: Python on the Web

2009-08-25 Thread Phil
On Aug 25, 11:17 pm, alex23 wrote: > Phil wrote: > > My interest in Python 3.1 was actually to develop a framework. Again, > > I can feel the flames. :) I understand there are enough frameworks but > > I actually have no applications that I wish to develop. > > No offense intended, but that's pro

Re: Python on the Web

2009-08-25 Thread alex23
Phil wrote: > My interest in Python 3.1 was actually to develop a framework. Again, > I can feel the flames. :) I understand there are enough frameworks but > I actually have no applications that I wish to develop. No offense intended, but that's probably the worst approach to take. Frameworks c

Re: Python on the Web

2009-08-25 Thread Phil
Thank you for the helpful and timely response. My interest in Python 3.1 was actually to develop a framework. Again, I can feel the flames. :) I understand there are enough frameworks but I actually have no applications that I wish to develop. I enjoy developing these kinds of things from scratch

Re: Python on the Web

2009-08-25 Thread Robert Kern
imary reason for WSGI, in my mind. There are other things like the composability of applications, but the decoupling of application authoring from deployment is the sine qua non, in my opinion. What would be involved to run Python on the web using FCGI without WSGI? I can feel the flames already.

Python on the Web

2009-08-25 Thread Phil
erstand, the main (or only?) reasoning for this is because WSGI makes Python applications easier to deploy without having to worry about whether using FCGI/SCGI/CGI. What would be involved to run Python on the web using FCGI without WSGI? I can feel the flames already. This isn't the only reason I wa

Re: Python on the web, how to?

2009-08-18 Thread Chris Rebert
On Tue, Aug 18, 2009 at 4:06 PM, Atul. wrote: > Hello All, > > Needless to say I am new to python and web programming. I am looking > for a quick Python-101 course / tutorial for "using python to > implement dynamic content on web" under some web server. Any pointers > what should I be reading? Go

Python on the web, how to?

2009-08-18 Thread Atul.
Hello All, Needless to say I am new to python and web programming. I am looking for a quick Python-101 course / tutorial for "using python to implement dynamic content on web" under some web server. Any pointers what should I be reading? Regards, Atul. -- http://mail.python.org/mailman/listinfo/

Re: Python on the web - newby question

2008-09-03 Thread SimonPalmer
On Sep 3, 8:41 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > SimonPalmer a écrit : > > > Apologies in advance if this is either a) the wrong board or b) been > > answered a million times elsewhere, but... > > > I have been given an assignment to get a python module up and running > > behind

Re: Python on the web - newby question

2008-09-03 Thread Bruno Desthuilliers
SimonPalmer a écrit : Apologies in advance if this is either a) the wrong board or b) been answered a million times elsewhere, but... I have been given an assignment to get a python module up and running behind an existing web site. At the moment the rest of the site is developed in PHP but the

Python on the web - newby question

2008-09-03 Thread SimonPalmer
Apologies in advance if this is either a) the wrong board or b) been answered a million times elsewhere, but... I have been given an assignment to get a python module up and running behind an existing web site. At the moment the rest of the site is developed in PHP but the hosts have said they wi