Merry Christmas, comments below.

*ben wonders if he should be doing something today... nah.*


At Sat, 25 Dec 1999 21:46:24 +0100 (MET), [EMAIL PROTECTED] wrote:

>
>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.

Those functions sound -perfect- (or nearly so). Are they going to be implemented,
 or not... (I couldn't 
figure out that last paragraph.)

For my HPage scripts... I -really- want to make it so that the hpage owners 
can easily specify some options + such about their entire hpage (like a 
style, or what "sections" they want), and so that people can specify some 
options about articles they write (such as, do they want people to be able 
to respond to it... I'm very soon going to add "accounts" to the LHS site,
 and let people have forums based off of arbitrary portions of the site)... 
I've been thinking that I'd put text "flags" in the extra fields for this,
 something like "forum.yes special.no color.red sky.falling" or somesuch. 
This would be the -perfect- answer to my problem. I can simply set the "forum" 
field to "on", and go from there...

If not, I'm probably going to have to be klugdy with the extra field, to 
do what I want.. And I -don't- want to do that... *shudders*

Ben Garney
LHS Webmaster
http://www.lincolnhs.pps.k12.or.us/
   
IMPORTANT NOTICE:  If you are not using HushMail, this message could have been
read easily by the many people who have access to your open personal email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.


--
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