Re: [WebDNA] Dynamic server feedback?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103788
interpreted = N
texte = > No loop, that's the javascript (AJAX). Okay, let's say the browser sends a request to a webdna page so webdna does a search. When this happens webdna returns the current results of the search immediately -- but it does not search again automatically in order to update these results ... So in order to update the search results dynamically in the browser, the AJAX Javascript repeats the original request to the server -- perhaps on a timed basis, and apparently over the original connection which is held open by the XMLHTTPRequest object -- and then Javascript displays the new results in the browser "dynamically" so that the page itself does not have to be reloaded. If this is how it works then webdna is still doing a lot of repeated searches! It's just that the Javascript is making these requests automatically, rather than the visitor clicking a link or form button to get the new results manually. ------- I guess a similar effect might be obtained by putting a meta-refresh tag into a webdna template that's loaded into an iframe. This would effectively repeat the request on a timed basis, sort of like the Javascript does via XMLHTTPRequest. Naturally this approach would result in more server overhead because each of these iframe requests would open and close a new connection -- unlike the XMLHTTPRequest which repeats its requests over the original connection. But if the server is fast enough to handle these repeated requests the end result would look the same to the visitor, correct? Sincerely, Ken Grome 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)
> No loop, that's the javascript (AJAX). Okay, let's say the browser sends a request to a webdna page so webdna does a search. When this happens webdna returns the current results of the search immediately -- but it does not search again automatically in order to update these results ... So in order to update the search results dynamically in the browser, the AJAX Javascript repeats the original request to the server -- perhaps on a timed basis, and apparently over the original connection which is held open by the XMLHTTPRequest object -- and then Javascript displays the new results in the browser "dynamically" so that the page itself does not have to be reloaded. If this is how it works then webdna is still doing a lot of repeated searches! It's just that the Javascript is making these requests automatically, rather than the visitor clicking a link or form button to get the new results manually. ------- I guess a similar effect might be obtained by putting a meta-refresh tag into a webdna template that's loaded into an iframe. This would effectively repeat the request on a timed basis, sort of like the Javascript does via XMLHTTPRequest. Naturally this approach would result in more server overhead because each of these iframe requests would open and close a new connection -- unlike the XMLHTTPRequest which repeats its requests over the original connection. But if the server is fast enough to handle these repeated requests the end result would look the same to the visitor, correct? Sincerely, Ken Grome Kenneth Grome

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:

Server slowing down. (1997) shrink-wrapped version out yet? (1997) virtual domain and [listfile] paths and aliases (1998) numfound=0 for a search after going into the SSL (2003) can WC render sites out? (1997) Banner DNA (1997) Re1000001: Setting up shop (1997) Running 2 two WebCatalog.acgi's (1996) WebCatb15 Mac CGI -- [purchase] (1997) [SHOWIF]s and empty arguments (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Math (1997) platform of the server? (2000) bug in wn searching NT version? (1997) taxTotal, grandTotal (1997) WebCatalog can't find database (1997) ThreadMem ignored? (1998) referrer & truncation (1998) [searchString] (1997) Pdf problems (2004)