Primefaces Theme Development
暫譯: Primefaces 主題開發

Andy Bailey, Sudheer Jonna

  • 出版商: Packt Publishing
  • 出版日期: 2015-10-30
  • 售價: $1,660
  • 貴賓價: 9.5$1,577
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Paperback
  • ISBN: 1783988681
  • ISBN-13: 9781783988686
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Create, package, and customize stunning themes using PrimeFaces

About This Book

  • Build PrimeFaces themes that meet the industry standards
  • Customize your themes for mobile web applications with PrimeFaces Mobile
  • A precise, example-oriented guide to help you create interesting themes using the PrimeFaces tools

Who This Book Is For

If you are a Web Designer who wants to create and modify PrimeFaces themes then this book is for you. Basic knowledge of JSF, CSS, and HTML is assumed.

What You Will Learn

  • Use Maven to create JSF Projects
  • Create a custom theme using JQuery UI tools
  • Package your theme for distribution and use your PrimeFaces-based web applications as drop in libraries
  • Develop additional dynamic look and feel elements that themes do not already supply
  • Apply look and feel elements dynamically to views without causing page refreshes
  • Reduce code repetition by applying page templates to your JSF project

In Detail

Developing stunning themes for web applications has never been easier! PrimeFaces delivers a powerful set of features that enables JSF developers to create and customize awesome themes on the web. It is very easy to use because it comes as a single JAR file and requires no mandatory XML configuration. With more than 30 out-of-the-box themes, jQuery integration, a mobile UI toolkit, Ajax Push technology, and much more, PrimeFaces takes JSF application development to a whole new level!

This book is a hands-on example-rich guide to creating and customizing PrimeFaces themes using available tools.

Beginning with creating a JSF project and integrating the PrimeFaces library, this book will introduce you to the features of theme components, how these are structured, and how PrimeFaces uses JQuery UI to apply a theme to your application. You will learn to examine and change the CSS rules and get creative by setting standard icons and adding new icons to them. You will use a combination of JavaScript and CSS to enhance your application with help of scheduler component and go on to adapt and package your custom theme so that it is compatible with the Resource Manager.

Finally, you will explore PrimeFaces mobile apps, ensuring themes are compatible with your mobile applications best practices for theme design.

Style and approach

This book is a concise, hands-on guide to developing PrimeFaces themes, working from the ground up with examples in each topic implemented in a web application. You will be encouraged to explore areas of your own interest without the requirement to stick to the letter of the chapter.

商品描述(中文翻譯)

使用 PrimeFaces 創建、打包和自訂驚豔的主題

本書介紹



  • 建立符合行業標準的 PrimeFaces 主題

  • 使用 PrimeFaces Mobile 為行動網頁應用程式自訂主題

  • 一本精確且以範例為導向的指南,幫助您使用 PrimeFaces 工具創建有趣的主題

本書適合誰閱讀


如果您是希望創建和修改 PrimeFaces 主題的網頁設計師,那麼這本書適合您。假設您具備基本的 JSF、CSS 和 HTML 知識。

您將學到什麼



  • 使用 Maven 創建 JSF 專案

  • 使用 JQuery UI 工具創建自訂主題

  • 打包您的主題以便分發,並將基於 PrimeFaces 的網頁應用程式作為即插即用的庫使用

  • 開發主題未提供的額外動態外觀元素

  • 動態應用外觀元素到視圖中,而不會導致頁面刷新

  • 通過將頁面模板應用於您的 JSF 專案來減少代碼重複

詳細內容


為網頁應用程式開發驚豔的主題從未如此簡單!PrimeFaces 提供了一套強大的功能,使 JSF 開發人員能夠在網頁上創建和自訂出色的主題。它非常易於使用,因為它以單一的 JAR 檔案形式提供,並且不需要強制的 XML 配置。擁有超過 30 種現成的主題、jQuery 整合、行動 UI 工具包、Ajax Push 技術等,PrimeFaces 將 JSF 應用程式開發提升到全新的水平!


這本書是一本實用的範例豐富指南,教您如何使用可用工具創建和自訂 PrimeFaces 主題。


本書從創建 JSF 專案和整合 PrimeFaces 函式庫開始,將介紹主題元件的特性、結構以及 PrimeFaces 如何使用 JQuery UI 將主題應用於您的應用程式。您將學會檢查和更改 CSS 規則,並通過設置標準圖示和添加新圖示來發揮創意。您將使用 JavaScript 和 CSS 的組合,利用排程元件增強您的應用程式,並進一步調整和打包您的自訂主題,以便與資源管理器兼容。


最後,您將探索 PrimeFaces 行動應用程式,確保主題與行動應用程式的最佳實踐相容。

風格與方法


這本書是一本簡明的實用指南,專注於開發 PrimeFaces 主題,從基礎開始,並在每個主題中提供實作範例。您將被鼓勵探索自己感興趣的領域,而不必拘泥於章節的字面內容。