phpzend-frameworkaclzend-application

Persisting Zend Framework ACL Lists


Does the Zend Framework (or applications built using Zend_Application) provide any mechanism for persisting ACL lists, or is that detail left to the individual system/application developer?

Most of the examples I see online involve setting up your ACL rules in code. I'm curious if there's any standard/preferred way to save these rules into a database and/or file-system and then automatically load them.


Solution

  • Morning,

    thats the part of the Framework User. We are storing our Acl inside of .ini or .xml files. On complex projects we are altough useing an Databasetable to store roles and resources.

    There is a very good example on Zend DevZone for using acl with database.

    Zend ACL with Database