Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Stephan Richter
>It looks like the pages you are serving are mostly big tables. Both >Netscape and IE >won't reder anything unless they got everything in the table. > >I would try to time the 'wget' speed to verify if zope is slow or not. Well, I kinda did that using telnet. I telneted into port 80 and then as

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Steve Alexander
Stephan Richter wrote: > > > > > >Looks like it's more that just a tweak, though :-( > > So, how can I use this method? I do not understand the internals of the > ZServer completely. You've got a RESPONSE object. For HTTP stuff, it will be a HTTPResponse as defined in lib/python/ZPublisher/HTT

Re: [Zope-dev] Re: [Zope] Optimization and speed

2000-07-15 Thread Martijn Pieters
On Sat, Jul 15, 2000 at 01:19:33PM -0700, Stephan Richter wrote: > > > > I take that back in the previous mail to Steve about the large table. We > have one and I split the header from the rest as you suggested. But since > it is not streaming the information, it will still pop up all at once.

Re: [Zope-dev] Re: [Zope] Optimization and speed

2000-07-15 Thread Stephan Richter
> I take that back in the previous mail to Steve about the large table. We have one and I split the header from the rest as you suggested. But since it is not streaming the information, it will still pop up all at once. Any ideas? Steve just send me a file and a method but I do not understand

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Steve Alexander
Stephan Richter wrote: > > >Can you see the stream of data coming if you telnet to your server and > >type GET / HTTP/1.0 or whatever? Is it just that the rendering is slow > >because some part of the page is slow to load? > > You got the hit. It does not stream the page out. It sits there and t

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Stephan Richter
>At the HTML level, are your pages in one big table? If so, Netscape will >often need to wait until the whole contents of the table is downloaded >before attempting to render it. > >To get around this, you need to specify the size of just about >**everything** in the table. No, we do not do that

[Zope-dev] Re: [Zope] Optimization and speed

2000-07-15 Thread Martijn Pieters
On Sat, Jul 15, 2000 at 12:18:23PM -0700, Stephan Richter wrote: > I have a pretty big site with quiet a big database (PostGreSQL) in the > background. When a site loads I can tell that after about 5 seconds the > site is ready to download. The site downloads quickly thereafter if I am on > a T

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Steve Alexander
Stephan Richter wrote: > > I have a pretty big site with quiet a big database (PostGreSQL) in the > background. When a site loads I can tell that after about 5 seconds the > site is ready to download. The site downloads quickly thereafter if I am on > a T1, DSL or Cable Modem connection. But sinc

[Zope-dev] Optimization and speed

2000-07-15 Thread Stephan Richter
Hello everyone, I write this mail, because I could not find anything useful in the archives: I have a pretty big site with quiet a big database (PostGreSQL) in the background. When a site loads I can tell that after about 5 seconds the site is ready to download. The site downloads quickly ther

RE: [Zope-dev] Announcing dev.zope.org

2000-07-15 Thread Brian Lloyd
> > : http://dev.zope.org. > > The "Log in" link points to www.zope.org, which makes it > impossible to login to the new site (of course, not > "impossible" for someone who knows zope, who can just type > "dev" over "www" in the location box...) Thanks - I've made the necessary update so that pe

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Erik Enge
On Sat, 15 Jul 2000, Shane Hathaway wrote: > call, it won't redirect. So you should be able to achieve the same > results just by invoking manage_addImage without including the REQUEST > object. But I have to pass something with the REQUEST, or else it won't add the image, right? > A conventi

Re: [Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Shane Hathaway
Erik Enge wrote: > > Hi. > > I've been browsing through the Zope and Zope-dev archives without finding > anything related to this, please stop me if it has already been dealt > with. :) > > technical person = someone who doesn't mind fuzzing around with the >manage_main page

[Zope-dev] Redirecting from the manage interfaces.

2000-07-15 Thread Erik Enge
Hi. I've been browsing through the Zope and Zope-dev archives without finding anything related to this, please stop me if it has already been dealt with. :) technical person = someone who doesn't mind fuzzing around with the manage_main pages non-technical person = someone w

[Zope-dev] Security model idea from LoginManager: roles in a class-like hierarchy

2000-07-15 Thread Lalo Martins
I think perhaps roles should take part in a class-like hierarchy. It would be useful to be able to say that, for example, "Author" is a subrole of "User", so that if I give "Author" for an user it automagically gets the permissions for "User". In my zope-coding experience this is a very realistic

[Zope-dev] Re: ZCallable

2000-07-15 Thread Steve Alexander
Chris Withers wrote: > > Yup, > > This looks good, as did your earlier post. However, it raises a question > :( > > Something like a ZCatalog or a Squishdot Site (which I have a passing > interest in ;-) are both folderish. However, their __call__ method does > something quite different: it ret