Re: ACL and Reflection
Posted: Wed Oct 15, 2008 9:23 am
Definitely, from the sounds of it it would wipe out most of your readability also
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Any progress on that one?jshpro2 wrote:After reading some of the suggestions you guys posted the one I like best is having each property be accessed through an object that encapsulates field specific ACL rules, I'm going to toy around with the idea of doing something like this for my applications but implementing it as a generic 'data gateway' and having the field specific ACL checks register themselves as hooks to be run pre and post property access, that inverts control and also allows more access checks to be added later besides plain vanilla ACL (in case I think of something later). Not entirely necessary per se to solve the problem but it seems to be the right thing to do to me