Book Details

ISBN 139781849519908

Paperback90 pages

Book Description

Developing great user interfaces for web applications has never been easier! PrimeFaces delivers a powerful set of features that enable JSF developers to deliver awesome user experiences on the Web. With more than 150 Ajax-enabled UI components, jQuery integration, a mobile UI toolkit, theme support, Ajax Push technology, and much more, PrimeFaces takes JSF application development to a whole new level!

Instant PrimeFaces Starter is a practical, hands-on guide to PrimeFaces that will show you how to get started quickly using PrimeFaces in your web applications and provides examples on how to design and develop compelling user interfaces using PrimeFaces Ajax UI components, PrimeFaces Mobile, and PrimeFaces Push.

Starting with the setup of your first PrimeFaces project in Eclipse, Instant PrimeFaces Starter will then take you through the process of designing and implementing the user interface of a social events web application that enables users to find fun things in their city. In this process you will learn a range of techniques for building innovative user interfaces with PrimeFaces UI components.

You will also learn how to build a mobile version of your web application using the PrimeFaces Mobile toolkit, leveraging the jQuery mobile library to extend your web application to Android, iOS, and other mobile platforms. Finally you will see how to build a live chat application with presence awareness that uses PrimeFaces Push technology to send updates to desktop and mobile users simultaneously.

Table of Contents

Chapter 1: Instant PrimeFaces Starter

So, what is PrimeFaces?

Installation

Quick start – Implementing a sample project using PrimeFaces

Top 3 features you need to know about

People and places you should get to know

What You Will Learn

Set up a new PrimeFaces project in Eclipse using Maven

Configure PrimeFaces in web.xml

Implement a login screen using PrimeFaces Ajax components and JSF2

Use PrimeFaces themes and jQuery ThemeRoller to change the look and feel

Implement a member signup form with CAPTCHA and password strength

Add PrimeFaces modal dialogs to improve user interaction

Work with PrimeFaces Ajax status indicators

Implement a search screen with the PrimeFaces Google Maps component

Develop a mobile version of the web application with PrimeFaces Mobile

Build a live chat feature using Prime Push to send updates to desktop and mobile browsers simultaneously

Authors

Ian Hlavats

Ian Hlavats is an experienced Java developer, instructor, speaker, and author of the book JSF 1.2 Components (Packt). He has worked for clients in government, insurance, and entertainment industries, writing Java applications using Swing, Struts, JSF2, PrimeFaces, jQuery, and other UI technologies. He has delivered Java courses in college and corporate training environments including a one-year engagement with Cognos/IBM.
He is on the JSF 2.2 Expert Group and contributed to the next generation of the JSF specification. A regular speaker at Java EE conferences, he has given presentations on JSF and PrimeFaces technologies since 2008 at JSF Summit, NFJS, and JAXConf in San Francisco. He is the creator of JSFToolbox for Dreamweaver, a suite of design and coding extensions for JSF developers. He co-hosts a podcast on JSF and Java EE technologies with fellow authors Kito D. Mann and Daniel Hinojosa. He holds a Bachelor of Humanities degree from Carleton University and IT certificates from Algonquin College.

Alerts & Offers

Series & Level

We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.

Learning

As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.

Beginner's Guide

Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.

Essentials

Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.

Cookbook

A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.

Blueprints

Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.

Mastering

Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.

Starting

Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.

Progressing

Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.