At 10:01 PM 8/31/00 +0200, Denis wrote:
>Hi,
>
>I discovered Webware yesterday. I've just tried the samples,
>read rapidly some code and searched the mail archives.
>
>I found a few messages about databases, but it doesn't look
>like there is an actual "right" solution.
>Where should we make the db connection and how to reach it
>from a page ?
Geoff answered this question pretty well in his reply...
>I'd like to understand the whole thing (Webware). I'd like
>to read the code, but I'm rapidly lost. Where should I start
>reading to understand your design ?
>Would you have some UML of it ? (or just some good drawings)
Start with the CVS (https://sourceforge.net/cvs/?group_id=4866), because
after you run the new install.py, you will have a class hierarchy document
for each framework in HTML. That's a good place to get an idea of the classes.
Much of what a Webware user deals with is embodied in WebKit and it's core
classes HTTPRequest, Page, HTTPResponse and Transaction. Then follow their
subclasses. Application and AppServer are also interesting classes.
Also, be sure to read WebKit/Documentation/WebKit.html.
We don't have any diagrams right now.
>We could make a deal : I get the explanations I need from you
>and to thank you, I try to turn them in a "develloper guide".
>(As far as I can with my bad English, my mother language is
>French ; but someone could help with the translation).
Given that [a] you're interested in diagrams (which we all are) and [b]
your English is bad, I think your best contribution could be diagramming. I
know someone else (Dan I think) also had an interest in this, so you may
wish to announce your intentions right before hand to avoid duplicating work.
We could use a diagram of the whole process of a transaction including some
of the key Python messages and classes involved.
A tutorial would be great, too. :-)
>I would love to see Webware go on because I prefer your
>approach to Zope's one. Last year, I started to code myself
>and I had transaction, request, reply, ... classes too.
>In such a pattern, I feel like doing Python ; in Zope, I
>feel like doing Visual Basic.
Glad to have you on board. Feel free to keep asking more questions.
-Chuck
|