What is Scripting? |
|
Types of ScriptsScripting programming languages allow web designers and more commonly web developers create programs that integrate into websites to create interactive and dynamic designs. Commonly used scripting languages include VBscript, Javascript and PHP. When developing web applications it is important to understand two fundamental types of scripting, these are server side and client side. Server side scripts are processed on the web server and the results of these scripts and sent to the user. Server side scripts are useful for returning to the user the results of a data search, like a search engine. Client side scripts are embedded into web pages and run by the users browser. Client side scripts are useful for validating a form that a user submits. Using a javascript on a web page it is possible to make sure that a user enters a valid date of birth into form, validating at the client side saves having to validate on the server and thus saving server time and resources. Example Client Side ScriptThis example below uses java script to make the ticker tape effect
Useful Linkshttp://www.w3schools.com/js/default.asp - Javascript Tutorial from W3 Schools http://www.php.net/ - General-purpose scripting language that is especially suited for Web development http://msdn.microsoft.com/scripting/ - Microsoft guide to
|