Skip to main content

Java Script

What is Java Script ?


It's an programming language which is used make the web page more interactive and stylish. Also its runs free on the users computer and it doesn't require any plugins to download for the users, and their many number java script which the user or a web designer can include for the web page. Mostly java scripts are used for polls and quiz. Today most browsers like safari, Internet Explorer and Firefox have in built java script plug in so when a user the enters to an page the java script will automatically runs for following page.


Also java script used in outside the web pages like in pdf files browsers and desktop widgets and today the newest VMs java script has been included for the browsers and other desktop applications.

History

Java script was developed by Brendan Eich of Netscape and it was called has Mocha, and after that it was named has Live script and then to java script. And the Live script was the first shipped in beta version for Netscape navigator 2 in 1995.Then finally Netscape joined of sun Microsoft and change the name as java script. In 1966 java script was included for internet explorer 3 and they used implementation java script to avoid trademarks. After that java script become most popular programming language between web designers and web developers. From the past and today java script is the most important thing between web developers because using java script they can add different kinds designs and style the web pages.


Real Life Usage

Java script as become most popular among web designers and web developers because when they add the java script to the web page it will some attractive look for the page. And today many of the designer use java script for websites, applications and desktop widgets. And here is a small sample of a java script 

<html>
<body>

<h1>My First Web Page</h1>

<script type="text/javascript">
document.write("<p>" + Date() + "</p>");
</script>

</body>
</html>

And java script used make cookie, validation data, read and write HTML elements and many more.All the java script are not same there are different kinds java script with different coding those are c and c++. And here is another example for java script


<html>
<body>

<h1>My First Web Page</h1>

<p id="demo">This is a paragraph.</p>

<script type="text/javascript">
document.getElementById("demo").innerHTML=Date();
</script>

</body>
</html>



Browser Compatibility

Mostly java script work in ever browser but it won't work in old browser's and some times if the user writes an java script and include it to the web but it won't show in the browser because it says plug in is missing download java run time environment. This would be a big problem for the developers and some times when the user install java run time environment for the browser but it won't allow the java script to show in the browser because of compatibility issues. In some browsers their are in built java script are added so the web designer or web developer can easily do the necessary things.  

Advantages

  • We can add more widgets
  • Easy for make the web pages more stylish
  • Java script is fast to the end user
  • Extended functions can add to the web page 

Disadvantages

  • Main issue is the security
  • Rendering problems in browsers
  • Some browsers won't support

Comments

Popular posts from this blog

Evolution of Internet

The History of the Internet Evolution In 1969 the American Defense Ministry invented the internet and it’s called has ARAnet. It was made for military research for the American army. And the network had many difficulties such as it had to be fast, reliable, and it has to be capable of withstanding a nuclear bomb destroying. And this network evolved into sprawling networks of millions of computers we know today as the internet. The following image shows you how internet was used at that time. Evolution of the Internet The internet is massive network and which you can connect to the other networks. Also it’s a collection of providers which is called (ISP). ISPs operate their own network and also with their own clients to agree to interconnect which each other to exchange packets. And also larger ISPs cell connect their network to smaller ISPs also. Also the ISPs cell connects to the individuals and corpor

Hypertext Markup Language

What is Hypertext? It’s computer language which allows to create websites. Also that website can view by anyone who is connected to the internet. And it’s easy to learn with the basic and also it’s quite powerful which the user can create different styles of websites. W3C is the organization which design and develop the hypertext language. Also hypertext is which we move around the web by clicking the hyperlink which is linked to another page. Also it has code words like any other language.  History and Evolution In 1941 Jorge Luis who developed the hypertext style novel. Also in 1945 hypertext was made by Vannevar Bush and he called it has a Memex. Also he develops a microfilm system to index the info to the links which we are using today. In 1963 Ted Nelson joined hypertext and hypermedia to a linked content. And later he worked with Andries van Dam to develop the hypertext editing system. In 1968 Engelbart pub