• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
愛如風過
我想到一个地方,那里最好一年下2次雨,1次下半年!
博客园    首页    新随笔    联系   管理    订阅  订阅
2006年7月5日
权限设计(转)
摘要: 在任何系统中,权限设计是最基础的东西,本文给出一个基于角色的权限设计的循序渐进的设计方案。 在权限系统中,功能(权限)是最小的单位,比如起草新闻、编辑新闻、审核新闻、删除新闻等,而角色是一类功能的集合,比如新闻编辑这个角色,他可能有起草新闻、编辑新闻等功能集合,而责任编辑他可能就有更多的权限,比如除了新闻编辑的功能,还有审核新闻、删除新闻等功能,给张三赋予新闻编辑的角色(其实我更愿意说把张三... 阅读全文
posted @ 2006-07-05 17:11 愛如風過 阅读(508) 评论(0) 推荐(0)
concept--------polymorphism
摘要: Polymorphism literally means many forms or many shapes. It is the concept thata method declared in a base class can be implemented in many different ways inthe different derived classes. 阅读全文
posted @ 2006-07-05 11:19 愛如風過 阅读(197) 评论(0) 推荐(0)
1
摘要: There are five different kinds of types in C#:classstructinterfaceenumdelegate You can nest all five of these inside a class or a struct. Note You cannot nest a type inside an interface, an enum, ... 阅读全文
posted @ 2006-07-05 10:54 愛如風過 阅读(136) 评论(0) 推荐(0)
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3