Ext JS 3.0 Cookbook

I wrote the Ext JS 3.0 Cookbook to help you build rich internet applications using the Ext JS JavaScript library.  The book is packed with step-by-step recipes for building rich internet applications using the Ext JS JavaScript library. Each recipe is a carefully organized sequence of instructions to complete a task as efficiently as possible.

The Ext JS 3.0 Cookbook is for developers who want a book of useful techniques, with explanations, that they can refer to and adapt to their purposes.

Developers who are already familiar with Ext JS will find practical guidance and numerous examples covering most of the library’s features and components, that can be used as a solid foundation to build upon when creating rich internet applications.

Table of Contents

Chapter 1: DOM and Data Types, the Ext JS Way

Chapter 1 covers the Ext JS facilities for working with different browsers, the Document Object Model (DOM) and the Ext JS data types. Its recipes will teach you how to detect browsers and platfforms, manipulate the DOM, encode and decode JSON and URL data, and work with arrays, strings, numbers and dates. In this chapter you will also learn how augment the features of the Ext JS classes, as well as incorporate library features into your own JavaScript classes.

Chapter 2: Laying Out a Rich User Interface

In Chapter 2 you will learn how to use layouts to create user interfaces with the Ext JS widgets. This chapter explains the common uses of some of the library’s native layouts, and teaches you how to combine and augment these layouts to build great-looking and functional interfaces.

Chapter 3: Load, Validate, and Submit Forms

Chapter 3 focuses on forms processing. In this chapter you will find tips and techniques for effective field validation, details on how to load data into forms, as well as advice on how to use forms to upload files to the server. As in previous chapters, in Chapter 3 you will find examples of how to extend the library’s classes, in particular, how to create custom form fields.

Chapter 4: Fun with Combo Boxes and Date Fields

A continuation of the form fields recipes introduced in Chapter 3, Chapter 4 is loaded with examples of how to use the ComboBox and DateField form components. This chapter will teach you how to take advantage of ComboBox features like paging and item templates, as well as how to safely capture master-details and dates range input.

Chapter 5: Using Grid Panels to Display and Edit Tabular Data

The recipes in this chapter encompass the display of data using Ext JS grid panels. They explain different approaches to loading, editing and saving data, as well as how to implement features like grouping and group summaries. Chapter 5 uses techniques introduced in Chapter 3 to teach you how the Ext JS GridPanel widget can be enhanced through the use of plugins.

Chapter 6: More Applications of Grid and List Views

Chapter 6 expands on Chapter 5’s examples. It explains multiple ways to use the GridPanel widget to display master-details relationships, approaches to displaying tabular data more efficiently, and how to edit data with the new RowEditor class.

Chapter 7: Keeping Tabs on Your Trees

Chapter 7 explores the TabPanel and Treview widgets. Besides how to use their main features, in this chapter you will learn how to take advantage of plugins to enhance these widgets. This chapter also teaches you how to implement usage scenarios involving drag-and-drop and master-details displays with tree views and panels.

Chapter 8: Making Progress with Menus and Toolbars

Chapter 8’s recipes examine the commonly-used menu items, as well as the different ways to set up toolbars and progress bars in your applications.

Chapter 9: Well-charted Territory

The recipes in this chapter explain the typical usage scenarios of of the chart widget, as well as approaches to configuring and customizing the look of the slider widget.

Chapter 10: Patterns in Ext JS

In Chapter 10 you will find examples of some important design patterns used to build robust and flexible applications. These examples cover techniques such as resource management using lazy instantiation, prototyping and encapsulating using code modules and pre-configured classes, dependency management with publish/subscribe models, and state preservation.

What developers are saying about the Ext JS 3.0 Cookbook

Here’s a list of links to the reviews currently available:

How to obtain the book

You can order the book by visiting the Ext JS 3.0 Cookbook page at Packt Publishing.  The book is also available at Amazon.com.

Check out a free chapter here: Load, Validate, and Submit Forms using Ext JS.