会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lein.wang
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
16
17
18
19
20
21
22
23
24
25
下一页
2012年10月8日
架构初级积累一
-------------------------------------------------------------------------------------软件架构师首要的关注点不是系统的功能软件架构师需要关注的是需要满足的品质比如:1.主机托管环境2. 主机操作系统3. 并发数4. ...
Read More
posted @ 2012-10-08 17:03 lein.wang
Views(104)
Comments(0)
Diggs(0)
2012年9月26日
.NET 几种部署方式
Xcopy尼玛,我一度以为这种方式是要敲神马命令的,结果仔细一看,原来就是手动拷贝。原来所谓的Xcopy就是手动拷贝啊!!!法克1. winform项目: 把release下面那两文件拷到任意一个文件夹里都能运行2. web项目:建好虚拟目录,拷之(这岂不是连源代码都给拷过来了???)Publish...
Read More
posted @ 2012-09-26 16:59 lein.wang
Views(275)
Comments(0)
Diggs(0)
2012年9月18日
javascript Math.random
Math.random() 返回介于0和1之间的一个随机数, 0.0712383823728837....如果想获得一个整数范围随机值值 = Math.floor( Math.random() * 数目 + 第一个可能的值);function selectFrom(lower,upper){ v...
Read More
posted @ 2012-09-18 14:15 lein.wang
Views(104)
Comments(0)
Diggs(0)
2012年9月14日
javascript 包装类型
js的包装类型有三种:String Boolean Number目的:为了便于操作基本类型值var s = new String("ssssssss");var s = "ssssss";var b = new Boolean(true);var b = false;var n = new Numb...
Read More
posted @ 2012-09-14 16:16 lein.wang
Views(90)
Comments(0)
Diggs(0)
2012年9月11日
javascript array push pop shift unshift
栈行array push尾部插入,pop尾部弹出。队列array push尾部插入,shift头部取出,unshift头部插入。
Read More
posted @ 2012-09-11 22:39 lein.wang
Views(117)
Comments(0)
Diggs(0)
2012年9月9日
javascript 释放变量内存
一旦数据不再有用,最好通过将其值设置为null来释放其引用-----这个做法叫做解除引用。这一做法适用于大多数全局变量和全局变量的属性。局部变量会在他们离开执行环境时自动被解除引用。function a(){}var b = a();//手动解除b的引用b = null
Read More
posted @ 2012-09-09 18:47 lein.wang
Views(661)
Comments(0)
Diggs(0)
javascript 变量作用域
forfor(var i=0;i<10;i++){ action(i); .................}对于js 来说,由for语句创建的变量i即使在for循环执行结束后,也依旧会存在于循环外部的执行环境中。因为js 没有块级作用域alert(i); // 10
Read More
posted @ 2012-09-09 18:43 lein.wang
Views(105)
Comments(0)
Diggs(0)
javascript instanceof
result = variable instanceof constructor
Read More
posted @ 2012-09-09 18:17 lein.wang
Views(93)
Comments(0)
Diggs(0)
2012年9月5日
javascript Boolean使用
很多时候不能确定某个变量到底是空字符还是null,还是未定义。可以使用Boolean显式转义var b = Boolean(a);
Read More
posted @ 2012-09-05 16:55 lein.wang
Views(136)
Comments(0)
Diggs(0)
2012年9月4日
DOM NodeType
Read More
posted @ 2012-09-04 16:11 lein.wang
Views(106)
Comments(0)
Diggs(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
25
下一页
公告