I am creating a large web application with Zend Framework 1.10. A am new in Zend Framework(1 month experiance). Can you explain me how to create a admin module in the best way?(with own authentication). How to make this with good security? Thanks a lot.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
I would create
AdminController
in each module, then route rewriting the paths like this:Then leverage Zend_Auth and Zend_Acl.
You will also need controller plugin which checks the credentials from
Zend_Auth
and a Authorization controller with login form.But it all depends on your application.
The good practice is to create admin module with own controllers and plugins.