PrimeFaces 5.0 最終發布

jopen 10年前發布 | 15K 次閱讀 PrimeFaces

PrimeTek和PrimeFaces團隊很高興地宣布 PrimeFaces的下一代被稱為PF 5。經過幾個月辛勤工作和奉獻,PF5給Java EE提供一個全功能的社區發行版。

PrimeFaces是一個用于提高JSF Web應用程序開發效率的開源類庫。

主要由三個模塊組成:

  • UI Components:PrimeFaces UI模塊提供了擁有Rich Web用戶體驗的各種JSF組件。PrimeFaces使用Yahoo UI庫做為默認的客戶端框架。PrimeFaces提供的JSF組件能夠處理JavaScript Rendering和如何在服務器端與JSF集成。PrimeFaces UI組件包括:HtmlEditor、ImageCropper、Dialog、AutoComplete、Flash based Chart等。并支持通過Ajax更新頁面。
  • Optimus模塊提供簡化JSF開發的解決方案。Optimus提供基于Google Guice IOC容器的注釋來代替XML配置和一個XML-less Navigation Handler能夠讓你減少基于XML配置JSF Navigation的需要。此外Optimus還支持利用JPA實現數據持久化;將DataTable的內容導出成Excel與PDF。支持安全擴展。
  • FacesTrace模塊提供跟蹤JSF Web應用程序的各種工具包括:JSF LifeCycle可視化查看器;性能跟蹤器; Log4J適配器;FacesMessage監聽器;組件樹可視化查看器。

PrimeFaces 5.0 最終發布

那么,PF5新在什么地方?

全新的圖表API
Chart components have been working well but there were limitations, new chart API introduces a new generic chart component following a model driven approach. Along the way, we have added a couple of features as well such as Date Axis support and multiple axis.

新的組件

New components are always expected from a major PF release and 5 is not an exception;

  • DataScroller
  • Cache
  • Spotlight
  • ColumnToggler
  • ContentFlow

Features for Existing Components

Existing components have been enhanced with new features such as;

  • DragDrop based reordering for DataTable
  • Advanced filtering for DataTable
  • Frozen Columns for DataTable
  • Sorting for TreeTable
  • Easy javascript execution on initial page load for RequestContext
  • Filtering for SelectManyMenu and SelectOneListbox
  • ScrollPanel is reimplemented
  • Built-in mask support for calendar.

ExceptionHandler

PF5 provides a powerful exception handler by default, special thanks to Thomas Andraschko for implementing this and his many other contributions for this release.

PrimeFaces Mobile

PrimeFaces Mobile (PFM) is reimplemented from scratch and now merged in PrimeFaces Core.

PrimeFaces 5.0 最終發布

PrimeFaces Mobile (PFM) is a UI Kit to create JSF applications optimized for mobile devices. PFM is built on top of jQuery Mobile, a touch-optimized HTML5 UI framework providing support for various platforms.

In addition to the seamless integration with jQuery Mobile, PFM features a Mobile Renderkit for popular PrimeFaces components, ajax framework extensions, mobile ajax behavior events, integrated navigation model, lazy loading of pages, responsive widgets and more.

PrimeFaces Push

Our partner, the founder of Atmosphere Framework, Async-IO has greatly improved PrimeFaces Push as an outsource contract. PrimeFaces Push 2.0 is based on Atmosphere as its predecessor and follows an annotation based approach this time. Old APIs are deprecated and still supported for backward compatibility. Special thanks to our good friend, founder of Atmosphere and Async-IO, Jeanfrancois Arcand for implementing PrimeFaces Push 2.0. Many framework try to use Atmosphere for Push support however PrimeFaces Push is developed by the creator of Atmosphere.

PrimeFaces 5.0 最終發布

Accessibility
As usual, various components have been improved for keyboard and screenreader accessibility.

Download
PF5 is available at maven central repository, you just need to upgrade your version to 5.0. Visit downloads page for details.

Documentation
PrimeFaces User Guide is updated to cover 5.0. VDL and API docs are also available online. Please visit documentation page to access all the resources.

Migration Guide
Migrating from PF4 to PF5 should be an easy task, many of the changes are backward compatible with deprecation notices. See the migration guide for more information.

Full Changelog
Detailed changelog is available for the full list of changes.

Elite
PrimeFaces Elite has now been initiated for PF5, in two weeks time, we’ll start Elite Support for PF5 with the first 5.0.1 release while 4.0.x Elite support will continue.

New Showcase
A brand new showcase is being worked on, we hope to present it in 2-3 weeks time.

Roadmap
Next major community version would be 5.1 and our plan is to release is it in September 2014 after summer. Focus will be improving the quality and provide responsive design capabilities to the core components. Mobile development has two popular approaches, responsive vs separate page. PFM provides a solution for the separate page approach and with 5.1, PF core is planned to be optimised for responsive design.

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!