home *** CD-ROM | disk | FTP | other *** search
- (c) Copyright 1995 MitranoSoft
- All Rights Reserved
- This product cannot be sold without permission from the author,
- however it can be distributed freely, but only in the entirety of
- the bundled files. For details, see the file License.txt bundled
- herein.
-
- These files contain the DBAwareCollection Class Module for Microsoft
- Visual Basic Version 4.0 (tm). See file DBAwarCO.txt for a description
- of its capabilities and intended usage.
-
- File List:
- ReadMe.txt
- this file
-
- License.txt
- explains the terms of this Shareware product
-
- DBAwarCO.txt
- a full description of the DBAwareCollection and
- instructions for its use
-
- Order.txt
- an order form for registering for a diskette of the latest
- version of the product, a user's guide and one future
- release
-
- VB4OO.mdb
- a sample VB database (created with Access v2.0)
-
- VB4OO.vbp
- a VB4 project which presents a full example of the use of
- DBAwareCollection.
-
- if you experience any problems opening this VBP file or if
- using 16-bit VB4,0, just open a "New Project" and add the
- following files
-
- VB4OO.BAS
- a VB4 .BAS file which links to the Database and creates the
- Test Data. It takes full advantage of the use of the
- DBAwareCollection, including instantiating a full set of
- objects which constitute a non-visual Business Object Model
- (BOM), then using those objects to drive a GUI- and
- database-oriented application
-
- notice how the Test Data is created in its entirety without
- the need for a GUI. This is exemplary of the BOM approach,
- typifies object-oriented design and greatly simplifies the
- task of programming
-
- notice how certain objects are shared across several
- collections, such as how Abe and George share the
- adddress at "123 Elm" and "122 Pine", while the Clinton
- family shares the address on "Pennsilvannia Ave."
-
- DBAwarCO.cls
- the DBAwareCollection Class Module
-
- DBAwarLK.cls
- the DBAwareObjectLink Class Module
-
- Address,cls
- the Address Class Module
-
- Company.cls
- the Company Class Module
-
- Person.cls
- the Person Class Module
-
- Phone.cls
- the Phone Class Module
-
- CustDtls.frm and CustDtls.frx
- the form for displaying Customers and their addresses and
- phone numbers
-
- notice how the GUI is completely reliant upon the Business
- Object Model (BOM) for its decision making, which is
- represented my the "Formatted Name", "Formatted Address" and
- "Formatted Phone Number" output fields. One very
- significant benefit of the BOM containing all of the
- business rules (versus having them being interlaced
- throughout the GUI code) is that the Class Modules can then
- be applied anywhere that VB supports, such as OLE Automation
- servers, reports, spreadsheets, etc.
-
- try altering one of the shared addresses or phone numbers,
- then click on another person sharing that address. Notice
- that all references to the shared objects remain in-synch
- due to the object-oriented mechanisms of DataAwareCollection
-
- Intro.frm and Intro.frx
- the form for allowing the Test Data creation to be an option
- before executing the demo
-
- Microsoft Visual Basic is a registered trademark of the Microsoft Corporation.