durusmail: qp: QP ~ Quixote trade off
QP ~ Quixote trade off
2006-10-30
2006-10-31
2006-10-31
QP ~ Quixote trade off
Sells, Fred
2006-10-30
If I have read the docs correctly, the differences are

1. QP requires python 2.4 while Quixote works with 2.3
2. QP uses Durus for persistent store, while Quixote (with session2) can use
MySQLDb and others
3. both can use scgi
4. both can use PTL although QP requires Qpy, while Quixote has it included.
5. both have the same url to module/class/method mapping

I am leaning toward Quixote, rather than QP because our servers are running
python2.3 and my management takes a dim view of installing an alternate
python and of modifying any package to work with python2.3 (i.e. QP).  Some
of my assumptions/constraints are...

a.  I cannot use any of the Apache authentication features, because I am
tied to a legacy system and must use that for authentication.

b.  Authorization is via ldap (already have python ldap working) and uses
groups to determine access.  The pattern is not consistent enough to use a
generic mod_python handler.  Each application must be responsible for it's
own.

c.  Although I do need session management, I do not need it to survive a
server restart; so I assume the built-in session management in Quixote will
suffice. No need for either Durus or Session2.

d.  Although our first two applications which will be deployed this way are
Ajax (using dojo). That may not always be true and I can control access to
both ajax/json data and to web pages in this manner.

BIG QUESTIONS ---

1. Am I missing something and making a mistake?

2. we've always used Apache 2.0, but as I look at what we're doing, I wonder
if we even need it or should just go to simple_server.py or scgi_server.py,
etc.  All our legacy web pages are remaining on the legacy system, this is
all new work with a RedHat system as a dedicated web-server.  We don't use
Apache's virtual servers.

I'm still a light-weight in this arena, having come from a rich client java
world.  Any advice would be appreciated.

---------------------------------------------------------------------------
The information contained in this message may be privileged and / or
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying to this message and deleting the material from any
computer.
---------------------------------------------------------------------------
reply