Book Image

Ext JS Application Development Blueprints

Book Image

Ext JS Application Development Blueprints

Overview of this book

Table of Contents (18 chapters)
Ext JS Application Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Controlling the Web


Well here's a thing, this view has no corresponding view controller! In previous versions of Ext JS, we'd be listening for change events on the date fields and combo box, then grabbing the changed value and reloading the store with it.

In the brave new world of view models though, we don't need to do this. When a date field updates, it automatically updates the corresponding view model value, which in turn updates the store's filter.

We're already setting up the stores and the form components, so by adding an extra sprinkle of magic in the form of bind configurations, Ext JS will power all of this for us. This means less custom code for us to write, which can only be a good thing!