Advantages of DHTML Applications
See Also
Building a DHTML application in Visual Basic provides several advantages over other methods of Internet development. DHTML applications give you:
-
Dynamic HTML. When you create a DHTML application, you have full access to the richness of Dynamic HTML, integrated with the power of Visual Basic code and controls. See "Dynamic HTML in Visual Basic" for more information about the Dynamic HTML features you can access.
-
Lessened server load. DHTML applications conserve server resources because each request or user action does not have to be routed through the Web server.
-
Fewer refreshes, faster responses. When an end user's actions initiate changes to a typical Web page, the browser must refresh the page from the server. In a DHTML application, the browser can process user data, make changes to the page's layout and appearance, and process code all without refreshing the page.
-
Dynamic interaction. Visual Basic code on a Web page can directly manipulate any element on the page and create and manage new elements on the fly, allowing for truly dynamic user interfaces.
-
Improved state management. Typically, HTML pages are stateless — that is, no information about an HTTP request is maintained after the response is received from the server. Visual Basic DHTML applications allow you to store state between requests, without using the server. Therefore, multiform or multipage applications are possible without requiring server interaction, complex URL-based state, or cookies.
-
Offline capability. For a DHTML application, users can browse to and use a DHTML application on their corporate intranet. Later, when disconnected, the same users can still make use of their Web-based application through the browser’s cached storage.
-
Code security. When you embed scripts within an HTML page, anyone can access your page, read the script, and make changes to it. Using Visual Basic to develop your DHTML application, your code is compiled, is not part of the HTML page itself, and cannot be tampered with as easily.
For More Information For more information about HTTP, see "Understanding Internet Basics" in "Developing Internet Applications."