Book Details

ISBN 139781849515184

Paperback366 pages

Book Description

Get ready to build the next generation Gmail, Facebook, or Meebo, with HTML5 and Server Push, taking advantage of the power and versatility of Java with ExtGWT. Sencha Ext GWT takes GWT to the next level, giving you high-performance widgets, feature-rich templates and layouts, advanced charting, data loaders and stores, accessibility, and much more.

ExtGWT Rich Internet Application Cookbook will teach you to quickly build stunning functionality into your own apps with ExtGWT.

This is a catalog of practical solutions to get your ExtGWT web app up and running in no time, with tips for persistence and best practices. You begin by playing with panels, windows, and tabs, to learn the essentials. Next, you engage yourself with forms, buttons, toolbars and menus to build on further. Dealing with the UI and the trees will follow to help you make stunning user interfaces. Then you will be taught to work with Listview, Views, and Gridpanels, the more complex problems. The book will then deal with charts, visualization, and drag and drop to take you to the next level. Finally, you will wind up with serialization, persistence, and custom theming. Now, you are an expert!

Table of Contents

Chapter 1: Playing with Panels and Windows

Introduction

Creating a basic window

Building windows that can be maximized, resized, dragged, and made modal

Creating dialog windows

Pre-empt users with messages

Building a window management system

Chapter 2: Playing Hide and Seek with Tabs

Introduction

Building tabbed content with custom tab icons

Creating bottom navigation tabs

Creating a tab panel with scrollable tab strip

Programmatically adding/removing a tab

Tab notification

Searching for, locating, and selecting a particular tab

Showing a tab strip for only two or more tabs

Chapter 3: Click-ware: Buttons, Toolbars, and Menus

Introduction

Creating buttons with text and icons

Aligning buttons

Creating on/off toggle buttons

Organizing actions with the menu and split buttons

Building a bar of tools

Crafting multi-column buttons in ToolBar

Binding a single action to several click-wares

Chapter 4: Crafting UI Real Estate

Introduction

Organizing navigation with AccordionLayout

Snapping components even when resized

UI cardinality with BorderLayout

Building a basic wizard with CardLayout

RowLayout vertical and horizontal aligning

Building grids with ColumnLayout

Building DashBoards

Chapter 5: Engaging Users with Forms and Data Input

Introduction

Building a simple form with basic validation

Showing options with combos

Customizing a combo's bound model

Linking combos

Capturing multiple input selection

Simple FileUpload and processing

Binding data into forms

Building a better slider field

Chapter 6: Data Hierarchy with Trees

Introduction

Building a basic tree

Custom node labels

Decorating trees with icons

Augmenting trees with ContextMenu

Building trees with checkbox selection

Building asynchronous trees

Custom sorting within trees

Chapter 7: The Venerable Grid Component

Introduction

Basic grid: numbered rows, re-orderable columns

Formatting cell data

Grouping column headers

Aggregating column data

Easy record selection with checkboxes

Entering validated data into a grid

Automatic pagination in grids

Data grouping in grids

Custom rendering for grid groups

Live data group summaries

BeanModel grid

Intuitive record filtering

Chapter 8: Templates and Views

Introduction

Formatting data with a basic template

Doing logic in templates

Doing math in templates

Custom ComboBox displays

Giving details with RowExpander

Chapter 9: Data Makeovers with Charts and Visualizations

Introduction

Using a bar chart

Using a pie chart

Using a line chart

Using an area chart

Visualizing data from a component

Visualizing remote Data

Drawing on a canvas

Chapter 10: Drag-and-drop

Introduction

Dragging any component

Simple DnD within components

DnD across components

DnD from desktop, with HTML5

Implementing custom DnD on tabs

Chapter 11: Advanced Tips

Introduction

Client/server persistence setup

Client/server persistence

A novel UI with MVP, actions, and a bus

History and view transitions

Real-time server push

Chapter 12: Theming

Introduction

Setting a default theme

Registering and using themes

Switching themes at runtime

Customizing a theme

Building a custom theme

What You Will Learn

Use ExtGWT’s very rich UI widgets

Create stunning UIs with several Layouts and Templates

Visualize data with beautiful and interactive Charts as well as third party visualization kits

Authors

Odili Charles Opute

Odili Charles Opute started his IT career with web technologies in 2003 after obtaining a degree in Computer Engineering from the University of Benin. Having successfully completed the Enterprise Java track in NIIT Benin, he joined Digitanx Systems in 2006 where he led Java and Mobile development. In 2007 he embraced the freelance game, consulting for several agencies and development shops while stretching his hands with other non-java technologies. He later moved to Port Harcourt city in late 2008 and joined XChequer, a vibrant startup hoping to change the mobile landscape in Africa with NFC solutions. Whilst in XChequer, he was responsible for cutting edge web solutions and lead the development of the NFC prototypes. He currently works with the University of Benin as one of the Webmasters, but with the specific responsibility of strategy, design, and development lead for the institution’s online presence.

Oded Nissan

Oded Nissan is a software architect working for leading companies in Israel as a Senior Software Architect. He has been working in the software industry for 18 years as a developer, architect, and development manager. He started working with Java technologies in 1999 and has worked with GWT for the past three years.
Oded has also worked as an instructor, teaching JEE technologies and the Spring framework. His interests include GWT, Android development, and software architecture.
Oded has an MBA in Information Systems from the Hebrew University in Jerusalem and a BA in Computer Science from the Open University in Israel.

Table of Contents

Chapter 1: Playing with Panels and Windows

Introduction

Creating a basic window

Building windows that can be maximized, resized, dragged, and made modal

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.