On 15-Jul-2000 Darren Franklin wrote:

> I have an application that I want to revise and add more data to the records
> that already exist.  How would you do this?

This is not necessarily applicable here, but I thought I would mention how
RIM (Research In Motion, i.e. Blackberry) does it.  They use field tags and
each record may contain zero or more fields with the same tag.  So when you
want to extend the "structure" of your database you simply start using more
field tags, and the old code still works (because it is unaware of new
fields) and new records will simply have more fields.  The cool part is that
each record can be totally different and you never have to adjust the old
obsolete records into a new schema.  Incidentally the API also takes care of
field resizing etc.

I don't like the overhead of a field API but in this case you might want to
consider using field tags if you are going to add things to your structure
periodically.  And for the RIM devices it is a practical solution since they
use flash for everything and it takes time to erase and reprogram so they
avoid doing that.


/* Chris Faherty <[EMAIL PROTECTED]>                 */
/* Your Stock has crashed - you must now restart your system */


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to