|
From: Chris W. <ch...@cw...> - 2001-12-14 18:09:02
|
* Chris McDaniel (Chr...@te...) [011214 11:59]: > I'm starting to write a little app that needs to draw from 3 > different tables, but only needs to write to one of them. Is there > a way that I can pull them all into a single package (like multiple > definitions in the spops.perl or something)? I was looking at all > the system packages, and it seems like they are > one-table-per-package, with relationships between. Is that the > proper way to do it? You can do it any way you want -- to put multiple definitions in the conf/spops.perl file, just add new hash keys. Check out the file in the base_theme package for an example -- we define both a 'theme' and 'theme_property' object. If the app has objects that are closely related to one another, it's usually a good idea to put them in a single package. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |