PHP: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
214 bytes added ,  19 May 2018
m
m (→‎What about Ajax?: added common use sentance)
 
There are various script languages that can be used to enhance what can be done in pure HTML as described on the [[Customised_templates|Customisation]] page.
 
The basics for content of this page were initiated by David Jamieson (DAJ) in various places in the Cumulus Wiki and support forum, his content has been assembled together, and built upon, for the current article.
 
== Using JavaScript ==
 
A quick comparison between pure HTML and HTML with JavaScript can be seen from [[Editing_content_of_a_webpage_using_either_HTML_or_Script|this example]]. Essentially, the Browser produces a page structure by reading the HTML, and then the browser will run the JavaScript instructions as it meets them (or a call to the separate file containing that code) and that can be interpreted to modify what is seen on the web page. A user can normally ask their browser to see the original HTML (display source) and to display the script that is modifying that. The user may be able to stop the script from running or run a different script, so JavaScript can have security implications. It can however be an advantage that code can be run easily to update part of a page, leaving the rest. A disadvantage is that different browsers may offer different versions of JavaScript, so the page designer cannot make assumptions about what JavaScript code will be available to all potential users.
 
= Using PHP Hypertext Pre-processor =
 
5,838

edits

Navigation menu