On Mar 30, 2006, at 9:18 PM, David Binger wrote: > On Mar 30, 2006, at 12:03 PM, mario ruggier wrote: > >> Just a small note to say that for me the changes below are good news >> for QP. And that the 3 demo sites are changed to show the extended >> openness of QP is also a good thing, although now there seems to be >> missing the trivial "hello world" example one would expect first. A >> name change for these 3 demos may also be appropriate... such as >> mytraversal and nodurus, and maybe at the same time updating the >> out-of-sync doc strings on the SiteDirectories ;) > > I thought the demo named "hello" was the hello world example. > The main point of "hello" is to be minimal, and that just happens > to mean running with no durus server. Maybe it is just a question of interpretation. I'd expect a hello world example to not only be minimal but also indicate typical usage. And, as I understand, typical QP usage means running with Directory traversal and with a Durus db. But, maybe that is changing... ;-? > I haven't been able to find the out-of-sync doc strings. > Can you give me another hint? Well, hello actually has no SiteDirectory anymore, so no docstring, however, since the slash file now has a .py extension, the old slash.qpy was not overwritten when I copied over the demos, and when checking back when writing the above, I must have looked at the qpy one... As for echo, it seems to me that the fact that it is returning the request is not the main point of the example... the fact that it runs w/o a db should be more important? Plus, looking at the code, the inclusion of the '' (index) component in get_exports(), along with _q_traverse() that returns the same seems at face value contradictory... a comment to clarify this would likely be appreciated by newcomers. I forgot to mention in my previous mail, I was pleasantly surprised to find the "5 minute" simple wiki example, in proto, after not seeing any previous mention of it anywhere... it is a nice clear example, for how to go about building durus-based applications. mario