This book demonstrates how to use VisualAge for C++ and VisualAge for Smalltalk for the creation of object-oriented World Wide Web (WWW) applications. The reader learns to visually develop parts to build web pages that interact with underlying business logic and databases. A case study of the (fictional) Web Travel Agency (WTA) guides the reader through the steps of analysis, design and implementation of a sample web application that uses the Common Gateway Interface to communi-cate between HTML pages and VisualAge. All necessary parts and con-nections between them are explained, and all design considerations are covered in detail.
To demonstrate portability and to show different application platforms, the Smalltalk version of the WTA was implemented in OS/2, the corresponding C++ version was implemented under Windows 95.
This book explains how to use DB2 for OS/2 or DB2 for Windows 95/NT as database for application data through the VisualAge database parts, and also as server for the DB2 WWW Connection gateway.
The Web Travel Agent provides the business logic, interfaces with a DB2 relational database, and generates HTML pages dynamically through the Common Gateway Interface. The VisualAge Web Connection parts are exploited to develop a Smalltalk application, that is based on the Visual Modeling Technique (VMT).
World Wide Web Programming: VisualAge for C++ and Smalltalk was written for webmasters and web application programmers who want to extend their WWW presence through the use of object-oriented applications, and for VisualAge for C++ or Smalltalk developers looking for ways to add a WWW interface to their DB2 databases and object-oriented applications.
Some knowledge of object-oriented programming with C++ or Smalltalk, the Structured Query Language (SQL), and HTML scripting is assumed.
On the enclosed CDROMs we provide you with Windows trial versions of VisualAge for Smalltalk, VisualAge for C++, IBM Internet Connection Server, and DB2, along with the sample Web Travel Agent application. This application may serve as a base for testing your own setup and can easily be expanded and adapted to match your environment.