PHP运行模式有4钟:1)cgi 通用网关接口(Common Gateway Interface)) 2) fast-cgi 常驻 (long-live) 型的 CGI 3) cli 命令行运行 (Command Line Interface) 4)web模块模式 (apache等web服务器运行的...
分类:
Web程序 时间:
2014-08-26 16:45:36
阅读次数:
264
1.SpringHandlerInterceptor 可以组成一个chain。这个接口有三个方法:public interface HandlerInterceptor { /** * Intercept the execution of a handler. Called after...
分类:
编程语言 时间:
2014-08-26 15:24:46
阅读次数:
277
转自:http://dev.yesky.com/436/7581936.shtml 在Java语言中, abstract class 和interface 是支持抽象类定义的两种机制。正是由于这两种机制的存在,才赋予了Java强大的 面向对象能力。abstract class和interface之间...
分类:
编程语言 时间:
2014-08-26 13:29:26
阅读次数:
261
@interface MyProfileViewCell : UITableViewCell@end@implementation MyProfileViewCell- (void)layoutSubviews{ [super layoutSubviews]; CGRect frame ...
分类:
移动开发 时间:
2014-08-26 13:09:26
阅读次数:
172
Test1.h@interface Test1 : NSObject- (void)objectFun;+ (void)classFun;@endTest1.m@implementation Test1- (void)objectFun{ NSLog(@"object function");}...
分类:
其他好文 时间:
2014-08-26 11:06:05
阅读次数:
214
@interface EricAppDelegate ()
{
UIView *_containView;
UILabel *_label;
UIButton *_butt;
NSMutableString *str;
}
@property(assign,nonatomic)double num1,num2,num3,num4;
@end
@implementa...
分类:
其他好文 时间:
2014-08-26 09:56:45
阅读次数:
257
person类-----》.h文件#import<Foundation/Foundation.h>
@interfacePerson:NSObject<NSCopying>//使用copy必须引入NSCopying协议。。。
//语义设置
//1.NSString接收了copy协议,
//2.大多数规范化
@property(nonatomic,copy)NSString*name;
@property(nonat..
分类:
其他好文 时间:
2014-08-26 03:11:16
阅读次数:
255
Interface定义:type Namer interface { Method1(param_list) return_type Method2(param_list) return_type ...}注:1. interface中不能包含变量2. 一个类型不用显式去定义实现某...
分类:
编程语言 时间:
2014-08-26 00:27:15
阅读次数:
265
Linux网络操作命令的一个特点是,命令参数选项和功能很多,一个命令往往还可以实现其它命令的功能。ifconfig1.作用ifconfig用于查看和更改网络接口的地址和参数,包括IP地址、网络掩码、广播地址,使用权限是超级用户。2.格式ifconfig-interface[options]address3.主要参数-int..
分类:
系统相关 时间:
2014-08-25 19:35:05
阅读次数:
240
Golang的多态是个技巧性质的东西,我看许式伟的书中并未提到真正意义的多态,我自己摸索了一下,我觉得以下的书写,可能最复合工程需要。首先看例1:type IFly interface { fly()}type A struct {}func (a A) fly() { println(...
分类:
其他好文 时间:
2014-08-25 14:35:04
阅读次数:
873