JavaScript框架 Archetype
- 授权协议: 未知
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://archetypejs.org/
- 软件文档: http://archetypejs.org/tuto/intro.html
软件介绍
Archetype 是一个面向对象的 JavaScript 框架和 Ajax 框架。
示例代码:
Archetype.Component.create({
name:"Sample.components.foobar",
/**
* Set up the Component dependencies
*/
setup:{
dependencies: {
components:{},
lib:[]
}
},
/**
* Constructor
*/
initialize: function () {
Logger.log("foobar has been instantiated!");
$(document.body).observe("click", this.createDate);
Logger.log("a click handler on the body of your page has been registered");
},
/**
* Private method which launch the DateUpdate event
* with the current date in parameter
*/
_createDate : function () {
this.fireDateUpdate(new Date());
},
/**
* Fire a "DateUpdate" event
*/
fireDateUpdate: _,
/**
* Listen to "DateUpdate" event
*/
onDateUpdate: function(eventName, date) {
Logger.log("foobar has received a date:" + date);
}
})
程式之美-微軟技術面試心得
編程之美小 / 悅知文化 / 2008.06.20 / 490元
書內容分為以下幾個部分: ▓ 遊戲之樂:從遊戲和其他有趣問題出發,化繁為簡,分析總結。 ▓ 數字之魅:程式設計的過程實際上就是和數字及字元打交道的過程。這一部分收集了一些這方面的有趣探討。 ▓ 結構之法:彙集了常見的對字串、鏈表、佇列,以及樹進行操作的題目。 ▓ 數學之趣:列舉了一些不需要寫具體程式的數學問題,鍛煉讀者的抽象思考能力。 ▓ 書中絕大部分題目都提供了詳細......一起来看看 《程式之美-微軟技術面試心得》 这本书的介绍吧!
