Alex Tech Adventures The webs best tutorials!

Welcome to Alex Tech Adventures

Zend_Registry and authentication improvement

In tutorials 5 and 6 i made an assumption that if zend_auth object is null then user is a guest, i.e. not logged in. This is fine for small applications. It also raises PHP notice message. For those who do not want any messages or need more refined controlled over guest permissions there is a need to have a proper role created for guest. So we take advantage of Zend_Registry and create a global variable for role that takes Zend_Auth’s role variable if user is logged in or default variable value ‘guest’ if otherwise.

Read more...
   

Site navigation based on logon permissions

Combine zend_navigation with zend_acl to generate menu based on current user role.

Read more...
   

Site navigation menu with Zend_Navigation

Create a web site navigation menu using zend_navigation.

Read more...
   

Page 8 of 11

Latest ZF News

DevZone - Items tagged as: Zend_Framework_Management

Login Form

Next up

Error handling.

Paypal Donate

You are here: Home

Statistics

Members : 659
Content : 42
Web Links : 1
Content View Hits : 89016

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 42 guests online