Contact us for free quote!
Talk with people that will actually build your site
Talk with people that will actually build your site
Learning ExtJS 4 can be a daunting task at first. As one should expect from a framework as diverse and as powerful as ExtJS 4.
ExtJS 4 is a MVC framework with strictly defined architecture.
You need to know:
Suggested reading:
When you create your ExtJS application you create many new files with your custom classes in them.
In order to use those classes you must include those JavaScript files into your index.html, right?
Wrong... With new Ext.Loader class its enough to name your class properly, and put it in correct folder.
After that you simply instantiate class by using Ext.create (be sure not to use new keyword) and Ext will load JavaScript file its in if its not already loaded.
You need to know:
Suggested reading:
You can write classes in pure JavaScript, but as we all know thats not exactly the OOP we used to from other languages.
ExtJS 4 tries to remedy this by introducing his way of creating and instantiating classes.
You need to know:
Suggested reading:
As in every MVC framework, central place where you write your business logic is a controller.
You need to know:
Suggested reading:
View is any class derived from Ext.Component, for example Ext.button.Button, Ext.panel.Panel etc.
You need to know:
Suggested reading:
ExtJS has incredible support for working with data. There is big "data" package with lot of classes.
Data can come from many different places... can be hard coded, come from server, local storage (HTML5), session, etc
Data can be in many different formats: JSON, XML.
You need to know:
Suggested reading:
ExtJS 4 uses Sass & Compass in order to create its themes.
That means you will use less CSS but produce much more impressive results.
You need to know:
Suggested reading: