ExtJS 4.1 更新

来源:互联网 发布:程序员工资 编辑:程序博客网 时间:2024/06/06 02:20

原文:http://www.sencha.com/blog/ext-js-4-1-update/

译:frank / sp42 转载请保留本页信息。

今年八月,我们曾对 Ext JS 4.1做了博客预览。我们说道,新版将集中在性能和文档方面的改进,同时也说过,预计在“9月中旬至下旬”那段时间内交付。然而比较失望的是,我们没有按期提交。在这次机会中,我想交待这方面的原因,作一次说明。

Ext JS 4.0 于 IE7/8 的性能挑战

我们期待 ExtJS4.1的目标是真正加速在陈旧浏览器上的速度。比较其他现代浏览器,如 IE9、Chrome,IE7 和 IE8 实在缓慢,尤其 JavaScript 引擎和 DOM 处理的问题上很慢。造成负责这方面的 Ext JS 4.0 函数跑起来都不快。所以一边新型浏览器 ExtJS 跑起来比较亮眼,另一边的 IE7 和 IE8 则惨不忍睹……

为 IE 浏览器的源码优化

Ext JS 4.1的重点是加速 IE7/8 的页面渲染时间。根据初步性能分析,我们发现并确定,从增量渲染(incremental rendering)改变为批处理渲染(batch rendering)的方式,将大大加快页面渲染时间。我们在一个项目中作了为期两个月的观察,然而只是证明了批处理渲染虽然比较快,但是对于 IE 7/8 的后渲染(post-rendering)却无效的。于是随后,我们在 IE7/ 8 重新设计过,总之,最终来说核心都是要重构的。因此我们需要更沉着的心态与充足的时间。鉴于此,我们打算在十月底左右发布的 Beta 4.1,我们的目标就是为复杂布局来一个大的提速。(由于 IE6 与 IE7/8 的相似性,IE6 的表现也会显着改善)。如无意外,我们有信心如期发布出来,所以敬请期待!

发布 4.0.7

不得不说,我们为延时发布 4.1 而感到抱歉,鉴于此,我们释出 4.0.7 作为补救措施。4.0.7 包含两百条 bug 修正。先在收费用户中释出,不过下星期就发布社区版。

在接近发布正式版的期间,我们也会在论坛上定期告诉大家项目进度。如果短时间内你遇到性能问题而又等不及 4.1 的到来,我们也会贴出相应的解决方法。

复杂布局的表现成绩(Performance Data)

我们准备了一个性能描述器(performance profiler),并附有相关指引,当你 ExtJS 4.0 程序遇到有关 IE7/8 的性能问题时候,最好把性能数据也就是表现成绩发给我们。我们已经着手从其他方面领域来优化新版 4.2,比如复杂的布局中获取不同的数据来测试。

(原文该部分为“软文”,无谓自虐,不译也罢)

Changing How We Communicate Release Dates and Status

As we look over our ability to predict release dates, we just haven’t done a good job at this in 2011. Ext JS 4 was later than we originally announced, and our other releases have slipped past their initial launch targets. While I could take refuge in the statement “software is hard and unpredictable”, I don’t think excuses are much use to you when you have projects with hard dependencies on our ability to deliver on time. Apologies.

As a result, starting today, we’re going to be more conservative about communicating dates and we will be careful to communicate our level of confidence in those dates. In addition, we want to start providing more detail on what we’re working on and what we’re not. Using blog posts and forum posts seems to be insufficient. So, we’re looking at better ways of sharing what we’re doing with you on a continuous and transparent basis, including potentially providing open read-only access to our bug tracker.

我们致力于把 Ext JS 打造成为桌面式程序的最佳开发框架,希望您对我们在 Ext JS4.1 上面的工作感到满意。

原创粉丝点击