Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ext JS 4 Plugin and Extension Development

You're reading from   Ext JS 4 Plugin and Extension Development This book makes it fast and fun for ExtJS developers to get to grips with developing plugins and extensions. The step-by-step instructions, with plentiful examples and code, will give you the skills in no time.

Arrow left icon
Product type Paperback
Published in Sep 2013
Publisher Packt
ISBN-13 9781782163725
Length 116 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Abdullah Al Mohammad Abdullah Al Mohammad
Author Profile Icon Abdullah Al Mohammad
Abdullah Al Mohammad
Arrow right icon
View More author details
Toc

Preface

In this modern world of JavaScript, Ext JS offers a vast collection of cross-browser utilities, a great collection of UI widgets, charts, data object stores, and much more. When developing an application, we mostly look for the best support for the functionality and components that offer the framework. But we almost always face the situation when the framework does not have the specific functionality or component that we need. Fortunately, Ext JS has a powerful class system that makes it easy to extend an existing functionality or component, or to build new functionalities or components.

In this book, we start by providing a very clear concept of Ext JS plugins and extensions with examples, going through several Ext JS libraries and community-provided plugins and extensions and several hands-on developments of real-life, useful Ext JS plugins and extensions.

What this book covers

Chapter 1, Plugins and Extensions, introduces and defines the Ext JS plugins and extensions, the differences between them, and shows how to develop a plugin and an extension with examples.

Chapter 2, Ext JS-provided Plugins and Extensions, introduces some of the very useful and popular plugins and extensions available within the Ext JS library.

Chapter 3, Ext JS Community Extensions and Plugins, introduces some of the popular Ext JS community extensions and plugins.

Chapter 4, Labeled Spinner, goes through hands-on development of an Ext JS extension called Labeled spinner field. This chapter shows how we can extend the Ext.form.field.Spinner class, and add functionality so that this extension can show a configurable label beside the value within the spinner field and some more advanced features.

Chapter 5, Chart Downloader, goes through hands-on development of an Ext JS plugin, which will help to download a chart as an image. This plugin will generate a button that, when it is clicked, will perform the required functionality so that the plugin container's chart item can be downloaded as an image.

Chapter 6, Grid Search, goes through hands-on development of an Ext JS plugin, which will provide a search facility within a grid. This plugin was originally developed by Ing. Jozef Sakáloš and is a very useful and popular plugin. In this chapter, this plugin will be re-written for the Ext JS 4x Version.

Chapter 7, Input Field with ClearButton, goes through hands-on development of Stephen Friedrich's ClearButton plugin. This plugin is targeted for the text components that show a "clear" button over the text field. When the clear button is clicked, the text field is set to empty.

Chapter 8, Message Bar, goes through hands-on development of an Ext JS extension, which will be a fancy animated message bar. The message bar will provide the facility of having a configurable duration timer for showing the message, a close button, and also be able to customize the look, and can provide optional icons for different types of states such as valid or invalid, or information during runtime.

Chapter 9, Intuitive Multi-select Combobox, explores an excellent Ext JS extension, BoxSelect, which was originally developed by Kevin Vaughan. This extension is really very useful and provides a friendlier combobox for multiple selections, which creates easy and individually removable labels for each selection and lots more.

What you need for this book

The examples in this book use the Ext JS 4.1.3 SDK, available from the Ext JS website at http://www.sencha.com/products/extjs/download.

Who this book is for

The book is aimed at web application developers who are familiar with the basics of Ext JS and want to build custom Ext JS plugins and extensions. Experienced Ext JS developers can also increase their skills in the field of Ext JS plugins and extensions.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "we will extend the Ext.form.field.Spinner class which will add functionality".

A block of code is set as follows:

onSpinUp : function() {
  this.setValue(++this.value);
},

onSpinDown : function() {
  this.setValue(--this.value);
}

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "we can find the Get value button within the window".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image