durusmail: quixote-users: Controlled display of forms & widgets.
Controlled display of forms & widgets.
2003-04-25
2003-04-28
Controlled display of forms & widgets.
Michael Watkins
2003-04-25
On April 25, 2003 06:05 am, Gerhard Haering wrote:
> My question was if SCGI for example uses threading internally or if I'm
> stuck with one (1) concurrent request when using SCGI as a Quixote
> backend? How about mod_python?

As Martin mentioned SCGI forks a default of 5 maximum processes. I've loaded
up a live site (quixote / psycopg-Postgres based) with dozens of concurrent
accesses (using "ab" apache bench) not not seen SCGI block or otherwise
wither under the load.

Re controlling output on the display, I think you have three basic levels of
control. One is subclassing Form, to change the default behaviour. Some
limited ability to change look and feel there. I do this to have labels
beside rather than over fields.

When that fails to meet your need, you can override render() either in a
subclass of form or in your new instance. I do this when I have one off
changes for a form.

Or you can drop using Form completely and call all the widgets directly. I
have not done this but believe there are a number of users that do.

HTH
Mike

reply