RE > 5. mod_python works, but it's nicer to use Apache (listening on port > 80) to proxy to another Web server running your Pylons app.
Okay, can please elaborate on the meaning of that highly technical term "nicer?" :-) What are the advantages/disadvantages pros/cons to doing a proxy instead of just using mod_python? AtDhVaAnNkCsE !! -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shannon -jj Behrens Sent: Tuesday, April 17, 2007 6:58 PM To: [email protected] Subject: Re: Pylon with Apache On 4/17/07, durumdara <[EMAIL PROTECTED]> wrote: > > Hi! > > Jose Galvez írta: > > as fare as odbc is concerned, pylons or any other web framework really > > has nothing to do with it, thats up to python and DB2 support. If your > > on the windows platform ODBC can be done with the win32all package and > > there is also the mxODBC package. On linux I'm not sure. As for > > Apache, I use pylons with apache all the time and use the mod_proxy to > > get the urls to work > > Jose > > > > Hmmm... > As I read the Pylons and Django is supports the ActiveRecord > (TurboGears' foo), and some of the predefined views are based on this > idea (SQLObject, SQLAlchemy). > > Or these special functions are based on Python's DB2? > > I'm not sure because I'm lama in this "makewebframework" theme... :-( > > I read these things here: > http://jesusphreak.infogami.com/blog/vrp1 Unless I myself am confused, it seems like this conversation is a bit confused. Let me try to clear things up: 1. You can use any DBAPI adaptor with Pylons in order to talk to a database without using an ORM. I've used one before on Linux to talk to SQLServer. 2. Some ORMs may not support ODBC. I do know that SQLAlchemy works with both SQLServer and Oracle, though. 3. Pylons does work under mod_python. 4. To deal with the reload problem, *in development* I like to set Apache's MaxRequestsPerChild to 1. 5. mod_python works, but it's nicer to use Apache (listening on port 80) to proxy to another Web server running your Pylons app. I do this in production. Each of my apps has its own server (from Paste), but they're all proxied behind Apache. Best Regards, -jj -- "'Software Engineering' is something of an oxymoron. It's very difficult to have real engineering before you have physics, and there isn't anything even close to a physics for software." -- L. Peter Deutsch --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
