Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
Eric Radman wrote: Yes... - Configuration. The design and implementation of a clean configuration format would really make WSGIKit usable. BTW, I have written a config parser with WSGIKit in mind, but I haven't plugged it into anything yet. I described some of the features here: http://blo

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Eric Radman
On 16:18 Tue 01 Feb , Ian Bicking wrote: > Winston Wolff wrote: > >Is anybody here going to be going to Pycon? Care to do a sprint on Webware? > > I'm planning on PyCon and the sprint; I'll be presenting on WSGIKit > (with an emphasis on WSGI and middleware). I have to admit, I get > frustr

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
Winston Wolff wrote: I'd be up for a WSGIKit sprint. I certainly don't understand WSGIKit as well as I understand Webware so this is a good opportunity to get my feet wet. I'd like to work on making it a viable development platform first. So my priorities would be: * unit tests, Certainly

RE: [Webware-discuss] several questions about webware

2005-02-01 Thread Ben Parker
lloyd wrote: > Ben Parker wrote: > > Contexts are really thin in Webware/WebKit right now. I mean > really thin. > > The only time they've come into play for me is acting as a > container for how > > WebKit instantiates servlets. Unless you do a lot of > intra-context servlet > > inheriting, you've

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Winston Wolff
I'd be up for a WSGIKit sprint. I certainly don't understand WSGIKit as well as I understand Webware so this is a good opportunity to get my feet wet. I'd like to work on making it a viable development platform first. So my priorities would be: * unit tests, * exception handling, * restart

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
Geoffrey Talvola wrote: Ian Bicking wrote: Winston Wolff wrote: Is anybody here going to be going to Pycon? Care to do a sprint on Webware? I'm planning on PyCon and the sprint; I'll be presenting on WSGIKit (with an emphasis on WSGI and middleware). I have to admit, I get frustrated these days w

RE: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Geoffrey Talvola
Ian Bicking wrote: > Winston Wolff wrote: >> Is anybody here going to be going to Pycon? Care to do a sprint on >> Webware? > > I'm planning on PyCon and the sprint; I'll be presenting on WSGIKit > (with an emphasis on WSGI and middleware). I have to admit, I get > frustrated these days when I w

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
Eric Radman wrote: I think the most valuable sprint would be on something that most of us are capable of contributing to--documentation! Well, one of the ideas of sprinting is to take on tasks that might be too difficult to take on alone, or where people are coming in with different experience.

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
Winston Wolff wrote: Is anybody here going to be going to Pycon? Care to do a sprint on Webware? I'm planning on PyCon and the sprint; I'll be presenting on WSGIKit (with an emphasis on WSGI and middleware). I have to admit, I get frustrated these days when I work on the Webware core :( -- any i

Re: [Webware-discuss] several questions about webware

2005-02-01 Thread lloyd
Ben Parker wrote: Contexts are really thin in Webware/WebKit right now. I mean really thin. The only time they've come into play for me is acting as a container for how WebKit instantiates servlets. Unless you do a lot of intra-context servlet inheriting, you've probably never had occasion to read

Re: [Webware-discuss] Basic post/form handling in webkit

2005-02-01 Thread John Dickinson
Here's what I would do: class mypage(WebKit.Page): def actions(self): return ['nifty_action'] def nifty_action(self): fields = self.request().fields() oldval = int(fields.get('foo','0')) newval = oldval+2 self.writeln('%d + 2 = %d' % (oldval,newval)) self.w

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Winston Wolff
I'm probably be there just for monday and tuesday. Maybe sunday. Regarding what to do, I hope to have the automated tests for all kits converted before PyCon so we can rely on them to not break things. It would be nice to have a build before then too so we are freer to change things. Some ideas

Re: [Webware-discuss] Basic post/form handling in webkit

2005-02-01 Thread Chris Barker
[EMAIL PROTECTED] wrote: I know this is really sketchy but I hope it helps. If you want a more detailed example let me know and I'll email you some read code for you to look at I don't know about the OP, but I'd like to see a more detailed example. thanks, -Chris --

[Webware-discuss] New tests for UserKit, fix for KidKit

2005-02-01 Thread Winston Wolff
I've added some tests for UserKit, and fixed the broken ones which had to do with MiddleKit. They tests were old and MiddleKit had changed out from under it. I also added a bit of documentation in Webware/Docs/Overview.html. It's included below. -winston --- Automated Tests Webware in

RE: [Webware-discuss] Basic post/form handling in webkit

2005-02-01 Thread jose
Well assuming that you've not over written the usual things in your servlets, first you need to define your actions, this is the a list of methods that you're exposing to your get and post statements. for example def actions(self): return ['myfunct'] then you can call it from your form by us

Re: [Webware-discuss] Webware KidKit 0.1

2005-02-01 Thread Tracy Ruggles
Winston Wolff wrote: I've checked in a KidKit servlet factory which lets you write .kid files, put them in your Webware context, and then open them in your browser as http://localhost/myContext/test.kid. I just checked it into the development CVS, so it should be in the anonymous CVS available

Re: [Webware-discuss] Refactor of UserKit

2005-02-01 Thread Seth Remington
I use UserManagerToMiddleKit, but that's more because of ignorance of the Role* variants than a conscious design descision on my part. I'm sure it goes without saying that the UserKit docs could use some work. -Seth On Mon, 2005-01-31 at 20:01 -0500, Winston Wolff wrote: > > > _