TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: Sarah Nunez
from: David Noon
date: 2003-01-23 19:29:06
subject: Learning REXX

Hi Sarah,

Replying to a message of Sarah Nunez to David Noon:

 SN> Hi, David!  Haven't seen you post in a while, so hope you haven't had
 SN> a relapse of whatever was ailing you last autumn.

No, I have been away from Fido due to an outbreak of hardware problems (on
my gateway server, so I've been off the 'net too), Australian lawyers and
British tax returns (local equivalent of IRS-1040).

 SN> Out of sheer frustration with the currently available offerings, I'm
 SN> contemplating writing my own genealogy program.

Ok, although I believe there are some around for OS/2.

 SN> The various genealogy programs exchange genealogical information by
 SN> importing/exporting data in GEDCOM format.  I propose to begin with
 SN> the GEDCOM standard, and use its data structure as the basis for my
 SN> program.  The program would act on the data to enable the user to
 SN> add, edit, delete, link family members, etc., as well as print
 SN> various reports and import/export GEDCOMs from/to others.

Is this standard available to read anywhere?

 SN> Is this what is meant by Object Oriented Design and Programming?

Not really, unless the GEDCOM standard is based on "persistent
objects". This approach is quite rare for file standards, as it is
usually non-portable (i.e. the persistent copies of the data objects nearly
always reflect the implementation details of the program that processes the
file). The most well known "persistent objects" file standard is
that for Borland's Delphi development system, and it cannot be ported
readily away from Delphi.

It sounds to me like it is approaching a hierarchical database. After all,
genealogy data are intrinsically hierarchical. Since all the records in the
database or file will likely have identical structure, they would all be
mapped by the same object class in an OO program to process the data.

Processing such a file would be a good candidate for OOP, as you could have
methods for reading and writing the data in your local format, as well as
exporting or importing in GEDCOM format, all associated with the class that
maps the data in the manner most convenient to your program's execution.

Regards

Dave


--- FleetStreet 1.25.1
* Origin: My other computer is an IBM S/390 (2:257/609.5)
SEEN-BY: 633/267 270
@PATH: 257/609 250/501 140/1 106/2000 1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.