On Feb 9, 9:26 pm, Russell Keith-Magee <freakboy3...@gmail.com> wrote:
> On Mon, Feb 9, 2009 at 6:54 PM, Vincent <langenschei...@gmail.com> wrote:
>
> > Hello
>
> > I'd like to write a Web 2.0-type web application. I find Python a lot
> > more pleasurable than PHP.
>
> > I'd like to have information about the pro's and con's of using
> > Apache's mod_python vs. an application server like Django, Turbogears,
> > etc.
>
> You appear to be a little bit confused with either your terminology or
> your expectations.
>
> Django isn't an application server - it's a set of libraries that lets
> you write web applications. Those applications are then served using a
> mod_python interface (as well as mod_wsgi interfaces). I can't speak
> with absolute authority on Turbogears, but I'm fairly certain the same
> is true there.
>
> In order to deploy a Django application, you're still going to use
> mod_python (or mod_wsgi).
>
> You obviously have some concerns about Django compared to something
> else you are familiar with (PHP?). Perhaps if you explain your
> specific concerns, we may be able to address them.

The mod_python module also supplied higher level handlers which
incorporate a URL dispatcher and templating mechanisms. Thus for
simple stuff it can be used to construct applications in its own right
and isn't just a jumping off point for larger self contained systems
such as Django.

For new applications, anyone would be well advised though to use these
distinct systems rather than welding themselves to the mod_python
specific handlers.

By using a separate system they ensure there application is portable
to different hosting mechanisms, which will be good protection given
that mod_python is dying a slow death and is unlikely to be ported to
Python 3.0.

Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to