Quick Start

To make a quick start with the VPA step this way:

These workspaces enfold dominant ideas of programming in VPA. \samples\cpp\Demo[1-4].vpw profile \samples\cpp\Example[1-6].vpp and applied libraries \projects\cpp\*.vpp which are necessary to build targets. \samples\java\Demo1.vpw profiles \samples\java\Example[1-5].vpp. You also may use Windows Explorer to open both *.vpw workspaces and *.vpp projects with VPA because these file types are associated properly with tcVPA.exe application.

Review makefiles in projects \samples\cpp\Example[1,2].vpp to learn how any C++ compiler may be adjusted to use with VPA.

\samples\cpp\Example[5,6] projects use MS Access database tcDemo.mdb. Before testing \samples\cpp\Example[5,6].vpp which are profiled in \samples\cpp\Demo[3,4].vpw respectively, do the following:

Project \samples\cpp\Example5.vpp is enough to demonstrate how to create database by means of generated SQL DDL script, use persistent data driver and data service, connect to database, create transactional workspace, run object query, fetch objects from result set, perform object i/o, use exception handling technique.

Check the peristent class diagram in project \samples\cpp\Example6.vpp wrapped in \samples\cpp\Demo4.vpw workspace. Diagram may be invoked through popup menu or by Ctrl+F11 accelerator if you are positioned within project of Peristence Smith type. This example shows all Peristence Smith's features, including class diagram, persistent inheritance, object associations of all kinds, persistent collections, navigation through object model, user interface automation through GUI components, run-time GUI designers, complex object queries, programming of database business logic, design of report templates, printing through report client, etc.

Four core class libraries (tcCore.vpp, tcCoreEx.vpp, tcPSmith.vpp and tcWinApp.vpp) are shipped in restricted form which means that function bodies are truncated. However, you can analyse class protocols and other declarations in native ergonomic environment. Projects tcPsForm.vpp (Persistent Forms) and tcReport.vpp (Report Client) are delivered with full source code. Simple trade system from \samples\cpp\Example6.vpp utilizes these two projects as libraries.

There are six Java projects samples\java\Example[1-6].vpp included in VPA. First is a HelloWorld application. Second illustrates the use of simple trace utility WinOut for debugging purposes. WinOut for Java is supported by means of native classes which defined in package "tc" from \lib\tcUtils.zip. samples\java\Example[3-6].vpp are AWT and Swing applications. They demonstrate how to design GUI.

Class diagram for Java may be invoked through popup menu or by Shift+F11 accelerator if you are positioned within Java project.