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/mailman/li

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
On Aug 27, 2:54 am, Phil wrote: > Thanks to everybody. I believe I am understanding things better. > > I have looked at the links that have been provided, although I have > seen most of them in the past month or so that I've been looking into > this stuff. I do agree with most of the things Armin

Re: Python on the Web

2009-08-26 Thread Phil
Thanks to everybody. I believe I am understanding things better. I have looked at the links that have been provided, although I have seen most of them in the past month or so that I've been looking into this stuff. I do agree with most of the things Armin stated in that NIH post. I agree with ever

Re: Python on the Web

2009-08-26 Thread Bruno Desthuilliers
Phil a écrit : I've seen lots of web sites explaining everything, but for whatever reason I seem to not be picking something up. I am a graphical person, which is probably the reason I haven't found my answer. May somebody please confirm if my diagram accurately represents the stack, generally sp

Re: Python on the Web

2009-08-25 Thread Graham Dumpleton
A few additional comments on top of what others have said. On Aug 26, 11:09 am, Phil wrote: > I've seen lots of web sites explaining everything, but for whatever > reason I seem to not be picking something up. > I am a graphical person, which is probably the reason I haven't found > my answer. >

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
On 2009-08-25 20:09 PM, Phil wrote: I've seen lots of web sites explaining everything, but for whatever reason I seem to not be picking something up. I am a graphical person, which is probably the reason I haven't found my answer. May somebody please confirm if my diagram accurately represents th

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

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