home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / dbawarco / readme.txt < prev    next >
Encoding:
Text File  |  1996-11-20  |  3.2 KB  |  98 lines

  1. (c) Copyright 1995 MitranoSoft
  2.     All Rights Reserved
  3.     This product cannot be sold without permission from the author,
  4.     however it can be distributed freely, but only in the entirety of 
  5.     the bundled files.  For details, see the file License.txt bundled 
  6.     herein.
  7.  
  8. These files contain the DBAwareCollection Class Module for Microsoft 
  9. Visual Basic Version 4.0 (tm).  See file DBAwarCO.txt for a description 
  10. of its capabilities and intended usage.
  11.  
  12. File List:
  13.     ReadMe.txt
  14.         this file
  15.  
  16.     License.txt
  17.         explains the terms of this Shareware product
  18.  
  19.     DBAwarCO.txt
  20.         a full description of the DBAwareCollection and 
  21.         instructions for its use
  22.  
  23.     Order.txt
  24.         an order form for registering for a diskette of the latest 
  25.         version of the product, a user's guide and one future 
  26.         release
  27.  
  28.     VB4OO.mdb
  29.         a sample VB database (created with Access v2.0)
  30.  
  31.     VB4OO.vbp
  32.         a VB4 project which presents a full example of the use of 
  33.         DBAwareCollection.
  34.  
  35.         if you experience any problems opening this VBP file or if 
  36.         using 16-bit VB4,0, just open a "New Project" and add the 
  37.         following files
  38.  
  39.     VB4OO.BAS
  40.         a VB4 .BAS file which links to the Database and creates the 
  41.         Test Data.  It takes full advantage of the use of the 
  42.         DBAwareCollection, including instantiating a full set of 
  43.         objects which constitute a non-visual Business Object Model 
  44.         (BOM), then using those objects to drive a GUI- and 
  45.         database-oriented application
  46.  
  47.         notice how the Test Data is created in its entirety without 
  48.         the need for a GUI.  This is exemplary of the BOM approach, 
  49.         typifies object-oriented design and greatly simplifies the 
  50.         task of programming
  51.  
  52.         notice how certain objects are shared across several 
  53.         collections, such as how Abe and George share the 
  54.         adddress at "123 Elm" and "122 Pine", while the Clinton 
  55.         family shares the address on "Pennsilvannia Ave."
  56.  
  57.     DBAwarCO.cls
  58.         the DBAwareCollection Class Module
  59.  
  60.     DBAwarLK.cls
  61.         the DBAwareObjectLink Class Module
  62.  
  63.     Address,cls
  64.         the Address Class Module
  65.  
  66.     Company.cls
  67.         the Company Class Module
  68.  
  69.     Person.cls
  70.         the Person Class Module
  71.  
  72.     Phone.cls
  73.         the Phone Class Module
  74.  
  75.     CustDtls.frm and CustDtls.frx
  76.         the form for displaying Customers and their addresses and
  77.         phone numbers
  78.  
  79.         notice how the GUI is completely reliant upon the Business 
  80.         Object Model (BOM) for its decision making, which is 
  81.         represented my the "Formatted Name", "Formatted Address" and 
  82.         "Formatted Phone Number" output fields.  One very 
  83.         significant benefit of the BOM containing all of the 
  84.         business rules (versus having them being interlaced 
  85.         throughout the GUI code) is that the Class Modules can then 
  86.         be applied anywhere that VB supports, such as OLE Automation 
  87.         servers, reports, spreadsheets, etc.
  88.  
  89.         try altering one of the shared addresses or phone numbers, 
  90.         then click on another person sharing that address.  Notice 
  91.         that all references to the shared objects remain in-synch 
  92.         due to the object-oriented mechanisms of DataAwareCollection
  93.  
  94.     Intro.frm and Intro.frx
  95.         the form for allowing the Test Data creation to be an option 
  96.         before executing the demo
  97.  
  98. Microsoft Visual Basic is a registered trademark of the Microsoft Corporation.