Re: [Webware-discuss] dumping MiddleKit database...

2002-03-20 Thread Stefan Karlsson
On 19 Mar 2002 13:16:05 -0600, Jason Hildebrand wrote: On a number of occasions, I would have found it useful to be able to dump the entire MiddleKit object database to a file which I could later reload. I can do this with database tools (i.e. mysqldump, and later reload the file), but if I

Re: [Webware-discuss] Minimal object-relational mapper...?

2002-03-20 Thread Chuck Esterbrook
On Friday 15 March 2002 09:50 am, Magnus Lie Hetland wrote: I wouldn't dream of using a 10 character string in the first place. I'd use a foreign key, probably using an id (int). That would go for any object references.  Prehaps this is something  that foreign keys in Postgres could help

Re: [Webware-discuss] Caching

2002-03-20 Thread Chuck Esterbrook
On Sunday 17 March 2002 10:57 am, Magnus Lie Hetland wrote: I'm considering using an XML-based content system (with either XSL or just plain python transformation scripts), and wondered if the caching system used in PSP is easily transferrable to other systems? (It seems that caching is one

Re: [Webware-discuss] Can't see Docs from within Webkit example page

2002-03-20 Thread Chuck Esterbrook
On Sunday 17 March 2002 02:19 pm, Ernesto Revilla wrote: Dear Chuck, Geofff and Co, I recently installed Webware v7b2 and found that docs of MiddleKit and others are not directly accessible thru the Webkit example pages. I added some new contexts to view them thru the Web. It would be nice

RE: [Webware-discuss] Can't see Docs from within Webkit example page

2002-03-20 Thread Love, Jay
I wrote a servlet a long time ago that does this. However, it relies on having extraPathInfo turned on. I'd put it in, but we have extraPathInfo turned off by default. There's other ways to do it, though. Jay -Original Message- From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]]

RE: [Webware-discuss] Webkit.Cookie suggestion

2002-03-20 Thread Geoffrey Talvola
Matt Feifarek wrote: I'm starting to use Webkit.Cookie and I'm frustrated that the expires method only takes a string, rather than a python date/time float. Of course one can use time.time() and some string substitution etcetera to accomplish the same thing, but it would be nice to have

RE: [Webware-discuss] Can Webware really Handle it ?

2002-03-20 Thread Geoffrey Talvola
Huy Do wrote: Hi all, I am in the process of starting a major development project in Python, and was evaluating the use of Webware as the framework for the application. I am basically looking for views on whether Webware can handle 400-500 concurrent users 24/7 365 days a year,

Re: [Webware-discuss] Can't see Docs from within Webkit example p age

2002-03-20 Thread Mike Orr
On Wed, Mar 20, 2002 at 10:20:42AM -0500, Geoffrey Talvola wrote: Maybe it's time to make extraPathInfo configurable on a servlet-by-servlet basis (perhaps by overloading a method or calling some method in the servlet's __init__)? One vote for yes.

Re: [Webware-discuss] Can Webware really Handle it ?

2002-03-20 Thread Tavis Rudd
I don't have any experience with large installations like this, but here's a few strategies that could mitigate the need for a large pool of servers: ** keep the processing that actually occurs in WebKit to a minimum by serving all static requests directly from Apache / Squid. Only serve

[Webware-discuss] 'interpreting' html pulled out of database

2002-03-20 Thread dennis
Hi, I want to use a python servlet to pull a chunk of html out of a database, parse it for 'PSP' tags and then self.writeln it. What would people suggest for doing this? -- --- Dennis Sacks [EMAIL PROTECTED] Things are falling down on me, heavy things I could not see

RE: [Webware-discuss] Can't see Docs from within Webkit example p age

2002-03-20 Thread Love, Jay
As I sat down to write a response to this proposal of per servlet extraURLPath, saying this will be really hard to do, I decided to think before I responded (a rare thing). And actually, this might not be too terribly difficult. The way extraURLPathInfo works is that when we get the request, we

RE: [Webware-discuss] 'interpreting' html pulled out of database

2002-03-20 Thread Love, Jay
PSP can do it, but I'd probably need to tweak some things. There is a command line interface to PSP already. We'd just need to set it up so it could be used as a module. Jay -Original Message- From: Tavis Rudd [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 1:48 PM To:

Re: [Webware-discuss] 'interpreting' html pulled out of database

2002-03-20 Thread dennis
On Wed, 20 Mar 2002, Tavis Rudd wrote: You could use Cheetah to do the parsing/compiling of the html string. It can handle % exec % and %= eval % tags in addition to Cheetah's standard syntax. As far as I know, the official PSP that comes with Webware can't be used for this sort of

Re: [Webware-discuss] 'interpreting' html pulled out of database

2002-03-20 Thread dennis
What I've got now is one psp page that gives the common body such to all the web pages. The psp page calls a method in a servlet to generate the rest of the page. I have a hidden variable named page that gets set to determine what gets generated for each request. -- --- Dennis Sacks [EMAIL

Re: [Webware-discuss] 'interpreting' html pulled out of database

2002-03-20 Thread Tavis Rudd
Hmm, is the html going to be generated from a centrally controlled template for each virtual domain, or will html generation be delegated out for each domain. If you're using the template approach you could just set up a master site that can be themed / branded differently depending on what

Re: [Webware-discuss] Can't see Docs from within Webkit example p age

2002-03-20 Thread Mike Orr
On Wed, Mar 20, 2002 at 12:20:42PM -0500, Love, Jay wrote: As I sat down to write a response to this proposal of per servlet extraURLPath, saying this will be really hard to do, I decided to think before I responded (a rare thing). And actually, this might not be too terribly difficult.

RE: [Webware-discuss] Can't see Docs from within Webkit example page

2002-03-20 Thread Ian Bicking
On Wed, 2002-03-20 at 11:20, Love, Jay wrote: As I sat down to write a response to this proposal of per servlet extraURLPath, saying this will be really hard to do, I decided to think before I responded (a rare thing). And actually, this might not be too terribly difficult. The way

Re: [Webware-discuss] 'interpreting' html pulled out of database

2002-03-20 Thread dennis
On Wed, 20 Mar 2002, Tavis Rudd wrote: Hmm, is the html going to be generated from a centrally controlled template for each virtual domain, or will html generation be delegated out for each domain. If you're using the template approach you could just set up a master site that can be

Re: [Webware-discuss] dumping MiddleKit database...

2002-03-20 Thread Stefan Karlsson
On 20 Mar 2002 09:46:54 -0600, Jason Hildebrand wrote: On Wed, 2002-03-20 at 02:34, Stefan Karlsson wrote:  A solution would be to implement a dump which outputs the objects  in  the same format as the samples.csv file, so that MiddleKit can  easily  reload the objects, even if the classids

Re: [Webware-discuss] Can Webware really Handle it ?

2002-03-20 Thread Tavis Rudd
On Wednesday 20 March 2002 12:11, Ian Bicking wrote: On Wed, 2002-03-20 at 12:08, Tavis Rudd wrote: This much easier and way more efficient than calculating these relative paths in your Servlet code. It allows you to do this: img src=GlobalImages/xx.jpg width=XX height=XX / rather than

[Webware-discuss] FFK problems

2002-03-20 Thread Luke Opperman
Hello all - Got a strange problem today. On our development server, everything is running fine. On our live server, a couple of our FunFormKit FormServlets seem to be forgetting their overrideMethod. Some of these are mutable forms, most are not. And several are working without a problem.

Re: [Webware-discuss] Minimal object-relational mapper...?

2002-03-20 Thread Magnus Lie Hetland
Chuck Esterbrook [EMAIL PROTECTED]: I don't think I'd need it for my application. (And, btw, Postgres supports array columns, so I could even store lists directly... Though putting them in a separate table wouldn't be that hard, I think. Again, naming conventions could help out.)