Re: [Refdb-devel] Web Interface
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2006-05-23 14:58:15
|
Sandy Rutherford <sa...@kr...> was heard to say: > Hi St=E9phane & Markus, > > Giving this some initial thought, it strikes me that key to having a > nice user interface is to allow users to set db-dependent user > preferences. The RIS specification is too long to imagine having an > unconfigurable user interface, which is efficient. The obvious place > to store the preferences is in refdb itself. The table t_user could > have a third field, user_prefs, which is an alphanumeric string. The > user's preferences could be stored there as PHP code and sucked in and > executed as necessary. > > Does this seem reasonable? This certainly would not hurt. Other interfaces might use such a field for similar purposes, whereas e.g. a command line interface would simply ignore this field. Implementing this would require two changes: - add client functions which store and retrieve the preferences - change the management of the t_user table. Currently an entry in this table is created whenever a user stores or picks his first reference, and it is deleted as soon as the user's last reference is deleted or dropped. The entry would have to be created and deleted through the adduser/deleteuser commands. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |