Re: [WebDNA] Dynamic server feedback?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103787
interpreted = N
texte = Kenneth Grome wrote:> Can someone explain to me how swoopo.com displays new data continuously from the server like it does when it counts down different auction prices and displays them in red when there's only 10 seconds left in the auction (before someone places a bid and the clock for that auction is reset again)?> > I'm sure javascript handles the browser side, but how can I get a webdna thread to be the source of such data? Do I have to run a never ending loop or something ... so that the connection is continuous and new data is transmitted to the browser as it changes on the server?> > Sincerely,> Ken GromeNo loop, that's the javascript (AJAX).Combining Ajax and WebDNA has some really cool possibilities.I've been trying to learn it in my spare time.You can reverse engineer what they are doing there... thenyou'd build the WebDNA that finds/retrieves the content you want.http://www.swoopo.com/prototype.jsinitializes the object..http://www.swoopo.com/basic.js?t=8(amongst other) does some of the details.I posted this a while ago:http://forum.webdna.us/eucabb.html?page=detail&threadid=287&category=252&start=1#287which is code that initializes the xmlHttpRequest Object.However, if you are just starting out, there really is no short cutto knowing what you are doing other than taking a class or reading some books.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Associated Messages, from the most recent to the oldest:
Kenneth Grome wrote:> Can someone explain to me how swoopo.com displays new data continuously from the server like it does when it counts down different auction prices and displays them in red when there's only 10 seconds left in the auction (before someone places a bid and the clock for that auction is reset again)?> > I'm sure javascript handles the browser side, but how can I get a webdna thread to be the source of such data? Do I have to run a never ending loop or something ... so that the connection is continuous and new data is transmitted to the browser as it changes on the server?> > Sincerely,> Ken GromeNo loop, that's the javascript (AJAX).Combining Ajax and WebDNA has some really cool possibilities.I've been trying to learn it in my spare time.You can reverse engineer what they are doing there... thenyou'd build the WebDNA that finds/retrieves the content you want.http://www.swoopo.com/prototype.jsinitializes the object..http://www.swoopo.com/basic.js?t=8(amongst other) does some of the details.I posted this a while ago:http://forum.webdna.us/eucabb.html?page=detail&threadid=287&category=252&start=1#287which is code that initializes the xmlHttpRequest Object.However, if you are just starting out, there really is no short cutto knowing what you are doing other than taking a class or reading some books.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Donovan Brooke
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:
test (2000)
Problem with Midnight (2003)
WebCat2 several catalogs? (1997)
Random sort is not random at all..... (2000)
WebCatalog can't find database (1997)
AppleShare IP 6.1 (1998)
Auto Unsubscribe (2000)
Migrating to NT (1997)
Paypal merchant code tricks or pitfalls (2003)
Problem 2: Prefs file... (1997)
[WebDNA] [middle] << assistance need (2016)
Why does this not work? (2002)
extending webcatalog (1997)
Help name our technology! (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
[WebDNA] Triggers issue, or sendmail? (2012)
Separate SSL Server (1997)
Webcat/Webmerchant part II (1998)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Re:2nd WebCatalog2 Feature Request (1996)