2. What is Ext JS?
• A JavaScript Framework for RIA
• Developed and Supported Sencha Inc
• Started as extension to Yahoo's YUI
3. Features and Highlights
• Rich, Modern UI Widgets
• Layout Controls
• MVC Application Architecture
• Charts
• Data Package
• Cross Browser Support
4. Ext JS vs jQuery
Ext JS jQuery
• Not free for commercial • Free
• Competitively Smaller • Most famous, Huge
Community Community
• Inbuilt powerful UI widgets • Lacks complex UI elements
• RIA - Super Easy • RIA - Not Easy
• MVC Application • No MVC
Architecture
• Excellent Charts • No Charts
• Excellent Layout Controls • No Layout Controls
5. Ext JS vs jQuery
Ext JS jQuery
• Rich data management • No
• Little bit Longer Learning • Easy to Start
Curve
• Complete and Robust • Not that much
• Library Size More • Lightweight
• Easy Development and • Complex
Maintenance
• Good Code Readability • No
• Better Documentation and • Not Bad
Samples
6. Which one to use?
Ext JS jQuery
• Complex UI • Need to work with HTML
• Lots of Windows and you define
Section • Already have running
• Desktop Like application and only need
• Admin Web App some DOM manipulation
• Don’t want to use any • Need to some AJAX/JS
server side scripting tweaking to an existing UI
language or HTML
15. MVC
• Model is a collection of fields and their data. Models
know how to persist themselves through the data
package.
• View is any type of component - grids, trees and panels
are all views.
• Controllers are special places to put all of the code that
makes your app work - whether that's rendering
views, instantiating Models, or any other app logic.
– http://docs.sencha.com/ext-js/4-
1/#!/guide/application_architecture
– http://dev.sencha.com/deploy/ext-4.1.0-
gpl/examples/app/feed-viewer/feed-viewer.html
20. Communication Between Controllers
1. Add MyApp.app = this; in application
2. Declare a variable for controller in application
3. Set the controller variable declared in
application in init() function in conroller
4. Now you can call any controller easily using
MyApp.app.ContollerName.function()