[geeklog-devel] Custom user attributes in GL2

Tony Bibbs tony at tonybibbs.com
Wed Dec 15 17:24:09 EST 2004


I'm fine with data driving the custom user stuff..l

I would still say, though, you'd want real columns in the GL2 user table 
for thing we know we need (i.e. username, password, etc) for performance 
reasons alone, right?  Regardless, going this route will make the use of 
Propel a little bit messy as the user class generated by propel won't 
know anything about the custom attributes in the database.

Also, for clarity, are you suggesting we do this for all plugin specific 
user attributes?  I don't think you are and if you are we probably want 
to discuss the pros/cons between that and having a plugins specific user 
table with a one-to-one relationship with the kernel user table.

--Tony

Vincent Furia wrote:

>I'm with Dwight.  This way all user data is in one place (and the
>plugins can put user data there as well).
>
>-Vinny
>
>
>On Wed, 15 Dec 2004 16:16:44 -0500 (EST), dwight at trumbower.com
><dwight at trumbower.com> wrote:
>  
>
>>The easiest way I know of, one table.
>>
>>column name - String
>>column type - specifies, long, int, string ect
>>column data - data as a string
>>
>>Might need xref table to show where it is used. At least this is how would
>>start.
>>
>>
>>    
>>
>>>Anybody have any input on how to best address providing the community
>>>with fairly easy way to add custom attributes for users in GL2?
>>>
>>>I don't I have a good idea on how to do this.  My hopes are that plugins
>>>would have their own one-to-one mapping from the core user table to
>>>their own user table with addition information.  Assuming that is OK,
>>>how do we handle things the site admin simply wants to add (e.g. msn id,
>>>pgp key, etc).
>>>
>>>--Tony
>>>_______________________________________________
>>>geeklog-devel mailing list
>>>geeklog-devel at lists.geeklog.net
>>>http://lists.geeklog.net/listinfo/geeklog-devel
>>>
>>>      
>>>
>>_______________________________________________
>>geeklog-devel mailing list
>>geeklog-devel at lists.geeklog.net
>>http://lists.geeklog.net/listinfo/geeklog-devel
>>
>>    
>>
>_______________________________________________
>geeklog-devel mailing list
>geeklog-devel at lists.geeklog.net
>http://lists.geeklog.net/listinfo/geeklog-devel
>  
>




More information about the geeklog-devel mailing list