Académique Documents
Professionnel Documents
Culture Documents
1
[Type Topic here]
Objectives:
Javascript
It is utilized to perform tasks such as printing the time and date, create a
calendar, or other tasks that are not possible through plain HTML.
<SCRIPT LANGUAGE="JavaScript">
<! -- Hide from old browsers
document.write('Hello World!');
// Stop hide -->
</SCRIPT>
Course Module
Although JavaScript files are often embedded into the HTML file, userscan
also save their JavaScript code in an external file. This file often ends with a
.js file extension.
Advantages of JavaScript
Speed. Being client-side, JavaScript is very fast because any code functions
can be run immediately instead of having to contact the server and wait for
an answer.
Versatility. JavaScript plays nicely with other languages and can be used in a
huge variety of applications. Unlike PHP or SSI scripts, JavaScript can be
inserted into any web page regardless of the file extension. JavaScript can
also be used inside scripts written in other languages such as Perl and PHP.
Server Load. Being client-side reduces the demand on the website server.
Disadvantages of JavaScript
Security. Because the code executes on the users' computer, in some cases it
can be exploited for malicious purposes. This is one reason some people
choose to disable JavaScript.
Course Module
[Type Subject / Course title here]
5
[Type Topic here]
Course Module
[Type Subject / Course title here]
7
[Type Topic here]
Course Module
Parsing data with JavaScript
[Type Subject / Course title here]
9
[Type Topic here]
Using Ajax
Course Module
The keystone of AJAX is the XMLHttpRequest object.
Course Module
[Type Subject / Course title here]
13
[Type Topic here]
Course Module
Displaying Ajax into tables
[Type Subject / Course title here]
15
[Type Topic here]
Course Module
Ajax and Databases
[Type Subject / Course title here]
17
[Type Topic here]
Course Module
[Type Subject / Course title here]
19
[Type Topic here]
References
Murach, J. (2014) Murach’s PHP and MYSQL (2nd Edition)
WEBSITE
http://php.net/
http://www.w3schools.com/php/
https://www.tutorialspoint.com/php/
Course Module