The FileReader is basically for opening files on the
server without any server-side scripting.

The init function is called once the filereader object
has been initialized. This is because it can use
either the XMLHttp object or a Java Applet. Applets
can only be accessed after the page has been loaded.

As for what object to use for your page I would have
to say it depends. Both objects have their advantages
and disadvantages. The FileReader is mainly for
reading files (or pages) from the server in a
synchronous form.

--
Raymond Irving

--- Bruce Tennant <[EMAIL PROTECTED]> wrote:
> I was wondering what the point of the init function
> is in the FileReader?  And what would be the best
> way to get at the string returned by filereader.
>  
> My other question is this.
>  
> What would be the best way to build a page and have
> only part of the page update from content on a
> server?
>  
> In particular, I'd like to have elements in a table
> update every 30 seconds or so, based on an SQL DB. 
> If there is a change in value, I'd like to do some
> kinda of fancy graphic thingy to point it out
> (secondary issue).
>  
> Will FileReader be the best approach?  I figured I'd
> need to access some kind of cgi(perl) or php
> function that would return a plain text file, maybe
> javascript code, with the new data, triggering the
> fetch from javascript every 30 seconds or what have
> you.
>  
> Is filereader the best way to do this or should I
> try to use one of the IOElements directly?
>  
> Does anyone know of any issues with Apache and cgi
> scripts that might cause this to fail?  I'd prefer
> to stay w/perl over php because of the much more
> elegant DBI module in perl.
>  
> Thanks in advance for any advise.
>  
> -Bruce
>  
> 
> 
> www.bluewolverine.com
> 
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
search


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to