RBAC(Role-Based Access Control,基于角色的访问控制),就是用户通过角色与权限进行关联。简单地说,一个用户拥有若干角色,每一个角色拥有若干权限。这样,就构造成“用户-角色-权限”的授权模型。在这种模型中,用户与角色之间,角色与权限之间,一般者是多对多的关系。(如下图)角色...
分类:
其他好文 时间:
2014-08-26 21:06:46
阅读次数:
219
1.组件选择器 目的:了解如何选择Extjs中的组件,就跟学习jquery时一定会先要学习:$()选择器一样。 常用场景: 1.在controller中的control事件中用到 2.在普通的事件处理中也要用到 参考文章: http://www.cnblogs.com/daxin/archive/2...
分类:
Web程序 时间:
2014-08-26 19:14:46
阅读次数:
330
1,创建数据源 找到要导出的GridView中的数据。2,重写VerifyRenderingInServerForm方法。 public override void VerifyRenderingInServerForm(Control control) { }3,编写导到Excel的方法。pri....
分类:
Web程序 时间:
2014-08-26 17:05:16
阅读次数:
220
编写目的:unity 学习编写时间:2014-08-26 02:13发射器using UnityEngine;using System.Collections;//声明 有属性将在检视面板出现[AddComponentMenu("Camera-Control/Shooter")][System.Se...
分类:
其他好文 时间:
2014-08-26 02:52:55
阅读次数:
320
1.
//设置无缓存
response.setHeader("progma","no-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
%>
2.设置页面Nocache方式,即每次访问...
分类:
Web程序 时间:
2014-08-25 19:19:45
阅读次数:
242
Serializability
From Wikipedia, the free encyclopedia
In concurrency control of databases,[1][2] transaction
processing (transaction management), and various transactional applications (...
分类:
其他好文 时间:
2014-08-25 15:04:44
阅读次数:
332
最近在对CDN进行优化,对浏览器缓存深入研究了一下,记录一下,方便后来者画了一个草图:每个状态的详细说明如下:1、Last-Modified在浏览器第一次请求某一个URL时,服务器端的返回状态会是200,内容是你请求的资源,同时有一个Last-Modified的属性标记(HttpReponse He...
分类:
其他好文 时间:
2014-08-25 14:55:44
阅读次数:
236
来自 http://blog.asdasd.cn/?p=7402012-03-14 13:04 | Package Control : 安装包控制在 package control 下 Install Package 是安装插件,选择后会连网获取插件列表,disabled package 是禁用某插...
分类:
其他好文 时间:
2014-08-25 11:27:54
阅读次数:
214
可以用Control.MousePosition获得当前鼠标的坐标,使用PointToClient计算鼠标相对于某个控件的坐标,如下1 Point screenPoint = Control.MousePosition;//鼠标相对于屏幕左上角的坐标2 Point formPoint = this....
分类:
其他好文 时间:
2014-08-25 09:51:14
阅读次数:
221
这次再对内容为View的ViewPager的适配器PagerAdapter进行简单的封装,支持List数据和SparseArray的数据,带更新视图功能。
首先,先贴上最上面的抽象类代码:
/*
* Date: 14-8-18
* Project: Access-Control-V2
*/
package cn.irains.access_control_v2.common;
impo...
分类:
移动开发 时间:
2014-08-25 08:46:04
阅读次数:
313