Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。
Ember.js 1.0 RC3 发布了,比起 RC2 版本,RC3 在性能又进一步提升,同时还包含如下改进:
When adjacent child views are scheduled for insertion they are are now batched together, and inserted together rather then one at a time.
Object deletion is now async, this prevents un-needed churn when destroying large interconnected object graphs.
The number of objects allocated during view rendering has been cut down.
示例代码:
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 的下载地址:请点这里
