JavaScript was first introduced by Netscape in 1995. At
first the language now called JavaScript was once named "LiveScript"
"that serves as a simple language for the browser Netscape Navigator 2
are very popular at the time. Then,
along with being jealous of cooperation between Netscape and Sun (the
developer programming language "Java") at that time, then Netscape gave
the name "JavaScript" to the language on the 4th of December 1995.
At the same time Microsoft has tried to adapt this technology they call "Jscript" in their own browser is Internet Explorer 3. JavaScript itself is a modification of the programming language C + + to write a simple pattern of the programming language C + +.
Understanding JavaScriptJavaScript is a prototype-based programming language that runs client side. If we talk in the context of the web, simply put, we can understand JavaScript as a programming language that runs in the browser or a special web pages to web pages come alive. When viewed from the syllable consists of two syllables, namely Java and Script. Java is an object-oriented programming language, while the script is a set of program instructions.
Functionally, JavaScript is used to provide access to objects embedded scripts (embedded). A simple example of the use of JavaScript is opening a pop-up page, the form validation function before the data is sent to the server, change the cursor image when passing through certain objects, and others.
What to Look For In Writing JavaScriptThat must be considered in the management of the JavaScript programming, such as JavaScript are "case sensitive," which means JavaScript distinguish uppercase and lowercase letters. If you've studied programming languages such as Turbo C or C + +, the same as the programming language, where the letter T is not the same with the letter t.
In the JavaScript programming language as well, as an example of the command functions Var var should not be written and should not be written VAR (all capital letters), the truth is var (all lowercase). Other commands are new Date should not be written new date (all lowercase), and so on.
Excess JavaScriptJavaScript works on the browser side. the point is this: for displaying web pages, user write the web address in the address bar url. after that, the browser "taking" html file (the file jJvaScript attached to it if there is one) to a server located at a URL that is typed by the user. Completed files retrieved, the file displayed in the browser. Well, after being on the browser's JavaScript file, then script JavaScript is working.
The effects of Javascript that works on the browser, Javascript can respond to user commands quickly, and make web pages more responsive. JavaScript to do what can not be done by HTML, PHP, and CSS: handle things - things that require a quick response to the actions of the user.
Example: a validation function to the form. when you fill out a form to be validated using JavaScript, you type in data and then typing submit, before the data is sent to the server, the data will be "checked" first in the browser using JavaScript functions that exist on the web page. so, if you fill the data is invalid, rather than throwing out - wasted time by sending the data to the new server validation on the server and then the server sends back a response about the lack validan input your data, better form data validation checks performed locally in the browser using JavaScript functions.
Faster and More EfficientThe implementation of today's most popular programming JavaScript is AJAX techniques. (Asynchronous JavaScript and XMLHTTP). This technique is often used by web-based applications like Gmail, Google Reader, and others. Techniques that make the exchange of data between the server and the browser happens behind the scenes so that the interaction between users and web applications more responsive. Post separately to discuss this will be setup.
At the same time Microsoft has tried to adapt this technology they call "Jscript" in their own browser is Internet Explorer 3. JavaScript itself is a modification of the programming language C + + to write a simple pattern of the programming language C + +.
Understanding JavaScriptJavaScript is a prototype-based programming language that runs client side. If we talk in the context of the web, simply put, we can understand JavaScript as a programming language that runs in the browser or a special web pages to web pages come alive. When viewed from the syllable consists of two syllables, namely Java and Script. Java is an object-oriented programming language, while the script is a set of program instructions.
Functionally, JavaScript is used to provide access to objects embedded scripts (embedded). A simple example of the use of JavaScript is opening a pop-up page, the form validation function before the data is sent to the server, change the cursor image when passing through certain objects, and others.
What to Look For In Writing JavaScriptThat must be considered in the management of the JavaScript programming, such as JavaScript are "case sensitive," which means JavaScript distinguish uppercase and lowercase letters. If you've studied programming languages such as Turbo C or C + +, the same as the programming language, where the letter T is not the same with the letter t.
In the JavaScript programming language as well, as an example of the command functions Var var should not be written and should not be written VAR (all capital letters), the truth is var (all lowercase). Other commands are new Date should not be written new date (all lowercase), and so on.
Excess JavaScriptJavaScript works on the browser side. the point is this: for displaying web pages, user write the web address in the address bar url. after that, the browser "taking" html file (the file jJvaScript attached to it if there is one) to a server located at a URL that is typed by the user. Completed files retrieved, the file displayed in the browser. Well, after being on the browser's JavaScript file, then script JavaScript is working.
The effects of Javascript that works on the browser, Javascript can respond to user commands quickly, and make web pages more responsive. JavaScript to do what can not be done by HTML, PHP, and CSS: handle things - things that require a quick response to the actions of the user.
Example: a validation function to the form. when you fill out a form to be validated using JavaScript, you type in data and then typing submit, before the data is sent to the server, the data will be "checked" first in the browser using JavaScript functions that exist on the web page. so, if you fill the data is invalid, rather than throwing out - wasted time by sending the data to the new server validation on the server and then the server sends back a response about the lack validan input your data, better form data validation checks performed locally in the browser using JavaScript functions.
Faster and More EfficientThe implementation of today's most popular programming JavaScript is AJAX techniques. (Asynchronous JavaScript and XMLHTTP). This technique is often used by web-based applications like Gmail, Google Reader, and others. Techniques that make the exchange of data between the server and the browser happens behind the scenes so that the interaction between users and web applications more responsive. Post separately to discuss this will be setup.
0 comments:
Post a Comment