RE: [Webware-discuss] New documentation: Application Development

2003-01-13 Thread Geoffrey Talvola
Randall Randall [mailto:[EMAIL PROTECTED]] wrote: > > I have never understood where session.value('loginid') is being set, > > why it is being deleted if it exists, why the incoming id must match > > the old value, and what is the benefit of doing request.delField(...). > > loginid is set in login

Re: [Webware-discuss] New documentation: Application Development

2003-01-10 Thread Randall Randall
Roger Haase wrote: > ...and these from line 58: > > # Check if they can successfully log in. The loginid >must match > what was previously > # sent. > if request.field('loginid', 'nologin')==loginid and >

Re: [Webware-discuss] New documentation: Application Development

2003-01-10 Thread Roger Haase
>From the end of Ian's new doc on Application Development: ''' A basic framework for your SitePage might be: from WebKit.Page import Page class SitePage(Page): def respond(self, trans): if self.securePage(): if not self.session().value('username', False):

Re: [Webware-discuss] New documentation: Application Development

2002-12-30 Thread Tim Roberts
On Sat, 28 Dec 2002 13:28:20 +0100, Frank Barknecht <[EMAIL PROTECTED]> wrote: > >Hi, >Ian Bicking schrieb: >> It's the C version of the CGI adapter. It's equivalent to WebKit.cgi, >> but because it's written in C it is far faster. In casual testing a >> long time ago, it was as fast as the Mod

Re: [Webware-discuss] New documentation: Application Development

2002-12-29 Thread Ian Bicking
On Sunday, December 29, 2002, at 10:21 AM, Aaron Held wrote: Looks good, You could also suggest SitePage.py for pages in the site (including ones that do not need authentication) and then subclass it to SecurePage for all secure pages. It would be a great intro to using classes to manage a site

Re: [Webware-discuss] New documentation: Application Development

2002-12-29 Thread Aaron Held
Looks good, You could also suggest SitePage.py for pages in the site (including ones that do not need authentication) and then subclass it to SecurePage for all secure pages. It would be a great intro to using classes to manage a site. -Aaron Ian Bicking wrote: I added some documentation toda

Re: [Webware-discuss] New documentation: Application Development

2002-12-28 Thread Frank Barknecht
Hi, Ian Bicking schrieb: > It's the C version of the CGI adapter. It's equivalent to WebKit.cgi, > but because it's written in C it is far faster. In casual testing a > long time ago, it was as fast as the ModPythonAdapter, but far easier to > install because it's just a CGI script. It's in

Re: [Webware-discuss] New documentation: Application Development

2002-12-27 Thread Ian Bicking
On Friday, December 27, 2002, at 07:21 AM, Frank Barknecht wrote: Hi, Ian Bicking wrote: installation, but in a non-complete manner. In my opinion, only mod_webkit and wkcgi are worth introducing (though I haven't used Please forgive my ignorance, but what is "wkcgi"? I cannot find it in the

Re: [Webware-discuss] New documentation: Application Development

2002-12-27 Thread Frank Barknecht
Hi, Ian Bicking wrote: > installation, but in a non-complete manner. In my opinion, only > mod_webkit and wkcgi are worth introducing (though I haven't used Please forgive my ignorance, but what is "wkcgi"? I cannot find it in the InstallGuide. Or is it shorthand for WebKit.cgi? ciao -- Frank

Re: [Webware-discuss] New documentation: Application Development

2002-12-26 Thread Ian Bicking
That's a good list -- it would probably belong more to the installation documentation, which is separate (though it needs work too). The choices are mostly pragmatic. But it's a vague line -- obviously, setting up various AppServers and such is an installation issue as well, and ApplicationDe

RE: [Webware-discuss] New documentation: Application Development

2002-12-26 Thread Stuart Donaldson
Ian, Looks good, here are some comments. There are a couple of significantly different ways to setup and run Webware. 1) Use of global access to Webware with mod_webkit and httpd.conf referring a path such as /WK to Webware. 2) Use of global access to Webware/PSP with mo