按使用頻率排名:
1,IDE
個人首選aptana IDE,因為用慣了eclipse快捷鍵。
根據個人喜好,可選intelJ,gvim
2,debugger
熟記debugger的快捷鍵是高效coding的關鍵之一。
FF當屬firebug,IE除了IE8的debugger沒有一個好鳥。
3,API doc
熟練翻閱各種API電子書,HTML 和 jscript的電子書是必備的,根據需要常備YUI,mootools,jquery等。要知道,許多api的function并不是可以那么容易google得到的。
e.g.string.replace(Regex, function)
function f2c(s) {
var test = /(\d+(\.\d*)?)F\b/g; //Initialize pattern.
return(s.replace
(test,
function($0,$1,$2) {
return((($1-32) * 5/9) + "C");
}
)
);
}
4,小眾工具
YSlow, Google page speed, httpwatch ==> performance tuning
Jslint ==> coding convention
YUI Compressor, Jawr => compress
5,茶余飯后的消遣
先看看yui,mootools,jquery,Prototype & script.aculo.us,ext的source code,
然后回來refactor自己項目里成團的FML的js
閑的蛋疼就去51js吹牛起哄
已有 0 人發表留言,猛擊->>這里<<-參與討論
JavaEye推薦
文章來源:
http://sevenduan.javaeye.com/blog/504691