Architect traditional three-tier+EF+linq+MVC+wcf+Repository+easyui+ajax+jquery+json role permission module routing

I finally have my own basic project framework and a very happy day. There will be time to update the podcast open source.

Technology used

Traditional three-tier+EF+linq+MVC+wcf+Repository+easyui+ajax+jquery+json+js

Realize the function

 Role permission module configuration log

First introduce the traditional object idea of ​​the data structure  

User-object-permission 

User-Group-Permission 

The other is that the authority design of subject and object thinking is not yet available.

 

select * from dbo.FX_AuthorityDir /* page authority*/
select * from dbo.FX_Configuration /* group raw data*/
select * from dbo.FX_Group /*authority group*/
select * from dbo.FX_Module /* module*/
select * from dbo.FX_ModuleAuthority /* Module authority*/
select * from dbo.FX_ModuleType /*Group module authority*/
select * from dbo.FX_Role /* Role*/
select * from dbo.FX_RoleAuthority /* Role group authority association*/
select * from dbo.FX_User
select * from dbo.FX_UserRole
select * from dbo.userinfo

 

 

 

 

 

Interface layer


Key code



 

Data access layer


 

 

Business logic layer

 

 

 

 

 

 

result

 

Guess you like

Origin blog.csdn.net/cao919/article/details/14088293