今天,我们发布了 Ember.js 1.0 正式版。记得 Ember.js 的第一个 commit 是在2011年4月30日提交的,到现在已经有两年多的时间。关于 Ember.js 1.0 正式版的介绍请看官方发行说明。
Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。
示例代码:
MyApp.president = Ember.Object.create({
firstName: "Barack",
lastName: "Obama",
fullName: function() {
return this.get('firstName') + ' ' + this.get('lastName');
// Tell Ember that this computed property depends on firstName
// and lastName
}.property('firstName', 'lastName')
});
Ember.js 的详细介绍:请点这里
Ember.js 的下载地址:请点这里
