Thursday, 17 October 2013

For What Purpose JavaSript and Jscript are Used | What Kinds of Things Can JavaScript and Jscript Do

For What Purpose JavaSript and Jscript are Used | What Kinds of Things Can JavaScript and Jscript Do

In mid 1990s the HTML or Hypertexttransfer protocol made people to use internet and create Web Pages to display some static contents. But over the years, HTML has lost much of its gleam. Markup languages are great for formatting the display of text, but they lack the capability to interact with visitors. People surfing the Internet have come to expect and demand more than a static presentation of data from Web sites. If you want people to visit your Web site, to enjoy themselves, and to return again, then you have to find ways to make it more interesting. One of the best ways to do this is with JavaScript. The use of JavaScript will make it more attractive for the user.
JavaScript provides your Web pages with the ability to do a lot of exciting things. The following list provides a preview of what you will learn how to do with JavaScript here in Programming Dost.
Ø  Show pop-ups  that display and gathers information from visitors
Ø  Make rotating banners
Ø  Open new windows
Ø  Redirect people using older browsers to non-JavaScript HTML pages
Ø  Identify the browsers and plug-ins being used by people visiting your Web site
Ø  Validate forms and package their contents in an e-mail message
Ø  Do simple animations such as rollovers
Ø  Use greater control over HTML frames and forms
Ø  Take control of the status bar and create scrolling messages
JavaScript can do a lot of different and exciting things. However, there is one thing that it cannot do. JavaScripts cannot run outside of the browser. This "limitation" helps make JavaScript more secure because users do not have to worry about somebody writing a JavaScript that might erase their hard drive or read their address book and extract private information.

This JavaScript tutorial focuses on client-side scripting. By client-side scripting I means scripts that execute within the browsers of people that visit your Web pages. A server-side version of JavaScript also exists.This version of JavaScript is designed to run on Web servers and is used by professional Web site developers to create scripts that provide dynamic content based on information received from visitors, as well as from information stored in a server-side database

Like JavaScript, JScript is limited by the constraints of its implementation environment. When run by the WSH, JScripts don't have access to Web content. They don't work with HTML frames or forms. Instead, the WSH opens up a whole new execution environment that provides JScripts with the capability to access both local and network computer resources. In this context, JScript's primary reason for existing is to facilitate the development of scripts that automate tasks.
JScript provides an especially powerful tool for developing scripts that can automate repetitive and mundane tasks or tasks that are complicated and prone to error when performed manually. The following list provides a preview of what you will learn how to do with JScript in this book.
v  Make and configure desktop shortcuts
v  Produce text reports and log files
v  Manage the Windows file system by copying, moving, and deleting files and folders
v  Manage operating system resources such as Windows services, the registry, and event logs
v  Create and administer user accounts
v  Manage local and network resources such as network printers and disk drives
v  Work together with and control other applications

No comments:

Post a Comment