Synopses & Reviews
With the advent of client-side scripting, it is possible to create programs that run on a user's browser in response to particular user actions, like passing the mouse over a hyperlink or clicking a standard HTML command button. By taking advantage of client-side scripts, web pages can be made more interactive, and programs that ran as (usually CGI) applications on the server before client-side scripting can now execute on the browser, in the process improving the performance of a web site's web pages.In Learning VBScript, Paul Lomax shows how to take full advantage of client-side scripting using Microsoft's own scripting language, Visual Basic Scripting Edition, or VBScript. Learning VBScript consists of three distinct sections that quickly teach the reader how take advantage of client-side scripting to enhance a web site's pages:
- A fast-paced introduction to VBScript that covers the basic features of the language and their syntax. Although these tutorial chapters are written primarily for web content providers, they also explore the difference between VBScript and Visual Basic for Applications, the programming language used both in Visual Basic and in the individual components of Microsoft Office, making them of interest to the millions of VBA programmers who are fairly new to the Web and to developing web pages.
- An introduction to the Microsoft Internet Explorer (MSIE) object model. By accessing the events, properties, and methods exposed by the browser's object model, VBScript is transformed from a fairly powerless programming language into a powerful development tool that can be used to control the browser, allowing the creation of complex interactive web pages.
- A series of chapters, each of which examines a set of techniques that use client-side scripting to enhance the interactivity and attractiveness of a web site.
In focusing on techniques for creating professional, scripted web pages,Learning VBScript
includes chapters on the following:Creating documents "on the fly" from a script running on the browserFully describing hyperlinks when the user's mouse passes over themPerforming validation on data entered by the user before it is submitted to the serverIncorporating ActiveX controls in a web page>Using VBScript's error handling feature to anticipate and handle user errorsHandling different browsers, particularly MSIE, Netscape Navigator, and the older browsers that don't support scripting
The CD-ROM accompanying Learning VBScript
includes over 170 code samples, and allows you to retrieve examples by category; you can, for instance, retrieve hyperlinks to all the web pages that include ActiveX controls. In addition, the CD-ROM includes a complete shopping cart application that can be easily customized for your own needs.Whether you're a content provider who wants to add client-side scripts to web pages or a Visual Basic programmer who wants to begin creating web applications, Learning VBScript
is the definitive guide that takes you through the rudiments of the language and covers the techniques needed to develop professional web pages.
Client-side scripting involves creating programs that run on a user'sbrowser, in the process making web pages more interactive or faster."Learning VBScript shows how to take full advantage of client-sidescripting using Microsoft's own scripting language, VBScript. The book consists of three sections that quickly teach the reader how to write client-side scripts to enhance a web site's pages: A fast-paced introduction to VBScript that covers basic language features, including the differences between VBScript and Visual Basicfor ApplicationsAn introduction to the Microsoft Internet Explorer (MSIE) object model, which transforms VBScript into a powerful language that controls the browser, allowing the creation of interactive web pagesTechniques for enhancing the interactivity and attractiveness of a website, such as adding ActiveX controls to a web page, creating documents"on the fly" on the browser, and validating user data "before submittingit to the server For content providers who want to learn client-side scripting or VB programmerswho want to create web applications, "Learning VBScript is the definitiveguide that takes you through language basics as well as specific techniques fordeveloping professional web pages. Includes CD-ROM with over 170 code samplesand a customizable shopping cart application.
About the Author
Paul Lomax, author of O'Reilly's VB & VBA in a Nutshell and a coauthor of VBScript in a Nutshell, is an experienced VB programmer with a passion for sharing his knowledge--and his collection of programming tips and techniques gathered from real-world experience.
Table of Contents
Table of Contents
The Need for VBScript
The Components of Client-Side Processing
What Can Be Achieved Using VBScript?
2. What Is VBScript?
VBScript and the Visual Basic Family
How Does VBScript Work?
VBScript Beyond the Browser
VBScript and Netscape Navigator
3. Getting Started