Re: [WebDNA] HTTP Streaming -- impossible?
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105556
interpreted = N
texte = On Jul 12, 2010, at 2:18 PM, Kenneth Grome wrote:>> I just ran a test, and entering all asterisks in the timer fields, >> including the "Second" field, results in a trigger that executes >> every second. Give it a try.>> Thanks for the test Brian, I should have thought of that. The > instructions are wrong in this case, but at least it makes my > trigger management easier ... :)>>>> If you had a trigger that ran once per second and wrote the auction >> status to a text or xml file, you could use XMLHttpRequest (AJAX) >> to fetch that file from the client page and update the page content >> with the results. This would execute very fast, and not bother >> WebDNA with every client request, just with the once-per-second >> trigger.>> I was working on this approach a year ago or so on another website, > but the project ended prematurely so I never learned how this works, > and that's why I'm going to ask:>> How does the XMLHTTPRequest know when the file has changed on the > server? It needs to know this so it can download the new and > updated file, right?no, I think you just grab it as often as it *could* have changed. If it has not changed then you don't have to update the facade with the new (same old) data.------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
On Jul 12, 2010, at 2:18 PM, Kenneth Grome wrote:>> I just ran a test, and entering all asterisks in the timer fields, >> including the "Second" field, results in a trigger that executes >> every second. Give it a try.>> Thanks for the test Brian, I should have thought of that. The > instructions are wrong in this case, but at least it makes my > trigger management easier ... :)>>>> If you had a trigger that ran once per second and wrote the auction >> status to a text or xml file, you could use XMLHttpRequest (AJAX) >> to fetch that file from the client page and update the page content >> with the results. This would execute very fast, and not bother >> WebDNA with every client request, just with the once-per-second >> trigger.>> I was working on this approach a year ago or so on another website, > but the project ended prematurely so I never learned how this works, > and that's why I'm going to ask:>> How does the XMLHTTPRequest know when the file has changed on the > server? It needs to know this so it can download the new and > updated file, right?no, I think you just grab it as often as it *could* have changed. If it has not changed then you don't have to update the facade with the new (same old) data.------------Govindagovinda.webdnatalk@gmail.com
Govinda
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
(2000)
Re(2): Re(2): SSL, WebSTAR, WebCatalog (1998)
FORMS: Returning a specific page (1997)
[OT] DOD again (2003)
OFF TOPIC: Sendmail problem (2003)
Re:2nd WebCatalog2 Feature Request (1996)
[WebDNA] test (2017)
Webcat/Webmerchant part II (1998)
Migrating to NT (1997)
Webcatalog, Webstar and Crasharama (1999)
Closing databases (2003)
MATH TIME (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
REPOST... Incompatibility with WebCat 3 templates ... (2000)
CERT Advisory on malicious scripts (2000)
Setting up shop (1997)
UPS Online help (2003)
[convertchars] Problem (2000)
Location of Webcat site in folder hierarchy (1997)
New Mac Public Beta Available (1997)