How to Make Dynamic Websites Learn Javascript

 

Advanced JavaScript : Best for create Dynamic Websites


  • Introduction To Java
  • Definition of Scripts
  • Features of JavaScript
  • Types of Scripting
  • Difference between Server side and Client side Scripting

    Introduction :

JavaScript is client side scripting language developed by Netscape communication, used for developing dynamic internet applications. A server or client application can be developed using JavaScript statement.

 In every programming language we have to know about term program.Program is defined as  a set of instructions used to produce various kinds of outputs. 


Definition of Script :

A Script is a list of commands or instructions that are executed by a scripting engine. It is used in creation of dynamic web pages.Scripts are written in text editor like Notepad. JavaScript code inserted in html program between <script> and </script> tag.A Script is written in <head> or <body> section as per requirement of user.

Example-

<!doctype html>

<html>

<body>

<script language="javascript">

document.write("Welcome to JavaScript")

</script>

</body>

</html>


Write javascript code and run Click Here


Important things for Javascript program are-

1.Write program in text editor save this file with .html extension.

2.Use <script language=”javascript”> in <head> or <body> section as per user requirement.

3.To display message write document.write(“Welcome”);

 

Features of JavaScript :

1.For run the javascript programs there is no need to install any software on your computer.

2.Javascript is not pure object oriented programming because it does not support all features of object oriented language.

3.Javascript is used for input validations.A javascript can be used to validate form data before submitted to a sever,this saves the server from extra processing.

4.Control statements used in javascript have same syntax as other programming languages.

5.In Javascript using cookies we can store and retrieve information of visitor on computer.

6.Javascript is platform independent scripting language because javascript on any platform i.e on any operating system.

7.Javascript is popular scripting language because javascript has simple rules,due to this user and programmer learn easily and use.

8.Javascript is  object oriented  scripting language and supports event based programming facility. It is case sensitive language.

9.Javascript is used along with DOM(Document Object Model) for control over the browser by means of objects.

10.Any JavaScript enabled browser can understand and interpreted JavaScript code. Due to different features, JavaScript is known as Universal client side scripting language.

11.In Javascript we write programs of event handling like when a page load or when a user clicks on html element or button.

 

Types of Scripting:

        There are two types of scripting :

                             1.Server side script    

                              2.Client side script.

Client-side  Script  :  Client side script generally occurs on the client. By default client side scripting language is java script.Client side script is embedded in an HTML page. JavaScript is used for data entry validation such as checking values,ranges,dates etc. In this scripting, the script resides on client computer executed by browser and that can run on the client.

 

Server-side Script : Server side is interpreted by web server.ASP(Active Server Pages) script is server side script.The script is resides on web server, it is executed on server.

 

 Difference between Server side scripting and client side scripting

     There are some following points to differentiate the client side and server script.

1. In Client side scripting,scripts are  resides on the client computer and executed by browser .In server side scripting,scripts are resides on web server and scripts are processed by web server.

2.Client side scripting is embedded in an html page(.html) and server side scripting is most often found in an ASP(.asp).

3.In server side scripting source code is not visible. In client side scripting code is visible. In server side scripting code is hidden so it is secure.

4.For Client side scripting, JavaScript is used and VBScript is used for server side scripting.

5.Client side scripting is used for data validations e.g. checking values,ranges,dates etc. Server side scripting used for saving data to the database,accessing,modify and delete data from the database.

6. HTML5,Javascript are examples of client-side scripting language.Server side scripting languages are C#,Python,PHP,ASP.NET etc.


Click Here Video

Exam Link 

All Test 1 to 6

Sample IT Online Exam

Home


Share on Whatsapp

Read and give below test below :

Previous
Next Post »

Please Comment and Share. ConversionConversion EmoticonEmoticon