From: Bruce T. <blu...@ya...> - 2003-10-07 19:00:39
|
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 |