This session will walk through some of the new features in Ext JS 5 and Sencha Architect 3.1, and demonstrate how to build a data-connected Ext JS 5 app using Sencha Architect.
Copyright Sencha Inc. 2014 12 EXT JS 5 | SUPPORTED PLATFORMS Safari 6+ Firefox IE 8+ Chrome Opera 12+ Safari on iOS 6+ Chrome on Android 4.1+ IE 10+ on Windows 8 Deliver apps on the widest selection of browsers and operating systems with a single code base. Ext JS 5 leverages HTML5 features on modern browsers while maintaining compatibility for legacy browsers
Copyright Sencha Inc. 2014 13 EXT JS 5 | NEW FEATURES Touch screen support New themes Widgets Touch charts VM+VC Architecture Two-way data binding Routing Data improvements Responsive config New Components
Copyright Sencha Inc. 2014 2007 2009 2011 22 EXT JS | A HISTORY OF INNOVATION Ext JS 2.0 Ext JS 3.0 Ext JS 4.0 Class System Dynamic Loading MVC Architecture
Copyright Sencha Inc. 2014 24 EXT JS 5 | MVC Controller Model View Are global Are created with the application Contain references to views Can become large Controllers in Ext JS 4 Ext JS 4.x Store
Copyright Sencha Inc. 2014 26 EXT JS 5 | VC+VM View Model Model View View Controller Separation of concerns More scalable and modular app development No need for controller references Enables two-way data binding VM + VC Ext JS 5.x Store
Copyright Sencha Inc. 2014 27 EXT JS 5 | TWO-WAY DATA BINDING Live synchronization between Views and View Models Save time and reduce errors by using less custom code Computed values and fields Two-way Data Binding View Model Compile Change to Model updates View View Template Change to View updates VM Continuous updates. Model is Single-Source-of-Truth
Copyright Sencha Inc. 2014 30 EXT JS 5 | ROUTING http://www.example.com/apps/stocks#aapl/01012014 Single Page App with unique URLs Translates your app’s URL into Controller Actions and Methods Enables deep linking and browser history support Routing
Copyright Sencha Inc. 2014 Merge of the data packages from Sencha Touch and Sencha Ext JS into a Sencha Core Package 31 EXT JS 5 | DATA PACKAGE IMPROVEMENTS Chained Stores allow multiple components, to use the same data store, but with different filtering, sorting or grouping defined. Schemas will improve model associations. The new Session class will help manage editing of multiple records and their associations.
Copyright Sencha Inc. 2014 32 EXT JS 5 | CHARTS Sencha Charts New touch-enabled charting package, Sencha Charts Separate Kitchen Sink for showcasing all the new Chart components Two charting packages initially Charts
Copyright Sencha Inc. 2014 33 EXT JS 5 | New Components New Dashboard component adds full support for portal layouts Resizable columns, column creation via drag/drop, and item persistence Dashboards Dashboard example
Copyright Sencha Inc. 2014 35 EXT JS 5 | WIDGETS A lightweight component that can be created with minimal overhead Can be used in Grids where multiple instances of components may need to be shown in each column’s cells Widgets Widget Grid example