纪念一下。当时买的时候还不知道nano4是刚出来的新产品呢,9月8日才在美国上市。估计我们大陆也就刚刚上架,就被我给买了。
by Stephen Swoyer
30 September 2008
Who’s ahead: Microsoft Corp.’s .NET or Sun Microsystems Inc.’s Java Platform Enterprise Edition (Java EE)?
Five years in and counting, the battle still rages with no clear victor. However, according to a new survey, .NET appears to be widening its lead over Java EE, [...]
In: Javascript| Web前台相关
2 Oct 2008JQuery的作者:http://ejohn.org/
Pro Javascript Techniques里面提到的:
http://dean.edwards.name/
http://dean.edwards.name/weblog/
以后有新的再补充~~
In: Javascript| Web前台相关
2 Oct 2008最近在看天雪发给我看的一本Javascript的书,是JQuery之父写的,写得很棒,里面推荐的资源也很棒。为了弥补我的差记性,特写下学习笔记。
http://javascript.crockford.com/inheritance.html
这个是讲Js里面的类继承的写法,这个作者太犯贱了,上面的例子都是用自己写的方法,结果方法在最下面才写出来,告诉我们。搞得我一开始以为是内置的方法呢。。。不过他的方法写得太酷了,下面列举一下:
Sugar(作者管他写的方法叫做糖,确实很甜)
To make the examples above work, I wrote four sugar methods. First, the method method, which adds an instance method to a class.
为了上面的例子跑起来,我写了四个很甜的方法。首先,是method方法,它是用来把方法添加到class里的。
1
2
3
4
Function.prototype.method = function (name, func) {
this.prototype[name] = func;
return this;
};
This adds a public method to the Function.prototype, so all functions get it by Class [...]
本来在csdn和blogger都有博客的,但终究不是自己的地方,感觉不爽。
现在转移到自己的虚拟主机上,感觉很好,有一种家的感觉,为所欲为的快感。
姓名:郑玏
性别:男
职业:IT工程师
爱好:KTV、乒乓球、台球、五子棋、围棋、编程
语言:中文、英语、闽南语
Email: