What is a scripting language?
A scripting language is used to write scripts. It contain a series of commands that are interpreted one by one at runtime unlike programming languages that are compiled first before running. Scripts are generally associated with web development where they are widely used to make dynamic web applications. Scripting languages is of two types
Client side scripting language: -
web browsers execute client side scripting. It is use when browsers has all code. Source code used to transfer from web server to user’s computer over internet and run directly on browsers. It is also used for validations and functionality for user events. It allows for more interactivity. It usually performs several actions without going to user. It cannot be basically used to connect to databases on web server. These scripts cannot access file system that resides at web browser. Pages are altered on basis of users choice. It can also used to create “cookies” that store data on user’s computer.
Server side scripting language : -
Web servers are used to execute server side scripting. They are basically used to create dynamic pages. It can also access the file system residing at web server. Server-side environment that runs on a scripting language is a web-server. It is used to retrieve and generate content for dynamic pages. It is used to require to download plugins. In this load times are generally faster than client-side scripting. When you need to store and retrieve information a database will be used to contain data. It can use huge resources of server. It reduces client-side computation overhead. Server sends pages to request of user/client.
0 Comments