Re: [Webware-discuss] PSP vs. Servlets? + OT sidetracked rant on work flow

2002-04-18 Thread Aaron Held
I did something similar a few years ago with ASP. Basically I have some ActiveX controls for the logic and then maintained a list of links for each procedure. Each view screen had a left hand nav column and a wizard like "NEXT" button on the bottom right. Based on the step in the workflow the Next

Re: [Webware-discuss] encryption

2002-04-18 Thread Aaron Held
Credit Card. I store the last 4 numbers on the live site and immediately move the reset to an better protected database w/ write only permission. eMail errors You can turn off logging and there is a way to customize the error e-mail, I saw it in the source somewhere. ExceptionHandler.py writes th

Re: [Webware-discuss] encryption

2002-04-18 Thread Luke Opperman
Passwords: We're using md5 hashes. If a user loses their password, we generate a new one and ask them to change it once they login. Credit Cards: PGP pairs. But I've got a question specific to WebWare here: We're in the middle of our first CC site in Webware, and have been logging/emailing error

RE: [Webware-discuss] PSP vs. Servlets? + OT sidetracked rant on work flow

2002-04-18 Thread Karl Putland
--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: [...] > Are you using self.includeURL() from the controller servlet to > pull in the > psp's? Or self.callMethodOfServlet()? > > - Geoff I'm using self.includeURL() for includeing the views. Then when the controller is done, It does a response.sen

Re: [Webware-discuss] encryption

2002-04-18 Thread Steve Freitas
> I need to encrypt the passwords and credit card numbers in my database. > Any recommendations on an approach? There's an informative Slashdot thread on the topic of protecting billing information. It probably goes beyond what concerns you, and is more concerned with practices than specific tech

Re: [Webware-discuss] encryption

2002-04-18 Thread Mike Orr
On Thu, Apr 18, 2002 at 04:28:44PM -0700, Jim Kraai wrote: > store them as two values: pgp encrypted, and hashed to confirm the decrypt. > > this is probably overkill for the password. might just want to store the > hash of the password, then when a user wants to log in, compare the hash > with

RE: [Webware-discuss] encryption

2002-04-18 Thread Jim Kraai
store them as two values: pgp encrypted, and hashed to confirm the decrypt. this is probably overkill for the password. might just want to store the hash of the password, then when a user wants to log in, compare the hash with the password they gave, hashed. of course this won't work if you eve

[Webware-discuss] encryption

2002-04-18 Thread Chuck Esterbrook
I need to encrypt the passwords and credit card numbers in my database. Any recommendations on an approach? -Chuck ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

[Webware-discuss] cvs update: new methods in HTTPRequest

2002-04-18 Thread Geoffrey Talvola
I cleaned up some methods of HTTPRequest that I've been using internally for quite a while and checked them into Webware CVS. Chuck, if this looks like deja-vu it's probably because I saw these methods first in some of your code :-) originalURLPath() - Returns the URL path of the original servle

Re: [Webware-discuss] Re: [Webware-devel] What's needed for Webwa re 1.0?

2002-04-18 Thread Chuck Esterbrook
On Tuesday 02 April 2002 10:15 am, Geoffrey Talvola wrote: > Kendall Clark wrote: > > There are a few minor tweaks I suspect to get in before 1.0 as > > well, but I'd say the big things are the testing framework, > > distutils, better docs, and logging solution. > > Actually, I don't mind if other

Re: [Webware-discuss] awake respond sleep cycle

2002-04-18 Thread Chuck Esterbrook
On Thursday 04 April 2002 12:11 am, Ian Bicking wrote: > There's things that everyone is doing, but they are > all hacking them into their own SitePage. Hence, the power of the SitePage pattern! ;-) But I agree. On Thursday 04 April 2002 08:56 am, Geoffrey Talvola wrote: > What other things a

Re: [Webware-discuss] awake respond sleep cycle

2002-04-18 Thread Chuck Esterbrook
Reminder: Don't forget about this callback in page that you can use: def writeExceptionReport(self, handler): See more below. On Wednesday 03 April 2002 06:55 am, Geoffrey Talvola wrote: > Seems like a good idea to move the full awake/respond/sleep cycle > into Servlet to me.  But there

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, we knew him.

2002-04-18 Thread Mike Orr
On Thu, Apr 18, 2002 at 04:44:59PM -0400, Matt Feifarek wrote: > | I'm just getting started with Webware, and I read the Python9 paper which > | mentioned FormKit. After wiping the drool from my chin I found that it > | doesn't seem to be anywhere in the Webware stock installation > | these days.

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, we knew him.

2002-04-18 Thread Mike Orr
On Thu, Apr 18, 2002 at 01:27:17PM -0700, Steve Freitas wrote: > I'm just getting started with Webware, and I read the Python9 paper which > mentioned FormKit. After wiping the drool from my chin I found that it > doesn't seem to be anywhere in the Webware stock installation these days. Is > there

RE: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, we knew him.

2002-04-18 Thread Matt Feifarek
| I'm just getting started with Webware, and I read the Python9 paper which | mentioned FormKit. After wiping the drool from my chin I found that it | doesn't seem to be anywhere in the Webware stock installation | these days. Is | there any place I can turn for shake-n-bake form classes? I don't

[Webware-discuss] Whence FormKit? Or, alas, poor FormKit, we knew him.

2002-04-18 Thread Steve Freitas
Hiya, I'm just getting started with Webware, and I read the Python9 paper which mentioned FormKit. After wiping the drool from my chin I found that it doesn't seem to be anywhere in the Webware stock installation these days. Is there any place I can turn for shake-n-bake form classes? Thanks, S

[Webware-discuss] RE: FormKit and Cheetah

2002-04-18 Thread Matt Feifarek
Mike, I'm afraid that we've never used Cheetah, so I can't really comment much on your code. We're certainly interested in added features to FormKit to accomodate Cheetah, PSP, etc. I've got to read up on Cheetah anyway, so maybe this is a good time for me. If after you read more about FormKit,

Re: [Webware-discuss] Re: Webware domain

2002-04-18 Thread Larry Price
On Thu, 18 Apr 2002, Bill Eldridge wrote: > Magnus Lie Hetland wrote: > > Tavis Rudd <[EMAIL PROTECTED]>: > > [snip] > > > >>> > >>>How about changing the project name to something that is available as > >>>a .org domain? > >>> > >> > >>I tried that one and got burnt at the stake ;) Still gets

RE: [Webware-discuss] how do i use form fields?

2002-04-18 Thread Geoffrey Talvola
Look at WebKit/Examples/FileUpload.py - Geoff > -Original Message- > From: Ian Lipsky [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 18, 2002 8:30 AM > To: [EMAIL PROTECTED] > Subject: Re: [Webware-discuss] how do i use form fields? > > > it never seems to fail...i look around for

RE: [Webware-discuss] PSP vs. Servlets?

2002-04-18 Thread Geoffrey Talvola
Karl Putland wrote: > I've taken a different route that might be of interest and I wonder > if the two ideas can be merged? > > I've gone the MVC route, where I have servlets that are the > controllers, then one or more psp(s) that are the views for the > servlet. For instance a servlet: > > Cu

Re: [Webware-discuss] how do i use form fields?

2002-04-18 Thread Ian Lipsky
it never seems to fail...i look around for an answer, dont find it, send out an email, and 2 minutes after i send the email i find the answer :) Although i was just using req.fields() This is too similar to asp :) One thing i am stuck on now though...how do i access an uploaded file from a form?

Re: [Webware-discuss] how do i use form fields?

2002-04-18 Thread Karl Putland
--- Ian L <[EMAIL PROTECTED]> wrote: > i've got a psp page with about 4 lines of code on it, which isnt > working. > > I've imported cgi, and i have the following lines of code: > <% > form = cgi.FieldStorage() > formname = form["name"].value > %> > some html > <%=formname%> > > when i submit t

[Webware-discuss] how do i use form fields?

2002-04-18 Thread Ian L
i've got a psp page with about 4 lines of code on it, which isnt working. I've imported cgi, and i have the following lines of code: <% form = cgi.FieldStorage() formname = form["name"].value %> some html <%=formname%> when i submit the form to this page, i get the error: fileitem = form["name"]

Re: [Webware-discuss] Re: Webware domain

2002-04-18 Thread Bill Eldridge
Magnus Lie Hetland wrote: > Tavis Rudd <[EMAIL PROTECTED]>: > [snip] > >>> >>>How about changing the project name to something that is available as >>>a .org domain? >>> >> >>I tried that one and got burnt at the stake ;) Still gets my vote though. > > > Heh... > > It _would_ be nice to have

Re[2]: [Webware-discuss] Re: Webware domain

2002-04-18 Thread Serge Shchetinin
Hello Ian, Wednesday, April 17, 2002, 21:38:06, you wrote: >> webware.info isn't too bad, IMO. Better than .cx. IB> Only .tv and .bz are available (though .cx isn't listed on that)... IB> webware.tv doesn't seem quite right somehow... IB> webwarepy.* are available, as are webware-py.*, pywebwar