Vbscript Visual Basic Scripting Is a Subset of MS Visual Basic Prog Lang

Vbscript Visual Basic Scripting Is a Subset of MS Visual Basic Prog Lang

<p>VBScript -- Visual Basic Scripting -- is a subset of MS Visual Basic prog lang.</p><p>Used as a language for programming docs displayed by www browsers. It will dynamically generate web pages change in appearance or functionality existing web pages validate form data provide utility with other MS products, e.g., word, excel</p><p>Allows for interactivity, the physical relationship between the user and the document that allows the user to produce an effect on the doc.</p><p>Background concepts</p><p>Client/server: client is the user of an application, server is the provider of the applications, e.g., client is the browser that you use to access the web; server is the computer that stores the web documents, images, and other resources that make up a web site. __ +------+ | | | you at the | | | | computer |<------>| | +------+ | | client-browser |__| Server</p><p>In its simplest form, the browser/client sends message to the web server requesting some doc. The server receives the request and sends the html file back to the browser.</p><p>Server-side processing -- Internet __ +------+ input | | +------+ | you at the |------>| |------>| CGI(Common Gateway Interface)| | computer |<------| |<------| Scripted software | +------+ | | output +------+ client-browser |__| Web Server</p><p>Client-side processing (you at the computer)</p><p> input instructions ______| | | | | \ / +------+ +------+ | browser | | processing | | interface | | software | +------+ +------+ / \ | | | |______| output</p><p>The main benefit of client-side processing is that it's faster. Components of client-side processing o browser o scripting language (e.g., VBScript, Javascript, Java applets) o ActiveX controls</p><p>VBScript is a text-based, interpreted language that is downloaded to the browser. It is only available through MSIE3.0. Once it is received by the browser, it is automatically compiled using the VBScript language engine. The engine is fired up when the browser comes across the <script> html tag. Everything between <script> and </script> is passed to the engine to be interpreted.</p><p>The ActiveX controls are essentially OCX, a program module that can be accessed by other programs in a windows environment, MS control architecture. OCX is OLE Control Extension. OLE is Object Linking and Embedding. ActiveX is a set of rules for how applications share information. An ActiveX control can be automatically downloaded and executed by a browser.</p><p>Main uses of VBScript: o reference and manipulate the browser o reference and manipulate document objects o reference the contents of another loaded document o create a document on the fly from a browser o store, reference, and manipulate data input by the user o store, reference, and manipulate data downloaded from the server o perform calculations on data o display messages to the user</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us