一、什么是 AOP。AOP(Aspect Orient Programming),也就是面向切面编程。能够这样理解,面向对象编程(OOP)是从静态角度考虑程序结构,面向切面编程(AOP)是从动态角度考虑程序执行过程。二、AOP 的作用。经常通过 AOP 来处理一些具有横切性质的系统性服务,如事物管理...
分类:
编程语言 时间:
2014-10-29 23:33:04
阅读次数:
274
If you want to use version 3.1 you need to use the following schema:
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd
Note that 3.0 and 3.1 are different: in 3.1 there's no Sun mentioned, so si...
分类:
Web程序 时间:
2014-10-29 19:25:41
阅读次数:
310
动态链接库(Dynamic Link Library),简称DLL。DLL 是一个包含可由多个程序同时使用的代码和数据的库。它允许程序共享执行特殊任务所必需的代码和其他资源,一般来说,DLL是一种磁盘文件,以.dll、.DRV、.FON、.SYS和许多以.EXE为扩展名的系统文件都可以是DLL。它由...
分类:
其他好文 时间:
2014-10-29 19:05:22
阅读次数:
110
dynamic_cast: 通常在基类和派生类之间转换时使用,run-time castconst_cast: 主要针对const和volatile的转换.static_cast: 一般的转换,no run-time check.通常,如果你不知道该用哪个,就用这个。reinterpret_cast...
分类:
编程语言 时间:
2014-10-29 18:42:53
阅读次数:
200
pecl安装php的ev扩展,安装完毕后php.ini中加入扩展extension=ev.so,然后重启php-fpm出现以下报错PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ev.s...
分类:
Web程序 时间:
2014-10-29 16:53:00
阅读次数:
639
public static class DynamicFactory { //创建线程安全(对象不会再同一时刻被多个线程访问)的字典对象 private static ConcurrentDictionary s_dynamicTypes = new Concur...
分类:
其他好文 时间:
2014-10-29 12:34:19
阅读次数:
145
1,Json模块介绍JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。它基于JavaScript Programming Language, Standard ECMA-262 3rd Edition - Dec...
分类:
编程语言 时间:
2014-10-29 12:31:22
阅读次数:
199
http://learnxinyminutes.com/docs/c++/C++ is a systems programming language that,according to its inventor Bjarne Stroustrup, was designed tobe a “bett...
分类:
编程语言 时间:
2014-10-29 12:29:14
阅读次数:
224
http://www.delphisources.ru/pages/faq/master-delphi-7/content/LiB0104.htmlBeside this introductory example, you can do a few extra things with dynamic...
在QT中,在非构造函数中添加控件步骤如下QPushButton *btn = new QPushButton(this);btn->setGeometry(0,0,50,50);btn->setText(“Dynamic”);btn->show();//添加本行代码,控件才能显示出来
分类:
其他好文 时间:
2014-10-28 23:53:44
阅读次数:
1064