RE: [PEAR-DEV] New Package Proposal: Enterprise A&A

From: Date: Tue, 14 Jan 2003 22:27:19 +0000
Subject: RE: [PEAR-DEV] New Package Proposal: Enterprise A&A
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12447@lists.php.net to get a copy of this message
> -----Original Message----- > From: Tony Bibbs [mailto:tony@tonybibbs.com] > Sent: Tuesday, January 14, 2003 11:23 PM > To: Lukas Smith > Cc: 'Roberto Bertó'; 'PEAR Development' > Subject: RE: [PEAR-DEV] New Package Proposal: Enterprise A&A > > Basically you are saying you want to cache the results to avoid recursive > calls later on unless some admin makes a change. That I fully agree with. Yeah this is the only way you can get away with adding something like implied rights or other more advanced features. Basically you are doing classic denormalization: Trade storage space and update speed for faster read speed. For data that is complex to fetch from the normalized source and that sees a lot more reads than updates, such as this, it makes a lot of sense. LiveUser currently only stores the serialized permission array during the life of a session. I would love to change this that the permission array is serialized at first use and then whenever the underlying data changes it is regenerated. Regards, Lukas

« previous php.pear.dev (#12447) next »