Php webtags: Difference between revisions

235 bytes added ,  18:36, 26 June 2020
m
m (sequence change)
Line 22: Line 22:
*You can write your own web pages that stay on your web server, and do not have to be uploaded again for each update.
*You can write your own web pages that stay on your web server, and do not have to be uploaded again for each update.
*However, those web pages still need to get data from Cumulus somehow.
*However, those web pages still need to get data from Cumulus somehow.
*#this page describes a way to have '''Cumulus process all the web tags''' that it defines, in one or more template files that are uploaded at the appropriate time interval for the updating of the web tags contained,
** The next section describes a range of ways this data can be made available.
*#and make the resulting values available in '''script variables''' for you to use anywhere on your web site in other files.
**The rest of this article focuses on ways that PHP Hypertext Pre-processor (PHP) can be used:
**#You can make '''Cumulus process all the web tags''' that it defines, in one or more template files that are uploaded at the appropriate time interval for the updating of the web tags contained,
**#After uploading these '''script variables''' are available for you to use anywhere on your web site in other files.
*#When someone wants to view your customised web pages, the web server simply copies into the web page the latest script variables and generates HTML that has up to date values.
*#When someone wants to view your customised web pages, the web server simply copies into the web page the latest script variables and generates HTML that has up to date values.
*#You can even use Ajax (a JavaScript that runs in Client's browser) to update that HTML with new values at regular intervals (when a new script variable files has been uploaded).
*#You can even use Ajax (a JavaScript that runs in Client's browser) to update that HTML with new values at regular intervals (when a new script variable files has been uploaded). Of course this Ajax can also use json or other methods described in the next section.
 
= The different Main Approaches to data transfer =
= The different Main Approaches to data transfer =


5,838

edits