数据库缓存数据库缓存类允许你把数据库查询结果保存在文本文件中以减少数据库访问。激活缓存需要三步: 在服务器上创建一个可写的目录以便保存缓存文件。 在文件
application/config/database.php 中设置其目录。 激活缓存特性,可以在文件 application...
分类:
其他好文 时间:
2014-07-22 23:17:32
阅读次数:
410
上一篇文章分析了Flume如何加载配置文件的,动态加载也只是重复运行getConfiguration()。
本篇分析加载配置文件后各个组件是如何运行的? 加载完配置文件订阅者Application类会收到订阅信息执行: @Subscribe public
synchronized voi...
分类:
其他好文 时间:
2014-07-22 23:16:35
阅读次数:
527
private void button1_Click(object sender, EventArgs
e) { var appWord = new Microsoft.Office.Interop.Word.Application(); ...
分类:
其他好文 时间:
2014-07-22 23:14:16
阅读次数:
383
1.图片的处理,CoreImage添加CoreImage的属性,并生成synthesize@property
(nonatomic,strong) CIContext *context;@property (nonatomic,strong) CIFilter
*filter1;@property ...
分类:
其他好文 时间:
2014-07-22 23:14:15
阅读次数:
369
What is the Execution Context & Stack in
JavaScript?In this post I will take an in-depth look at one of the most
fundamental parts of JavaScript, theE...
分类:
编程语言 时间:
2014-07-22 23:12:16
阅读次数:
608
Change ICON of MFC Application and
Dialoghttp://www.codeproject.com/Tips/406870/Change-ICON-of-MFC-Application-and-Dialog#include
"FirstApp.h"#include...
分类:
移动开发 时间:
2014-07-22 23:10:35
阅读次数:
553
两种状态的改变通过动画来渐变,设置动画效果,一般采用的方式有以下几种:方式一:[UIView
beginAnimations:(NSString *) context:];[UIView
setAnimationDuration:];/*****这里插入需要产生动画的片段*****/ [UIV...
分类:
其他好文 时间:
2014-07-22 23:09:14
阅读次数:
270
转自:http://wangye.org/blog/archives/266/什么是PEAR来自百度百科:PEAR 是PHP扩展与应用库(the PHP
Extension and Application Repository)的缩写。它是一个PHP扩展及应用的一个代码仓库,简单地说,PEAR之于P...
1
Excel对象微软的Excel对象模型包括了128个不同的对象,从矩形,文本框等简单的对象到透视表,图表等复杂的对象.下面我们简单介绍一下其中最重要,也是用得最多的四个对象。(1)
Application对象。Application对象处于Excel对象层次结构的顶层,表示Excel自身的运行环...
分类:
其他好文 时间:
2014-04-30 16:58:34
阅读次数:
432
var aQuery = function(selector, context) {return
new aQuery.prototype.init();//工厂方法创建一个对象}aQuery.prototype = {init: function()
{return this;},getAge: ...
分类:
Web程序 时间:
2014-04-29 16:31:46
阅读次数:
511