Client-side scripting is about "programming" the behavior of the browser.
<!DOCTYPE html>
<html><head><script>
function displayDate()
{ document.getElementById("demo").innerHTML=Date();}
</script></head><body>
<h1>My First JavaScript</h1>
<p id="demo">This is a paragraph.</p>
<button type="button" onclick="displayDate()">Display Date</button></body></html>
What is Server side scripting lanugages? Give example.
Server-side scripting is about "programming" the behavior of the server. This is called server-side scripting or server scripting.
What can Server Scripts Do?
· Dynamically edit, change or add any content to a Web page
· Respond to user queries or data submitted from HTML forms
· Access any data or databases and return the result to a browser
· Customize a Web page to make it more useful for individual users
· Provide security since your server code cannot be viewed from a browser
What is XAMPP?
XAMPP stands for “X (as in “cross-platform”), Apache, MySQL, PHP, Perl” and is a “solution stack package” that installs each of those items (don’t you just love techno-jargon?). Similarly there exists a WAMP, MAMP, and LAMP, standing for Windows, Mac, and Linux, respectively. I believe they condense the “P” to PHP/Perl/Python because Python is additionally included in the stack, whereas it’s not in XAMPP.
What is DOM HTML?
In the HTML DOM (Document Object Model), everything is a node:
· The document itself is a document node
· All HTML elements are element nodes
· All HTML attributes are attribute nodes
· Text inside HTML elements are text nodes
|
|
· Comments are comment nodes
What is PHP?
· PHP is an acronym for "PHP Hypertext Preprocessor"
· PHP is a widely-used, open source scripting language
· PHP scripts are executed on the server
· PHP costs nothing, it is free to download and use
What is MySQL? and What is Queries?
· MySQL is a database system used on the web
· MySQL is a database system that runs on a server
· MySQL is ideal for both small and large applications
· MySQL is very fast, reliable, and easy to use
· MySQL supports standard SQL
· MySQL compiles on a number of platforms
· MySQL is free to download and use
· MySQL is developed, distributed, and supported by Oracle Corporation
· MySQL is named after co-founder Monty Widenius's daughter: My