1.浏览器请求动态页面过程 2.WSGI Python Web Server Gateway Interface (或简称 WSGI,读作“wizgy”)。 WSGI允许开发者将选择web框架和web服务器分开。可以混合匹配web服务器和web框架,选择一个适合的配对。比如,可以在Gunicorn ...
分类:
编程语言 时间:
2017-06-21 22:03:41
阅读次数:
319
方法1:独立事件直接写法 方法2:类方法 类方法引用:记住uses中添加引用类单元名 UUnSelectShadow; ...
分类:
其他好文 时间:
2017-06-21 21:07:14
阅读次数:
153
Runtime源码分析带你了解OC实现过程。其中参考了大量的大神的代码以及文献里面也有个人的见解欢迎拍砖欢迎交流。两种常见使用场景///weak属性@interfaceXX:XX@property(nonatomic,weak)Type*weakPtr;@end///代码块中使用{///使用__weak
__weakType*weakPtr=[[SomeObjectalloc]i..
分类:
其他好文 时间:
2017-06-21 20:05:39
阅读次数:
305
1.Class对象的getClasses()方法获取的是该类中所有的公共的内部类,以及从父类,父接口继承来的内部类。getinterfaces()方法返回类继承的所有接口。 import javax.print.attribute.standard.PrinterInfo; interface Ha... ...
分类:
编程语言 时间:
2017-06-21 16:03:48
阅读次数:
155
单一职责原则,SRP(Single Responsibility Principle)里氏替换原则,LSP(Liskov Substitution Principle)开放-关闭原则,OCP(Open-Close Principle)接口隔离原则,ISP(Interface Segregation ...
分类:
其他好文 时间:
2017-06-21 15:56:56
阅读次数:
179
源码(.m文件) #import "ZKJAppDelegate.h" @interface ZKJAppDelegate () @property (retain,nonatomic) UIView *containView; @property (retain, nonatomic) UIBut ...
分类:
移动开发 时间:
2017-06-21 11:23:52
阅读次数:
187
错误: Could not find method on interface org.apache.ibatis.executor.statement.StatementHandler named prepare. Cause: java.lang.NoSuchMethodException: or ...
分类:
编程语言 时间:
2017-06-20 22:56:08
阅读次数:
414
1.接口 1.1语法 public interface 接口名 extends 接口1,接口2...{ 1.常量 2.抽象方法 } 1.2特点 a.用interface修饰 b.接口可以继承接口,多继承 c.接口内只能定义常量和抽象方法 d.接口不能实例化,但是可以作为子类的引用 e.实现接口的子类 ...
分类:
其他好文 时间:
2017-06-20 22:19:57
阅读次数:
158
怎么正确的计算一个ip地址的subnet id? 来源于: How to calculate the correct subnet for an interface (文档 ID 1059759.1) 适用于: Oracle Database - Enterprise Edition - Versi ...
分类:
Web程序 时间:
2017-06-20 21:17:56
阅读次数:
263