[Webware-discuss] cvs update: MiscUtils.Funcs.wordWrap

2002-11-13 Thread Chuck Esterbrook
New function in cvs. Example: from MiscUtils.Funcs import wordWrap print wordWrap(someString, 65) --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer

RE: Processes and threads (was: RE: [Webware-discuss] Setting up for multiple developers)

2002-11-13 Thread Hancock, David (DHANCOCK)
Ian: Thanks for the response. Our OS is Linux, so our threads are really processes. One thing I've never really understood is whether the thread-like processes on Linux offer any kind of advantage over normal processes. But I mentioned it only because it's a lot of developers working at the same

RE: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Hancock, David (DHANCOCK)
Something we tried (but weren't smart enough to pull off) was to extract the individual port number from each developer's environment variables and then plug it into AppServer.config. I don't recall the exact problem, but it seems like we couldn't put os.environ['WK_PORT'] into the configuration d

Processes and threads (was: RE: [Webware-discuss] Setting up formultiple developers)

2002-11-13 Thread Ian Bicking
On Wed, 2002-11-13 at 20:00, Hancock, David (DHANCOCK) wrote: > Thus, on reasonable hardware, there are upwards of 120 python WebKit > processes running, 10 per developer, with nobody's toes getting stepped on. I actually believe it's more like 20 processes, with lots of threads. On Linux threads

Re: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Edmund Lian
Thanks to all for the responses. I'll summarize and post the responses to the Wiki tomorrow. ...Edmund. --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and

RE: [Webware-discuss] Developer access to WebKit module

2002-11-13 Thread Ian Bicking
On Wed, 2002-11-13 at 17:43, Stuart Donaldson wrote: > I was looking for a clean way to implement my own Session class. > > It appears that this is passed into the constructor for Application() > however the specific Application is called for out of AppServer which is sub > classed by ThreadedAppS

Re: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Jason Hildebrand
On Wed, 2002-11-13 at 19:36, Edmund Lian wrote: > > OK, this is what I thought... I see Stuart is asking about how to have each > user run their own AppServer. This is kind of related to my follow-up > question: How do we configure Apache and the Webware config files to have > multiple AppServer i

RE: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Hancock, David (DHANCOCK)
We've got up to 12 people working on local copies of the 'make app workdir' application directories, with the master copy in CVS (exactly as suggested below). We're also using mod_webkit with 12 different port numbers, and it handles them nicely. We just call the locations /WK1, /WK2, etc. We pu

RE: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Stuart Donaldson
I have Apache's httpd.conf set up just to load the module. LoadModule webkit_module lib/apache/mod_webkit.so AddModule mod_webkit.c Then in my local .htaccess file I setup: WkServer localhost 8086 SetHandler webkit-handler Presumably you can have multiple .htaccess files for different developer

Re: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Edmund Lian
On 11/13/2002 07:55:29 PM Jason wrote: >I think that if the developers are working on the same application, it's >probably best to have multiple AppServers, and to keep the code in CVS. [snip] >If you share the AppServer, things as simple as syntax errors (which >will cause a traceback when you t

Re: [Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Jason Hildebrand
On Wed, 2002-11-13 at 15:27, Edmund Lian wrote: > How does everybody else handle the issue of multiple developers working on > the same application? I'm hoping that there's a neat way of setting up the > AppServer and autoreload so that people don't step on each other's toes. > Setting up separate

RE: [Webware-discuss] Developer access to WebKit module

2002-11-13 Thread Stuart Donaldson
I was looking for a clean way to implement my own Session class. It appears that this is passed into the constructor for Application() however the specific Application is called for out of AppServer which is sub classed by ThreadedAppServer. So, my plan was to create: class MyAppServer(ThreadedA

[Webware-discuss] Full albüm mp3 vwxi

2002-11-13 Thread Noel Corritore
Mp3sa yine bir ilki gerçekleþtiriyor: Klip arþivi! Full albüm ve single parçalar mp3 halinde! Arayýpta bulamadýðýnýz bütün parçalar için birde sitemize bakýn: http://www.mp3sa.com Full Turkçe Album Full Yabancý Album A-Z Yerli Mp3 A-Z Yabancý Mp3 En Iyý 20 Yerli Výdeo Klýp Yabancý

Re: [Webware-discuss] Developer access to WebKit module

2002-11-13 Thread Ian Bicking
On Wed, 2002-11-13 at 16:41, Stuart Donaldson wrote: > It appears that with the MakeAppWorkDir utility, the idea is to support > users creating their own working directory. > > However, Launch.py tries to load ThreadedAppServer out of WebKit, and not > out of the users specified directory making i

[Webware-discuss] Developer access to WebKit module

2002-11-13 Thread Stuart Donaldson
It appears that with the MakeAppWorkDir utility, the idea is to support users creating their own working directory. However, Launch.py tries to load ThreadedAppServer out of WebKit, and not out of the users specified directory making it difficult for a user to create their own AppServer. Furtherm

[Webware-discuss] Setting up for multiple developers

2002-11-13 Thread Edmund Lian
How does everybody else handle the issue of multiple developers working on the same application? I'm hoping that there's a neat way of setting up the AppServer and autoreload so that people don't step on each other's toes. Setting up separate AppServers for each developer is one way of doing it, bu

[Webware-discuss] locking and sessions.

2002-11-13 Thread Stuart Donaldson
I am trying to understand some of the locking issues in a multi-threaded Python app. Are the operations such as dictionary manipulations defined to be atomic in Python? Otherwise it would seem like there are some race conditions in working with the Session() class. In particular, multiple thread

Re: [Webware-discuss] .extraURLPath() ?

2002-11-13 Thread Frank Barknecht
Hi, Tracy Ruggles hat gesagt: // Tracy Ruggles wrote: > 1) .extraURLPath() isn't working the same as in 0.7. Before, I > could have a servlet, 'index.py' within any directory, say, > 'Display' and call an url like '//Display/5.6' and > .extraURLPath would return '5.6'. Now with the latest in cvs