Welcome Guest, Not a member yet? Register   Sign In
Using Zend_Auth and Zend_ACL with CI
#12

[eluser]thurting[/eluser]
[quote author="zackwragg" date="1227115562"]
I am still playing with the authorisation stuff in my head and not sure which way to go. With the full-blown ACL stuff I am a little concerned about the memory-intensity of loading up the whole ACL model each time a user logs in and then having to store this for each user (seems like needless duplication).
Thanks[/quote]

It would be and that is crazy. Build the ACL once and cache it somewhere - Zend_Acl is serializable. Whenever an administrative user modifies the ACL, flush the cache. Store user information (id, name, role, etc.) in a session, and you have a super efficient and lightweight ACL scheme.


Messages In This Thread
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-15-2008, 12:01 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-15-2008, 01:08 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-15-2008, 01:20 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-15-2008, 05:31 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-16-2008, 05:00 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-16-2008, 10:03 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-16-2008, 02:17 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-16-2008, 02:38 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-16-2008, 05:03 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-18-2008, 10:32 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-19-2008, 05:26 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-19-2008, 02:13 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-19-2008, 02:29 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-19-2008, 04:03 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-19-2008, 04:53 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-19-2008, 05:03 PM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-28-2008, 09:25 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-29-2008, 02:53 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-29-2008, 07:08 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 11-30-2008, 10:04 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-01-2008, 03:46 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-01-2008, 04:43 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-01-2008, 05:08 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-01-2008, 05:25 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-01-2008, 07:50 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-02-2008, 10:24 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-02-2008, 10:53 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-02-2008, 10:59 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 10-06-2010, 05:37 AM
Using Zend_Auth and Zend_ACL with CI - by El Forum - 12-08-2010, 05:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB