News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney's Blog:
Applying ACLs to Models
December 24, 2008 @ 14:18:29

Matthew Weier O'Phinney has a new post today looking at how you can integrate access control list (ACL) functionality into your Zend Framework application's models.

In my last post, I discussed using Zend_Form as a combination input filter/value object within your models. In this post, I'll discuss using Access Control Lists (ACLs) as part of your modelling strategy. ACLs are used to indicate who has access to do what on a given resource. In the paradigm I will put forward, your resource is your model, and the what are the various methods of the model. If you finesse a bit, you'll have "user" objects that act as your who.

He looks at the Zend_Acl component and how to extend your model with it to work with roles in a sample BugTracker application providing an abstraction interface to work with identities for your users.

0 comments voice your opinion now!
acl access control list zendframework model user


blog comments powered by Disqus

Similar Posts

MaltBlue.com: Hot to Use the Zend Form ViewScript Decorator in All Modules

Ralph Schindler's Blog: Composite Rowsets For Many-To-Many Relationships Via Zend_Db_Table

WebReference.com: Access Control (in a PHP5 CMS)

Rob Allen's Blog: Russian and Polish Zend Framework Tutorial

Lee Davis' Blog: FormFactory - Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects


Community Events





Don't see your event here?
Let us know!


version symfony security series opinion voicesoftheelephpant interview language library composer framework laravel release tool update podcast introduction community package install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework