Php webtags: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
== Customised web pages ==
 
*If you are customising your web site, then you might choose to use script running on your web server to produce the HTML you want on your web site, (instead of asking Cumulus to process templates and upload the resulting output web pages), but you still need a way to get the derived values that Cumulus calculates locally into those web based scripts:
*If you are customising your web site, then you don't need to follow the way that the Cumulus supplied standard web pages work.
*Just as a reminder standard ones are written as template files that Cumulus has to process and upload each time new data is to be displayed.
 
 
*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.
*#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,
*#and make the resulting values available in '''script variables''' for you to use anywhere on your web site in other files.
*#When thesesomeone otherwants filesto canview beyour residentcustomised onweb yourpages, the web server, theysimply nevercopies needinto tothe beweb updatedpage locallythe (andlatest uploaded)script asvariables theyand dogenerates notHTML needthat tohas beup processedto firstdate locallyvalues.
*#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).
 
= Using PHP script =
5,838

edits

Navigation menu