Re: Refreshing

From: Date: Mon, 30 Jun 2003 18:54:22 +0000
Subject: Re: Refreshing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153460@lists.php.net to get a copy of this message
The only problem I have with the image idea is that it is not particularly generic and a bit unusual (i.e. kindof a hack). The IFRAME would need only contain a simple JavaScript function call, so it would be pretty small (the data would probably be less than the HTTP header information), and this would basically represent the framework for implementing RPCs via JavaScript. Once you go down this path, you don't have to worry about figuring out what image size means what or how to generate these images, you just pass a meaningful parameter to your RPC response handler. But, I admit, I can get religious about these kind of things. In the end, sometimes practical realities justify hacks. And, really, it is all a matter of degrees (I am not sure IFRAMES were designed for what I am proposing you use them for either). Jeremy --- Marco Tabini <marcot@tabini.ca> wrote: > The image should take care of the click, and also > reduce the amount of > information transmitted somewhat (although not > necessarily, depending on > what you send to your iframe). > > Cheers, > > > Marco >

« previous php.general (#153460) next »