On 7/1/13 1:00 PM,Phil Mayers <p.mayers(a)imperial.ac.uk> wrote:
> > I'm a newbie to Python, but not programming. However, my problem is
> > replacing an antiquated web-based classroom-attendance oriented
> > software app.
If you are looking at python, you have a lot of choices.
The first choice is which database to use, object-oriented, or relational.
If you choose relational, then django is the mainstream choice.
If you choose object oriented, then you can consider ZODB. It stores a
persistent network of objects. Which leads to either the Zope 3 /
ZTFY.org web framework, or else
pyramid. Pyramid is good for simpler applications, as they get more
complicated, I would recommend ztfy.org. and wiki.ztfy.org
Better yet, just get a complete school application at
built on top of zope 3, very easy to make any customizations you want,
that is the greatest strength of Zope 3.
I have recently started to learn and use Twisted. The first task is to
write an HTTP proxy.
I found Twisted provides a built-in proxy module described here:
It says the server part inherits http.HTTPChannel, while the client part
However, as I later find out, *http.HTTPClient is only a HTTP 1.0
client,*which is not enough for my task. I also found there is another
class called *twisted.web.client.Agent
*which seems to be more advanced than http.HTTPClient and supports HTTP 1.1.
1. Can twisted.web.client.Agent be used in a Proxy implementation with
http.HTTPChannel? Is there any examples?
2. Does http.HTTPChannel support HTTP 1.1?