Yahoo!User Interface(簡稱YUI)發佈了大改版的3.0 Preview Release 1,在這個網站上已經有提供官方文件,而下載則可以到SourceForge。對於YUI 3的改進,YUI的部落格寫了五個主要的目標。
- 更輕巧 (less K-weight on the wire and on the page for most uses)
- 更快速 (fewer http requests, less code to write and compile, more efficient code)
- 更一致性 (common naming, event signatures, and widget APIs throughout the library)
- 更具威力 (do more with less implementation code)
- 更安全 (safer and easier to expose to multiple developers working in the same environment; easier to run under systems like Caja or ADsafe)
No. YUI 3.0 builds off of the YUI 2.x codeline, but we’ve evolved most of the core APIs in working toward the five key goals described above. As a result, migrating from YUI 2.x to 3.x will require effort at the implementation level.YUI 3的改版已經聲明不向前相容,也就是先前使用YUI開發的網站,若想升級使用這個版本,很可能需要大幅的改寫,是否要負擔的這個成本,就要仔細考慮一下效益了。雖然還沒正式Release,等發行可能需要再個幾個月(Beta Release是在十月份),但如果已經決定要採用YUI當框架,還是早一點測試和使用YUI3比較保險。
沒有留言:
張貼留言