AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi WebSite von Server zum Client "pushen" (CGI Script)
Thema durchsuchen
Ansicht
Themen-Optionen

WebSite von Server zum Client "pushen" (CGI Script)

Ein Thema von tini · begonnen am 11. Sep 2003 · letzter Beitrag vom 18. Sep 2003
 
Benutzerbild von Wormid
Wormid

Registriert seit: 26. Aug 2003
Ort: Steinfurt
292 Beiträge
 
Delphi XE2 Professional
 
#10

Re: WebSite von Server zum Client "pushen" (CGI Sc

  Alt 12. Sep 2003, 09:31
Ein kleines Beispiel zu meinem Denkansatz aus einem Usercomment in der PHP-Dokumentation...

Schritt 1, vor der langwierigen Datenbankoperation:
Zitat:
the part that you want to show during the 'processing' has to be embedded in a SPAN tag like so:

echo "<span id=\"processing\">analysing data...</span>";
flush();
Schritt 2, nach der dicken Datenbankoperation...
Zitat:
then the long calculations will follow, after a few seconds you then simply send:

echo "<script>processing.style.display='none'</script>";

taadaa, and the part within the SPAN tags will disappear.
Ich denke, das sollte so auch ohne weiteres auf Delphi übertragbar sein.

Gruß

Wormid
Debuggers don't remove Bugs, they only show them in Slow-Motion.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:31 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz