Hi everyone, I'm Sanduni Kanishka from Sri Lanka. Currently I'm studying Computer Engineering at faculty of Engineering, University of Peradeniya.
First let's look at what is JavaScript is and special features of it.
What is JavaScript?
JavaScript is most popular client side scripting language and it is a dynamic programming language. Therefore at run time, it can execute many common programming behaviors that static programming languages perform during compilation. It is a light weight language, which uses very small amount of memory and easy to implement when porting. JavaScript allows client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. Interpreted language means it is a programming language for which most of its implementations execute instructions directly, without previously compiling a program into machine-language instructions.
Note that JavaScript is case sensitive.
Note that JavaScript is case sensitive.
Why we use JavaScript?
Let’s think that if we forget to fill something in form. If we submit it and if we don’t use JavaScript we have to wait until the page reload to know about it. It costs much time.
User inputs can be validated before sending to the server by using JavaScript. Therefore it saves server traffic which reduces the load of server.
It is executed on client side, therefore it is relatively fast to the end user.
JavaScript is relatively simple to learn and implement.
Can change the appearance of web page after loading it, we can’t do it by using static html document.
There are many JavaScript editing tools such as,
- Macromedia Dreamweaver MX
- Microsoft FrontPage
- Macromedia HomeSite 5
Good work ! Continue
ReplyDelete