Resources ยป Internet & Browsers

Scripting Language: JavaScript


Posted Date:     Category: Internet & Browsers    
Author: Member Level: Gold    Points: 12


In this article, i will explain about the scripting language and i will elaborate one of the important scripting language called JavaScript.



 


Scripting Language:
*To display contents in the Browser.
*To add all the elements together.
*To make web-contents dynamically. Example: Java, JavaScript, VB-script, ActiveX etc.

There are two types of the Scripting language:

1.)Client side scripting:
When client makes the request, the html and all scripts will be downloaded into your browser and then the browser documents and the resultant html will be displayed in the browser. Example: JavaScript, VB-Script etc.

2.)Server side scripting:
The request processed on the server before it is handed over to the browser. It is processed on the server side and only html is return. Example: ASP, .NET, JSP etc.

JavaScript:
JavaScript was initially developed by Brendan Eich as part of the Netscape 2.0 release. The language was called LiveScript for a while in its early stage but before the final release of Netscape 2.0, the language was publicly announced as JavaScript.
The scripting language which facilitate a discipline approach to design a computer program that enhance the functionality and the appearance of webpages. The JavaScript is usually embedded directly into html pages. So JavaScript is an interpreted language. Programming language that do not need to be compiled before execution are known as interpreted language. Software that reads and executes a program written in an interpreted language is known as an interpreter. Most modern browsers contain a JavaScript interpreter.

Guidelines for JavaScript:
*JavaScript is Case-Sensitive.
*White Space (Ignores extra space)
*Break-up line code (Line with a string can be broken up with the backslash)

Programming Conversions:

*How to write JavaScript:

Script in Head Section: Well the structure of the JavaScript is same as html, the script type is defined in head section as [scripttype="text/javascript"].

Script in body Section: Here again we declare [scripttype="text/javascript"] and then we include [document.write("hello")].

When a script is placed inside the head, it is ensure that the script is loaded before anyone uses it. When a script is placed in body section, it is ensure that the contents is displayed on the webpages. If the script is placed in head and body section then unlimited number of scripts can be placed in a documents.

JavaScript Comments:
[ //.... ] - Single line comment
[ /*....*/ ] - Multiple line comments.
Related Resources:


Read related articles: Scripting Language    JavaScript    software languages    


Did you like this resource? Share it with your friends and show your love!





Responses to "Scripting Language: JavaScript"

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Scams you must be aware of
    Previous Resource: Everything about Cyberspace and Modern Information Technology
    Return to Resources
    Post New Resource
    Category: Internet & Browsers


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    Javascript  .  Scripting language  .  Interpreter  .  Clien side scripting language  .  Server side scripting language  .  How to write javascript  .  Javascript programming  .  Scripting  .  
    Subscribe to our upcoming monthly newsletters and learn about the new opportunities in Techulator.com

    Sign up for our Newsletter!
    Subscribe to RSS Feeds by Email
    Awards & Gifts
    Active Members
    TodayLast 7 Daysmore...

    Talk to Webmaster Tony John