Skip to content

This is a "User Auth", "Permissions Manager", "Multi DB" and "REST" inside ZF2 and Doctrine 2 Project

License

Notifications You must be signed in to change notification settings

aguileraz/AGLDev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##AGLDev

###About This is a "User Authentication", "Permissions Manager", "Multi DB" module based on ZF2 skeleton application using Doctrine 2.

AGLBase - Authentication, mail, permissions, CRUD, and another cool things!

AGLLOG - Only for log system!

AGLCOX - An example of use the Doctrine 2 MSSQL connection!

AGLOther - An example of simple Module!

###Installation execute composer update after clone the project:

php composer.phar update

rename *.dist to *.php and configure as necessary in config/autoload/ folder.

Import data/mysql.sql to your mysql database.

###How to manage Access http://localhost/register to create new user.

Access http://localhost/admin/usr to manager users.

Access http://localhost//auth to authenticate.

Access http://localhost//auth/logout to logout current session.

Access http://localhost/admin/acl to manager roles/privileges and permissions.

Change localhost to you app link.

###How to use Not finished.

After finish the initial databases config, will introduce here, how to verificate indentity and permissions!

###The Objective Use an separeted MySQL DB for Authentication and Permissions orm_aglbase;

Another MySQL DB to Logs only orm_agllog;

Another MySQL DB for the rest of project using orm_default

An MSSQL DB to AGLCOX Module orm_aglcox;

###The final project show like this: 1 MySQL DB for Module AGLBase (for authentication and permissions).

1 MySQL DB for Module AGLLOG (only logs here).

1 MySQL DB for orm_default used on entire project.

1 MSSQL DB for AGLCOX Module.

###Whats Done AGLCOX Module using Doctrine MSSQL working right now!

I make use of 2 databases, one for AGLCOX Module and another for all project using orm_default, but can't move of the orm_default from module AGLBase. (need help)

###TO DO Need to change orm_default to orm_aglbase (all authentications will be use this).

Need to configure a separeted database for AGLCOX Module (orm_aglcox).

Need to configure a separeted database for AGLLOG (orm_agllog).

Need to configure a separeted database for entire project (orm_default).

Show Multi DB queries in ZendDeveloperTools@toolbar.

Show Auth informations in ZendDeveloperTools@toolbar.

Separate Modules AGLBase and AGLLOG from main project!

About

This is a "User Auth", "Permissions Manager", "Multi DB" and "REST" inside ZF2 and Doctrine 2 Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages