JavaScript Introduction

 



Web Based Scripting Language

01-Client Side Scripting

Client-side JavaScript is the most common form of the language. The script should be included in or referenced by an HTML document for the code to be interpreted by the browser. It means that a web page need not be a static HTML, but can include programs that interact with the user, control the browser, and dynamically create HTML content. The JavaScript client-side mechanism provides many advantages over traditional CGI server-side scripts. For example, you might use JavaScript to check if the user has entered a valid e-mail address in a form field. The JavaScript code is executed when the user submits the form, and only if all the entries are valid, they would be submitted to the Web Server. JavaScript can be used to trap user-initiated events such as button clicks, link navigation, and other actions that the user initiates explicitly or implicitly.

  • VB Script 
  • JavaScript 

02-Server Side Scripting 

Server-side scripting is a method of designing websites so that the process or user request is run on the originating server. Server-side scripts provide an interface to the user and limit access to proprietary data and help keep control of the script Below is an example of client-side scripts vs. server-side scripts

  • PHP 
  • .NET
  • PYTHON

JavaScript is a Event Based Programming Language, and events are 

  • click 
  • Double Click
  • Right Click
  • Mouse Hover
  • Mouse Out
  • Drag Drop
  • Key Press
  • Key Up
  • Load 
  • UnLoad
  • Resize
  • Scroll
etc...

Benefits Of Learning JavaScript

  • Web Development 
    - JQuery 
    - Angular Js
    - React Js
    - Vue Js
    - Node Js

  • Desktop App Development 
    - Electron Js

  • Mobile App Development
    - Angular Js
    - React Js
    - Vue Js
    - React Native
    - Node Js / here in this Node js Servicer Side Scripting also working 

Use Of Java Script In Web Development 

  • Dropdown Menu
  • Animated Sliders
  • Maps
  • Chart-Graphs
  • Pop-up window
  • Audio Players
  • Video Players
  • Zoom Effect
  • Animated Gallery
  • Form Validations
  • Accordions
  • Calendar
  • Etc..