--- Benoit Marchant <[EMAIL PROTECTED]> wrote:
> 
> On Friday, March 21, 2003, at 01:13  PM, Raymond
> Irving wrote:
> 
> >
> > --- Benoit Marchant <[EMAIL PROTECTED]> wrote:
> >> - be able to call setURL() on dynlayers with
> >> accurate onload  sent when
> >> all content is back.
> >
> > This will convert dynlayers into loadpanels,
> correct?
> > Hmmm...
> Yes ! and that's the beauty of it ! There's no need
> for a loadpanel 
> subclass when any dynalyer can do the same !! It's
> great from an API 
> point of view, much simpler.

Hmmm... maybe not! converting a layer to a loadpanel
will 1) add bloated code to DynLayer.prototype that
will be used by using in only a few cases. Would
anyone have need for 10 loadpanels? IMO I think
LoadPanel/LoadLayer should be a widget. In this way we
can easily extend the features without having to add
mode code to DynLayer.prototype which would affect off
DynLayers. Agree?

> >> - be able to send get/posts
> >
> > This will duplicate features of the IOElement. Why
> > duplicated code? If a user wants to communicate
> with a
> > server they should use IOElement.
> LoadPanel/LoadLayer
> > should be for downloading html pages, not for
> sending
> > and receiving arguments to and form the server.
> 
> In dynapi2, I used the trick of setting a src to a
> new Image to send a 
> get with url form values when I wanted to send
> values to the server 
> side, and didn't care about the result. 

I agree. That's fine

>So I could
> use IOElement for 
> it, although it's pretty big for such a small
> requirement.

No, IOElement is mainly for sending and receiving
data. It can to be used for receiving raw html, but
with LoadPanel around this feature would be redundant.

 
> I agree, both are different for our usage, although
> usually in HTML, 
> when you send a request. get or post, you get some
> other html back !

At new feature that is on my list of to-do (originally
Dan' idea) is to add an http-proxy server. This will
allow users to download and upload text/html content
and display them inside an ordinary dynlayer (using
setHTML) if they so chooses. They could also use it to
upload xml documents as well. Http-proxy will be used
along with IOElement. 

--
Raymond Irving



__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to