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

HTML Forms

What is HTML Forms ? It allows the users to enter the data which is sent to server for processing. Web forms are resemble paper or database because the users are filling the forms using check box, radio buttons and text fields. Mostly web forms are used for filling forms, credit card details or shipping. Also their are many different types of forms in the internet with different kinds of styles. These web forms can used for inquiry and search bar for websites. Also we can make web forms using different programming languages those are HTML, Perl, PHP, Java, Java script or Net and it automatically adds themes, grids and minimum programming language also it's costs and risk able. Her is a sample for an PHP form < html > < body > < form action = "form_handler.php" method = "get" > User Name: < input name = "user" type = "text" / > < input type = "submit" / > < / form > ...

Java Applets

What is  Java Applets ?   Java applet is a applets which the users a byte code . It can in web browsers using a java virtual machine it was firstly introduced when the java language was published in 1995 for the web designers and web developers. Also it runs speed comparable to other language which are called as c++ which is many times faster than java script, also their is a 3d acceleration hardware for java.  Java applets can executed for many browsers and many platforms like windows, Linux, mac and Unix and the java applets as an little application codes.Also this is a good advantage for when the user in offline mode so the user can write java script and render it in offline mode.Using java applets we can change the provided graphic content for the user this make the java applets more visualization.   And also there are java applets for studies and games for the users.   History of java applets java applet is a applets which the users a byte code . I...