Other database structure for Privacy

marenz - April 10, 2008 - 21:00
Project:
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:marenz
Status:active
Description

Hi, really nice modul.

Have you ever thought about putting the privacy options in a textfield as array. See user-table for example, the data field. Right now Friend modul creates around quite a lot of data records for just one user, like

privacy options X Friend list groups

which is - if somebody has four groups and later we have twelve privacy options, around 50 records for one user.
If we put this in an array text field we need just 1 record.

I am not so experienced programer so don't take this as a profesional advice, but I can't see any disadvantage of doing like this and I can see a performance advantage.

Marenz

 
 

Drupal is a registered trademark of Dries Buytaert.