JavaScript was first introduced by Netscape, which is in 1995. At first the language is now called JavaScript is named LiveScript that serves as a simple language for the browser Netscape Navigator 2, the browser that is very popular at the time. Then, in line with the onslaught of cooperation between Netscape and Sun (Java programming language developers) at the time, then on the 4th of december 1995 Netscape to give JavaScript the name of the language. At the same time, Microsoft's own attempt to adapt the technology they refer to as JScript in the browser is Internet Explorer theirs 3. JavaScript itself is a modification of the C + + programming language by writing a simpler pattern than the C + + language.
UnderstandingJavaScript is a programming language that is specifically used for web pages to become more alive. When viewed from the syllable, JavaScript consists of two syllables, namely Java and script. Java is object-oriented programming language, while the script is a series of program instructions. Although JavaScript can not be used to create applications or applets, but with JavaScript we can create an interactive web page with ease.
JavaScript and Java differences1. JavaScript: Translated by the client (not compiled)Java: Compiling the server before execution on client2. JavaScript: Working on an objectJava: Applet is separated from HTML (accessed from HTML pages)3. JavaScript: The code uses objects built-in, and can be developed but are not required classesJava: Types of data variables must be declared4. JavaScript: Dynamic Association (dynamic binding)Java: Institute of static (static binding)5. JavaScript: object references are checked on a timelineJava: Reference objects must exist at compile time.
Reading the above, one question arises, how to structure the writing? Well, the answer is easy. writing JavaScript programs thirst begins with tag <SCRIPT LANGUAGE="JavaScript"> and terminated or closed with the tag </ SCRIPT>. JavaScript tag has two attributes that can be used, the JavaScript is written in HTML documents and HTML documents are written out in a separate file. Easy, right? Now we just apply it into our website. Good luck!
UnderstandingJavaScript is a programming language that is specifically used for web pages to become more alive. When viewed from the syllable, JavaScript consists of two syllables, namely Java and script. Java is object-oriented programming language, while the script is a series of program instructions. Although JavaScript can not be used to create applications or applets, but with JavaScript we can create an interactive web page with ease.
JavaScript and Java differences1. JavaScript: Translated by the client (not compiled)Java: Compiling the server before execution on client2. JavaScript: Working on an objectJava: Applet is separated from HTML (accessed from HTML pages)3. JavaScript: The code uses objects built-in, and can be developed but are not required classesJava: Types of data variables must be declared4. JavaScript: Dynamic Association (dynamic binding)Java: Institute of static (static binding)5. JavaScript: object references are checked on a timelineJava: Reference objects must exist at compile time.
Reading the above, one question arises, how to structure the writing? Well, the answer is easy. writing JavaScript programs thirst begins with tag <SCRIPT LANGUAGE="JavaScript"> and terminated or closed with the tag </ SCRIPT>. JavaScript tag has two attributes that can be used, the JavaScript is written in HTML documents and HTML documents are written out in a separate file. Easy, right? Now we just apply it into our website. Good luck!
0 komentar:
Posting Komentar