TEchMyEducation

easy tech learning...

overview of javascript advantages disadvantages functions of javascript

No comments

Overview of JavaScript

Introduction to JavaScript
Javascript is a Client Side Programming Language used to add Programming Logic to web pages. This is how you can understand it. HTML is a Designing Language and it designs only Web Pages.
You cannot perform any dynamic logic in web pages through HTML, HTML is just used to create the structure of our web page. For example, when the user clicks on the link, you want to perform some processing by doing a function call. But you cannot do this through HTML, because HTML is used only for Web Pages Design. to perform dynamic operations you need a Programming Language.
overview of javascript advantages disadvantages functions of javascript

Makes A Web Page Dynamic
Javascript is a similar programming language that adds logic to web pages and makes them dynamic. JavaScript was created by Brendan Eich in 1995 during his time at Netscape Communications.

Javascript has the capability of Object-Oriented Programming. It is defined in the head section of the HTML file. If you do not use Javascript, then you cannot perform any Calculations with HTML. You can also perform Validation with Javascript. Javascript is a programming language that Browsers understand and is used exclusively for web pages.

Features of JavaScript

Javascript has two important features which are as follows -

Dynamic
Javascript is able to generate Dynamic Web Pages. Javascript is able to make changes in the web page as soon as it is loaded. It can be decided at the time of loading of web pages whether to perform a task. While this is not the case in HTML, all the action is already defined and in Web Time Load Time you cannot take any action. HTML generates static pages. But Javascript generates Dynamic Pages. For example, while Javascript Page Load, Weather can show according to your location.

Client-Side
Javascript is a Client-Side Scripting Language. Any execution in java is performed on the server. But not so with Javascript. When you use Javascript, any Execution is performed on the client-side.
For example, Validations in Javascript is performed on the Client Side. But in java, Validation is performed on the server. Because Javascript reduces the load of the server.

Advantages of JavaScript

Very fast
Javascript is very fast due to being the client-side. Because it does not waste time in establishing the connection to the server. Javascript executes without connecting to the server.

Cross-platform
Javascript runs easily on any browser and operating systems without any problems. All Latest Browsers are supported by Javascript by Default.

Works With Multiple Languages
Javascript can easily work with other languages. Such as HTML, CSS and PHP etc.

Simple
Javascript is a very simple language. Anyone can learn and implement it easily.

Disadvantages of JavaScript

Less secure
Code of Javascript is Execute on the Client Side so some viruses may come in it. Because of this Javascript is not considered very secure.

Execution Vary
Javascript gives different results on different browsers. But this is not the case with Server Side Scripting Languages. Regardless of the browser, Server Side Script always gives the same result.

No Support For Network Applications
Javascript cannot work with Network Applications because there is no support available in Javascript for network applications.

Functions of Javascript

JavaScript is used to create Dynamic Web Pages in the client side which makes our application light weighted.
Highly Interactive Web Pages are created from this.
You can reduce the load of the server by performing Validation on the Client Side via JavaScript.
With the help of javascript, you can solve many problems related to Browser.

overview of javascript advantages disadvantages functions of javascript

No comments :

Post a Comment