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 Grome No 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... then you'd build the WebDNA that finds/retrieves the content you want. http://www.swoopo.com/prototype.js initializes 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#287 which is code that initializes the xmlHttpRequest Object. However, if you are just starting out, there really is no short cut to knowing what you are doing other than taking a class or reading some books. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Dynamic server feedback? (Kenneth Grome 2009)
  2. Re: [WebDNA] Dynamic server feedback? (christophe.billiottet@webdna.us 2009)
  3. Re: [WebDNA] Dynamic server feedback? (Kenneth Grome 2009)
  4. Re: [WebDNA] Dynamic server feedback? (christophe.billiottet@webdna.us 2009)
  5. Re: [WebDNA] Dynamic server feedback? (Kenneth Grome 2009)
  6. Re: [WebDNA] Dynamic server feedback? (William DeVaul 2009)
  7. Re: [WebDNA] Dynamic server feedback? (Kenneth Grome 2009)
  8. Re: [WebDNA] Dynamic server feedback? (Donovan Brooke 2009)
  9. [WebDNA] Dynamic server feedback? (Kenneth Grome 2009)
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 Grome No 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... then you'd build the WebDNA that finds/retrieves the content you want. http://www.swoopo.com/prototype.js initializes 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#287 which is code that initializes the xmlHttpRequest Object. However, if you are just starting out, there really is no short cut to knowing what you are doing other than taking a class or reading some books. Donovan -- Donovan Brooke WebDNA Software Corporation http://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:

WebCat2.0 [format thousands .0f] no go (1997) Shopping problems with 2.1b3 acgi (1997) RePost: NAT and the CART (1999) NT 4.0/IIS WebCat Installation (1998) setting taxable to true (1997) sort problems....bug or brain fart? (1997) Multiple fields on 1 input (1997) Tax and ShipCost Problem (1997) WebCat2.0 [format thousands .0f] no go (1997) What ports does Webcatalog use (2003) Purchased cart being overwritten - still !?? (1997) Dealing with da back button (1999) Country & Ship-to address & other fields ? (1997) Sorting Orders (1997) Fwd: checkboxes (2000) Fed Ex Interaction (2003) [WebDNA] [hideif]'s not working in [sendmail] (2008) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) Postdata expired from cache (2004) Cancel Subscription (1996)