[Webware-discuss] Again about connections in MiddleKit - DoS attack possible?

2003-03-03 Thread Bogdan
Hi all! I have a code like in example: stor = MySQLObjectStore( user=self.DBAccess['user'], \ passwd=self.DBAccess['password'] ) stor.readModelFileNamed('test/Middle/Billing') ObjLists = stor.fetchObjectsOfClass(Customer) Here is my Setting.config: { 'Package':

[Webware-discuss] Webware ZODB

2003-03-03 Thread Ian Sparks
After the discussion of ZODB its not clear to me if anyone is actually using ZODB with Webware? If so, how are you arranging the access to the ZODB? ClientStorage ZEO seems like a good way to go but would you arrange a connection per servlet or have some kind of pool at the application level?

RE: [Webware-discuss] Thoughts on UserKit...

2003-03-03 Thread Geoffrey Talvola
Ian Bicking [mailto:[EMAIL PROTECTED] wrote: On Sat, 2003-03-01 at 11:59, Matt Feifarek wrote: I don't think it should be part of a separate SecurePage class, because everyone adds this functionality to their application eventually. I can't agree with that. Only a portion of our

[Webware-discuss] Tag libraries for Webware

2003-03-03 Thread Antonio Rodriguez
Hello All, I'm a newbie to w.w. (just downloaded it today) but thus far I am very very impressed. w.w. leverages python in so many of the 'right' ways and is very intuitive for those of use coming from the j2ee/servlet/jsp world. Here's my question: has anyone done anything to replicate the

[Webware-discuss] ZODB

2003-03-03 Thread Ian Sparks
After the discussion of ZODB its not clear to me if anyone is actually using ZODB with Webware? If so, how are you arranging the access to the ZODB? ClientStorage ZEO seems like a good way to go but would you arrange a connection per servlet or have some kind of pool at the application level?

[Webware-discuss] Webware

2003-03-03 Thread Paul Jessup
Dear Webware, I am going to try out you system to-night. It seems similar to Cold Fusion Application Server. I am interested in Python and Jython very much for future projects. I write web applications for customers using Cold Fusion. I am trying (with difficulty) to do the following, which I

RE: [Webware-discuss] Webware

2003-03-03 Thread Ian Sparks
No expert on this but if JavaScript has any kind of getFromURL functionality it could be used to call a servlet which does the lookup and returns some data formatted as a URL or as text. Combined with control of the in-page DOM you have all you need to do this in page lookup. I've never done

Re: [Webware-discuss] Webware

2003-03-03 Thread Aaron Held
This is a JavaScript issue, not a Webware one, but here is a quick pointer. 1) Setup a listbox on the page adn add a javascript function to add values to that listbox function addopt2(nValue, sText){ // this routine adds a new item to our listbox

Re: [Webware-discuss] Webware

2003-03-03 Thread Aaron Held
Thanks for the link, its interesting. That article references an interestged _javascript_ library for this type of work. It basically creates a cross-paltform hidden iframe on the page and uses that iframe to make the calls. Many of the examples that I have seen use an intermediate data

Re: [Webware-discuss] Webware

2003-03-03 Thread Tracy S . Ruggles
Also, see the article at: http://www-106.ibm.com/developerworks/library/wa-resc/?dwzone=web It's a great overview of remote scripting and is similar to your approach below. --T On Monday, March 3, 2003, at 10:58 AM, Aaron Held wrote: This is a JavaScript issue, not a Webware one, but here is a

Re: [Webware-discuss] Tag libraries for Webware

2003-03-03 Thread Ian Bicking
On Sat, 2003-03-01 at 18:50, Antonio Rodriguez wrote: Here's my question: has anyone done anything to replicate the jsp custom-tag library functionality in w.w? PSPs are nice and all but they fall down in the same places that ASPS/JSPS/PHPS fall down once you start to mush code into

RE: [Webware-discuss] Thoughts on UserKit...

2003-03-03 Thread Ian Bicking
On Mon, 2003-03-03 at 09:58, Geoffrey Talvola wrote: I do believe we should keep Page and SecurePage separate. It'll make the framework easier to learn because you can just start with Page without worrying about the security. And some people may never need to learn SecurePage. Also, users

RE: [Webware-discuss] Thoughts on UserKit...

2003-03-03 Thread Geoffrey Talvola
Ian Bicking [mailto:[EMAIL PROTECTED] wrote: On Mon, 2003-03-03 at 09:58, Geoffrey Talvola wrote: I do believe we should keep Page and SecurePage separate. It'll make the framework easier to learn because you can just start with Page without worrying about the security. And some

RE: [Webware-discuss] HowTo Restart AppServer and Preserve Session Based Locks

2003-03-03 Thread Geoffrey Talvola
In case you weren't aware of it, you can register a shutdown handler using self.application().addShutDownHandler(func). You could write a function that pickles your dictionary to disk and register it as a shutdown handler. - Geoff -Original Message- From: Roger Haase [mailto:[EMAIL

[Webware-discuss] Webware vs jBoss performance metrics

2003-03-03 Thread Ben Parker
Does anyone have performance metrics for Webware? I'm trying to evaluate Tomcat/jBoss vs. Apache/Webware for a high-traffic site. The site is currently running WebLogic and the client wants to ditch that in favor of open-source software, quite refreshing! I'm looking for quantitative data.

[Webware-discuss] CVS debugging feature

2003-03-03 Thread Ian Bicking
I added a simple feature to CVS which people may enjoy... it pleases me, at least. From the release notes: New debugging feature: by turning on the configuration variable IncludeErrorLink in Application.config, an [edit] link will be put next to each line in tracebacks. That link will point to

RE: [Webware-discuss] Thoughts on UserKit...

2003-03-03 Thread Tripp Lilley
On Mon, 3 Mar 2003, Geoffrey Talvola wrote: I'm not convinced. From a design perspective I find it better to use a subclass. Or perhaps a Mixin. Just something that keeps the authentication stuff separate from Page. -1 on subclass, +1 (about forty times over :) ) on a Mixin. I've been

[Webware-discuss] Reusability of servlets

2003-03-03 Thread Ian Bicking
The current convention of Webware development is making it difficult to distribute or reuse servlets. It's expected that many pages will not be reusable -- they'll be tied into their applications, calling all sorts of methods that are specific to that application. But most useful servlets have

RE: [Webware-discuss] Thoughts on UserKit...

2003-03-03 Thread Ian Bicking
On Mon, 2003-03-03 at 20:41, Tripp Lilley wrote: I've been following this thread and it seems to me that all of this behaviour built around Page is just -begging- for Mixins or delegates of some sort and documentation of an interface for adding behaviour to pages through them (e.g., the base

RE: [Webware-discuss] Reusability of servlets

2003-03-03 Thread Huy Do
Hi, I've been using Webware for the past 6months and have had no trouble with many of the issues you describe below. I have gained a lot of knowledge from the apache Turbine project, and have tried to use Webware + Cheetah (containment approach) in the same way as the Turbine + Velocity