From: "Zachary P. Landau" Date: 2004-08-29T10:24:42+09:00 Subject: Re: Design advice --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > The approach of perl's Palm::PDB is to create an abstract record > handler class and create a new child of the record handler class for > each application. The Palm::PDB class calls the record-handling > functions of whatever handler the programmer includes. >=20 > I'm debating between this approach, and simply creating a parent PDB > class with empty functions for handling records and creating > descendents of this parent class with filled-in methods for record > handling as well as application-specific methods. >=20 > Any suggestions? I would probably go with the second option, just because that method is used more often and is more traditional. But I don't really think there is much of a difference in the end. Good luck with the project, I'll definitely be interested in using it once you have it finished. -- Zachary P. Landau GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBMTBUCwWyMCTlrZkRApTdAJ90D5krvdukgkfefnuiEsA59g4BPwCeKQHZ py6YzJMnivalj5PgusQFH+o= =Ria/ -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--