Instant PrimeFaces Starter [Instant]


This title is available as an eBook only
Instant PrimeFaces Starter [Instant]
eBook: $14.99
Formats: PDF, PacktLib, ePub and Mobi formats
$12.74
save 15%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Integrate Google Maps in your web application to show search results with markers and overlays with the PrimeFaces gmap component
  • Develop a customizable dashboard for your users that displays charts with live data, news feeds, and draggable widgets
  • Implement a live chat system that uses Prime Push to send updates to desktop and mobile users simultaneously
  • Create a mobile version of your web application that supports Android, iOS, and other platforms using the PrimeFaces Mobile toolkit
  • You can find the updated code bundle at - https://github.com/ianhlavats/primefaces-starter

Book Details

Language : English
eBook : 90 pages
Release Date : June 2013
ISBN : 1849519900
ISBN 13 : 9781849519908
Author(s) : Ian Hlavats
Topics and Technologies : All Books, Instant, Web Development, Open Source

Table of Contents

Instant PrimeFaces Starter
  • Instant PrimeFaces Starter
    • So, what is PrimeFaces?
    • Installation
      • Step 1 – Installing Eclipse
        • Installing Eclipse Marketplace
      • Step 2 – Installing Maven
      • Step 3 – Installing GlassFish
      • Step 4 – Installing Dreamweaver
      • Step 5 – Installing MySQL
      • Step 6 – Installing PrimeFaces
      • And that's it
    • Quick start – Implementing a sample project using PrimeFaces
      • Step 1 – Requirements
      • Step 2 – Architecture and Design
        • Application Architecture
        • Database Design
        • Information Architecture
        • User Interface Design
      • Step 3 – Implementation
        • Step 1 – Creating the Directory Structure
        • Step 2 – Creating the Facelets Template
        • Step 3 – Creating the Login Page
        • Step 4 – Implementing the LoginController Class
        • Step 5 – Deploying the web application
        • Step 6 – Opening the web application in the browser
    • Top 3 features you need to know about
      • User sign-up page
        • Sign-up controller implementation
        • Sign-up page creation
        • Dashboard page
        • Venues page
        • Venue selection for editing
        • Enhanced confirmation dialog
        • An editable select-one menu component
        • Shows page
        • Reviews page
        • JSF2 composite component with PrimeFaces
        • Chat feature with PrimeFaces Push
      • Chat room
        • Getting started with Prime Push
        • Opening a WebSocket communication channel
        • Use of a PrimeFaces socket component
        • Implementation of the chat room dialog for desktop web browsers
      • Show Times page
        • Adding the Google Maps component
        • Events search
      • Mobile UI with PrimeFaces Mobile
        • Search page
        • Login page
        • Member page
        • Dashboard page
        • Shows page
        • Chat room for mobile devices
    • People and places you should get to know
      • Official sites
      • Articles and tutorials
      • Community
      • Twitter

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.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 4 submitted: last submission 17 Oct 2013

Errata type: CODE | Page no: 6 | Errata upload date: July 25, 2013

m2eclipse-wtp should be replaced with m2e-wtp.

Errata type: CODE | Page no: 9  | Errata upload date: July 25, 2013

In POM JBoss Configuration we do not need JBoss repository.

Errata type: CODE | Page no: 8  | Errata upload date: October 17, 2013

The tag <artifactId>primefaces-webapp</artifactId> should match the project name.

It should be <artifactId>primefaces-starter</artifactId>

Errata type: CODE | Page no: 10  | Errata upload date: October 17, 2013

There is a missing closing tag in the code. Need </dependencies> at the end before </project>.

Sorry, there are currently no downloads available for this title.

Frequently bought together

Instant PrimeFaces Starter [Instant] +    PrimeFaces Cookbook =
50% Off
the second eBook
Price for both: $30.45

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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

In Detail

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.

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. Instant Primefaces Starter is a fast-paced, introductory guide designed to give you all the information you need to start using Primfaces, instantly.

Who this book is for

Instant PrimeFaces Starter is great for developers looking to get started quickly with PrimeFaces. It's assumed that you have some JSF experience already, as well as familiarity with other Java technologies such as CDI and JPA and an understanding of MVC principles, object-relational mapping (ORM), and dependency injection (DI). The sample application included with the book is fully functional and demonstrates how to use these technologies together with PrimeFaces.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software