posted 18 years ago
Hi,
Can anyone comment about this design:
DBMain interface
Data implements DBMain (all db logic are coded here).
DBConstants - All schema values are defined here(i.e., HEADERSIZE, MAGICCOOKIE, FIELDLENGTH, FIELDNAMES (Array), FIELDLENGTH (Array still)).
other parts like remote interface, adapter, etc are not yet coded so i've not included them here.
I'm concerned about the constants. Im not sure if this ok. I assumed that since everything schema related are specified in the ASsignment requirement then it's ok to define them as constants. Any comments?