Free Sample
+ Collection

Ext JS Data-driven Application Design

Progressing
Kazuhiro Kotsutsumi

Learn how to build a user-friendly database in Ext JS using data from an existing database with this step-by-step tutorial. Takes you from first principles right through to implementation.
$20.99
$34.99
RRP $20.99
RRP $34.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782165446
Paperback162 pages

About This Book

  • Discover how to layout the application structure with MVC and Sencha Cmd
  • Learn to use Ext Direct during the application build process
  • Understand how to set up the history support in the browser

Who This Book Is For

If you are an intermediate in Sencha Ext JS, "Ext JS Data-driven Application Design" is the tutorial for you. You need to be familiar with JavaScript and have basic operational knowledge of MySQL. If you want to be able to systematically construct an application from the first step to implementation, this book will be useful for you.

Table of Contents

Chapter 1: Data Structure
The structure of the application – User, Customer, Quotation, Quotations, Bill, and Bills
The user
The customer
Quotation and Quotations
Bill and Bills
Creating and dealing with the customer structure tables
Creating each operation and testing
The Customers table
The Bill table
Summary
Chapter 2: Planning Application Design
Setting up Sencha Cmd and a local development environment
Creating controllers
Using Ext.util.History for directly accessing a screen
Setting up Ext Direct
Summary
Chapter 3: Data Input
Creating the login page
Creating the MyAccount form
Creating the Quotation form
Creating the Bill form
Managing dirty and undirty apps
The Quotation form
The Bill form
Implementing the read and write processes using Ext Direct
Reading data
Writing data and validations
Summary
Chapter 4: List and Search
Creating the Quotation list
Creating the Quotation model
Updating the Quotation view
Implementing the Quotation controller
Loading the grid and implementing toolbar buttons
Managing toolbar buttons depending on the grid selection's status
Using a search trigger field and a relation URL hash
Summary
Chapter 5: Reporting
Creating charts on dashboard
Creating a pie chart
Creating a bar chart
Creating a line chart
Creating a radar chart
Summary
Chapter 6: Data Management
Designing Import and Export
Summary

What You Will Learn

  • Understand an existing virtual company’s data structure, and make SQL and tables in MySQL
  • Develop the environment of the project while introducing Sencha Cmd and using Ext.util.History at the same time
  • Create a form to input data and transmit the data to a server via Ext Direct
  • Discover how to display data and create data searches
  • Implement a report that displays four different types of graph on the dashboard
  • Implement the data import/export process to restore or backup the data

In Detail

Sencha Ext JS is an industry leader for business-standard web application development. Ext JS is a leading JavaScript framework that comes with a myriad of components, APIs, and extensive documentation that you can harness to build powerful and interactive applications. Using Ext JS, you can quickly develop rich desktop web applications that are compatible with all major browsers.

This book will enable you to build databases using information from an existing database with Ext JS. It covers the MVC application architecture that enables development teams to work independently on one project. Additionally, the book teaches advanced charting capability, enabling developers to create state-of-the-art charts just once. These charts are compatible with major browsers without the need to rely on plugins.

This hands-on, practical guide will take you through the mechanics of building an application. In this instance, we will use this application to manage existing data structures in the form of a database.

You will begin by making SQL and tables in MySQL and will then move on to developing the project environment and introducing Sencha Cmd. You will learn to create a form to input data and monitor the state of the input, while seeing how Ext Direct will validate the form on the server side.

Finally, you will have a working application that is ready for you to customize to suit your needs. You can also use it as a template for any future projects when you need a similar database.

Authors

Read More