What is the client's scripting?

Scripting on the client side is a process that a web computer program runs more on a user's computer than on a computer that hosts the web. Specifically, it goes through the type of program known as a script that processes the user's web browser. The main reason for scripting on the client side is to make it possible to create a website specifically for your own data and user capabilities rather than being a fixed page that always appears the same for each user.

The need for scripting on the client side comes from how the website works. Originally, the pages were written in a standard HTML and were known as static pages; This means that every computer and each user saw exactly the same page. As a result, the website was very limited in solving large sets of data, such as a railway schedule. With static pages, the only solution was to print the plan in full and have the user hunt the appropriate details.

This problem has been solved by the development of dynamicCH websites. Form them to meet a specific situation, for example, if a user is looking for a way between two stations over a period of time. The search result is displayed via a dynamic web page that automatically creates for this question.

There are two ways to process the necessary to generate a dynamic website. Scripting on the server side means that a computer visiting a site known as a server performs all work, and then generates the HTML page to ship to the user's computer. One method to do this is called vbscript, and therefore users can occasionally search or other dynamic request on the web and recruit the page with the list "Error Vbscript" Error.

The second method, scripting on the client side, includes inserting a special code into the website. The user's web browser then usesThis code to perform the necessary processing, such as Searching and Databases behind the scenes on the web and create a page from the results. The most famous type of code used in this way is called JavaScript.

The biggest disadvantage of scripting on the client side is the safety consequences. Theoretically, the code could order browsers to perform a variety of actions, including access to the data of the computer itself. Web browsers use a number of security measures to avoid this abuse, such as the code limit to access to the browser only. Mistakes in these security measures are one of the main sources of opportunities for viruses.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?