Visual Basic Concepts
There are many ways to develop applications for the Internet. Prior to Visual Basic 6.0, developers relied on CGI programs, on ActiveX functionality, or on Active Server Pages to create dynamic, interactive Internet applications. Internet application development in Visual Basic offers several key advantages over those approaches:
- You can greatly reduce the cost of deployment per user. End users of an IIS Internet application can run the application using only a browser; no special software aside from the appropriate browser needs to be installed on their computers. End users of a DHTML Internet application need only the appropriate browser and the Visual Basic run-time on their computers. These necessary pieces are installed automatically.
- You can leverage your knowledge of Visual Basic and use the Visual Basic programming environment. You do not have to learn scripting or manipulate HTML tags to develop a highly functional Web-based application.
- You can separate designing the user interface from writing the code for a form or page. In previous Web-based applications, developers had to insert their script directly into an HTML document that was also used to generate the user interface. The end result was code that could be difficult to read and maintain.
- In IIS applications, you can reuse pages in different contexts. Unlike HTML, where information to move from page to page must be embedded in the HTML itself, navigation information for a page in a Visual Basic Internet application is stored separately from the page itself. This allows you to reuse the page in several places in your application, changing the navigation each time depending on the context.
- You can lessen download time and therefore reduce your network load, because the system does not need to download large components to run the application.
- You can easily maintain application state, such as the user's name or account number, between client requests. Depending on the type of application, you can manage state on the client, the server, or both.
- You can debug your IIS and DHTML applications using Visual Basic's standard debugging tools. Script and CGI-based Internet applications, on the other hand, can be very difficult to debug.