Re: [Webware-discuss] Validators for Sessions and QueryStrings (an example)

2003-10-07 Thread Ian Bicking
On Tuesday, October 7, 2003, at 04:45 PM, Ian Sparks wrote: The ValidatorConverters are one of the really neat ideas from FunFormKit (though I use dalchemys FormKit) I found myself wanting to do some additional Validation of Query Strings and Session values and I wanted to re-use the ValidatorC

[Webware-discuss] Validators for Sessions and QueryStrings (an example)

2003-10-07 Thread Ian Sparks
The ValidatorConverters are one of the really neat ideas from FunFormKit (though I use dalchemys FormKit) I found myself wanting to do some additional Validation of Query Strings and Session values and I wanted to re-use the ValidatorConverters that I had. The code I'm going to present isn't pr

[Webware-discuss] Re: SQLError

2003-10-07 Thread Giles Hall
On Tue, Oct 07, 2003 at 01:16:13PM -0700, [EMAIL PROTECTED] wrote: > I have problems with many concurrent request for Webware. I get the error: Webware uses threads. That said, some Python DBAPIs are not totally threadsafe requiring that you, the programmer, provide synchronization. >From the p

[Webware-discuss] Re[2]: Re: Webware vs. PHP - performance comparision!!!

2003-10-07 Thread Jarosław Zabiełło
Almost all of my problems GONE! Inspired by Mike Orr and his example of cache mechanism, I created independent module with all Cheetah definition (and all sql queries, which are not dependent on different parameters). This module is compiled only once and is imported by all my servlets. My applicat

[Webware-discuss] SQLError: (2014, "Commands out of sync; You can't run this command now")

2003-10-07 Thread JZ
I have problems with many concurrent request for Webware. I get the error: SQLError: (2014, "Commands out of sync; You can't run this command now") MyDB.py === from MyDBPool import datapool class MyDB(Config): def __init__(self): self.conn = None self.cursor = Non

Re: [Webware-discuss] Error installing WebKit

2003-10-07 Thread Ronan Lucio
Victor, Thank you very for your answer. I did your tip but it still show me the error: # make cc -O2 -c ./wkcgi.c -o ./wkcgi.o In file included from ../common/wkcommon.h:24, from wkcgi.h:6, from ./wkcgi.c:5: /usr/include/resolv.h:104:

Re: [Webware-discuss] Error installing WebKit

2003-10-07 Thread Victor Ng
Hey- I poked around a little more and for bug : I found that if you use "defined(BSD)" instead of __APPLE__ you should be able to build wkcgi cleanly for both official FreeBSD builds as well as OSX In ../common/wkcommon.h, I added... #if defined(BSD) #include #include #endif ...immediate

Re: [Webware-discuss] Error installing WebKit

2003-10-07 Thread Victor Ng
This looks like the same problem with building on OSX - so I guess this is a general BSD build issue: https://sourceforge.net/tracker/?func=detail&atid=104866&aid=789594&group_id=4866 Here's the pertinent information you need to make it work - not sure which variable we can use to detect both OS

[Webware-discuss] Error installing WebKit

2003-10-07 Thread Ronan Lucio
Hello All, I'm trying to install Webware/Webkit in FreeBSD-4.8-RELEASE box, but, when I do: -- # cd /usr/src/Webware-0.8.1/WebKit/Adapters/wkcgi # make cc -02 -c ./wkcgi.c -o ./wkcgi.o in file included from ../common/wkcommon.h:20, from wkcgi.h:6,

[Webware-discuss] Re: Webware vs. PHP - performance comparision!

2003-10-07 Thread Mike Orr
On Tue, Oct 07, 2003 at 11:13:21AM +0200, JZ wrote: > Hello Mike, > > Tuesday, October 7, 2003, 7:38:34 AM, you wrote: > > >> >> The same pages works fast, and the > >> >> same pages sometimes display after long delay. > > > Could it be the delay is happening the first time a new section is > >

[Webware-discuss] Re[2]: Webware vs. PHP - performance comparision!

2003-10-07 Thread JZ
Hello Mike, Tuesday, October 7, 2003, 7:38:34 AM, you wrote: >> >> The same pages works fast, and the >> >> same pages sometimes display after long delay. > Could it be the delay is happening the first time a new section is > hit, causing a time-consuming import? I'm having this at a site I'm >