On Sat, 25 Dec 1999, Henri Bergius wrote:

> On 23 Dec, [EMAIL PROTECTED] wrote:
> > Will we be able to add our own tables/object types to this scheme? Ie,
> > if I want to create a "Coffee" object type for my online coffee firm
> > (for example :), can I just create a new table named "Coffee",
> > and set the object field in the index table to "Coffee"?
> 
> Customizable record types/tables are one of the major
> feature additions Midgard 2 will bring.
> 
> Jukka had some notes on what is being done in that field
> in his Midgard 2 status update month ago. Midgard 2 should
> be hitting alpha within few days so developers can start
> hacking on these new features soon.
> 
> http://www.progressive-comp.com/Lists/?l=midgard&m=94344635030602&w=2

This is more about adding custom data to existing tables. I think
what Ben wants is more along the lines of a table like
(class, id, field, value) with functions like

mgd_get_custom(class, id, field)
mgd_set_custom(class, id, field, value)
mgd_del_custom(class [, id [, field]])
mgd_list_custom(class [, id])

This would not be too hard, but for reasons of both efficiency and
flexibility you're probably better off storing these in a separate
database.

Oh, BTW: Merry Christmas, y'all!

Bye,
Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to