Book Image

Ext JS Data-driven Application Design

By : Kazuhiro Kotsutsumi
Book Image

Ext JS Data-driven Application Design

By: Kazuhiro Kotsutsumi

Overview of this book

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.
Table of Contents (14 chapters)
Ext JS Data-driven Application Design
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Foreword

Ext JS Data-driven Application Design, by Kazuhiro Kotsutsumi, is a practical hands-on guide for both intermediate and expert JavaScript developers using Sencha's Ext JS 4.x framework.

This book is aimed at developers who not only want to learn how to develop a real-life desktop application that can read from and write to a database, but also want to see how to use the framework's advanced features they might not yet have heard of.

Kazuhiro begins describing the application development process by leading the reader through the database structure that the application will be using.

He continues by laying out the application structure using the MCV (model-view-controller) pattern—decoupling the UI, data, and business-logic—while detailing how to use Sencha's CLI tool Sencha CMD (Sencha Command) to help in that process.

He utilizes the framework's power by showing the reader how to use the advanced feature Ext Direct, describing in detail and with code examples what it is, how to add it, and how to use it in an application. He also brings in browser history support and again points out clearly how and why it can be used in an application.

Finally, after describing how to add and read database entries into the application and back to the server, he finishes his book explaining how to visualize the data in different charts and importing to or exporting from the database.

By using the carefully described features introduced in this book, you too can use this great architecture to build your own future applications.

Stefan Stölzle

Sr. Solutions Engineer - Professional Services

Sencha, Inc.

www.sencha.com