php-mysql tutorial

Designed By NISHANT GUPTA

  • Home
  • PHP
  • HTML
  • CSS
  • JavaScript
  • JQuery
  • Contact-us
  • Learn HTML

    • Introduction of HTML
    • Image Handling in HTML
    • List Handling in HTML
    • Font Handling in HTML
    • Table Handling in HTML
    • Form Handling in HTML
  • Learn CSS

    • Introduction of CSS
    • Styling Background in CSS
    • Styling Text in CSS
    • Styling Font in CSS
    • Styling Link in CSS
    • Styling List in CSS
    • Styling Table in CSS
    • Styling Div in CSS
    • Styling Span in CSS
    • Positioning in CSS
    • Display in CSS
  • Learn JavaScript

    • Intro of JavaScript
    • Data Type in JavaScript
    • Variable in JavaScript
    • Oprator in JavaScript
    • Cond. Statement in JavaScript
    • Loop in JavaScript
    • Array in JavaScript
    • Function in JavaScript
    • Date in JavaScript
    • String in JavaScript
    • DOM in JavaScript
    • Event Handling in JavaScript
    • Form Handling in JavaScript
  • Learn PHP-MYSQL

    • Introduction of PHP
    • Decision Control in PHP
    • Loop in PHP
    • Array in PHP
    • Function in PHP
    • Form Handling in PHP
    • File Inclusion in PHP

Introduction of JavaScript

What Is Java Script ?

JavaScript is a weakly -typed, interpreted programming language with object-oriented capabilities that allows us  to build interactive web page.

What Java Script Can Do ?

  1. User Interaction
  2. Form Validation
  3. Image Swaps/Rollovers
What Java Script Can’t Do
  1. JavaScript cannot access Database(without AJAX).
  2. JavaScript cannot access files on client machine.
JavaScript V/s Java
JavaScript and Java share two very similar names but they are completely different languages that have very few things in common.
  1. Java was developed by Sun Microsystems and is a full fledged, standalone, object oriented language

    JavaScript was created by Netscape and is a scripting language which placed inside an HTML page and provides interactivity to the page.

  2. Java is both a compiled as well as interpreted    language and JavaScript is purely an interpreted language.

  3. Java runs inside JVM and JavaScript runs inside web browser.

  4. Java is a strongly typed language as it is compulsory to declare every variable’s data type and JavaScript is a loosely typed language as we do not have declare data types of variables before using them.

  5. Java has been designed with security as it’s top priority. Every thing in java runs under the control of JVM that handles execution of a Java code and JavaScript is a much less secure language.

JavaScript History

Developed By    
Brendan Eich
Original Name   
Mocha, LiveScript
Company
Netscape
Launching  Year 
1996
First Version       
1.0
Latest Version    
1.8

JavaScript Embedding

JavaScript can be embedded in HTML page in 2 ways:

  1. Locally
  2. Externally

 

 

Advertisements

 

©  2014 All Rights Reserved  •  Design by >Nishant Gupta.

Privacy Policy • Terms of Use