home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / OOFILE / docs / begin.txt < prev    next >
Encoding:
Text File  |  1995-06-18  |  1.3 KB  |  33 lines  |  [TEXT/ttxt]

  1. begin.txt
  2.  
  3. OOFILE beginer's guide
  4.  
  5. This document tries to get you started, beginning with the philosophy of OOFILE, a basic review of databases and then detailing OOFILE in the context of that description.
  6.  
  7. BASIC PHILOSOPHY
  8. Object-oriented design is mainly about classes, not individual objects.
  9.  
  10. OOFILE is similar. Most of the time you model your data in terms of classes. You do NOT declare individual objects (unlike the ODMG model).
  11.  
  12. Consider a database from the user's view. They generally see collections of data and edit or interact with individual records from the collection. The user doesn't care about individual object identity, they don't create symbolic names for particular objects. These things may be important inside the database, but do not need to be exposed.
  13.  
  14. DATABASE BASICS
  15. We will divide the behaviour of a database system into:
  16. 1) Defining and creating data
  17. 2) Retrieving data
  18. 3) Operating on retrieved data
  19.  
  20. Further breakdown is:
  21. 1.1)    Declaring a database structure
  22. 1.1.1)    the fields or attributes that are stored
  23. 1.1.2)    how fields are grouped into classes
  24. 1.1.3)    defining indexes to help search classes
  25. 1.1.4)    relations between classes
  26.  
  27. 1.2)    Creating entries in the database
  28.  
  29. 2.2)    searching the database
  30. 2.3)    combining selections of records
  31.  
  32. 3.1) iterating over a selection of records
  33.