ExtGWT Rich Internet Application Cookbook

ExtGWT Rich Internet Application Cookbook
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Take your ExtGWT web development skills to the next level
  • Create stunning UIs with several layouts and templates in a fast and simple manner
  • Enriched with code and screenshots for easy and quick grasp


Book Details

Language : English
Paperback : 366 pages [ 235mm x 191mm ]
Release Date : September 2012
ISBN : 1849515182
ISBN 13 : 9781849515184
Author(s) : Odili Charles Opute , Oded Nissan
Topics and Technologies : All Books, Web Development, Cookbooks, Java, Open Source

Table of Contents

Chapter 1: Playing with Panels and Windows
Chapter 2: Playing Hide and Seek with Tabs
Chapter 3: Click-ware: Buttons, Toolbars, and Menus
Chapter 4: Crafting UI Real Estate
Chapter 5: Engaging Users with Forms and Data Input
Chapter 6: Data Hierarchy with Trees
Chapter 7: The Venerable Grid Component
Chapter 8: Templates and Views
Chapter 9: Data Makeovers with Charts and Visualizations
Chapter 10: Drag-and-drop
Chapter 11: Advanced Tips
Chapter 12: Theming
Appendix A: Event Handling—Making Those GUIs Do Something
Appendix B: Custom Icons in GXT
Appendix C: GWT-RPC
Appendix D: Jakarta Commons–FileUpload
  • 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 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
                              • Appendix C: GWT-RPC
                                • Components of the GWT RPC mechanism
                                • GWT-RPC development steps
                                • RPC data types
                                • A simple example
                                • Handling exceptions
                                • Summary

                                  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.

                                  Code Downloads

                                  Download the code and support files for this book.

                                  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.

                                  Sample chapters

                                  You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                                  Frequently bought together

                                  ExtGWT Rich Internet Application Cookbook +    Web Penetration Testing with Kali Linux =
                                  50% Off
                                  the second eBook
                                  Price for both: £24.65

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

                                  What you will learn from this book

                                  • 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
                                  • Build and assemble Widgets that are bound to remote data
                                  • Create a custom theme or customize an existing one
                                  • Easily apply MVP, EventBus, Code Splitting, and other GWT best practices
                                  • Add Push functionality to your web apps with Comet
                                  • Start taking advantage of HTML5


                                  In Detail

                                  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!


                                  This is a fast paced and concise tutorial guide for ExtGWT with lucid and ready-to-use recipes. The screenshots and the code examples really make the book very comprehensive and interesting.

                                  Who this book is for

                                  This book is intended for the beginner/intermediate Java developer who wants to build really cool and powerful web apps using cutting edge Java technology and web standards. Knowledge of basic web technologies and a working GWT setup is needed. Basic knowledge of ExtGWT will be an advantage.

                                  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
                                  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