What is the difference between xtype and alias?

extjs, sencha-touch-2

Solution

This is really confusing, even Sencha Touch developers team does not have a common opinion.

As far as I know, they design this merely for performance. `Alias` appears earlier than `xtype`, they create `xtype` config because if we don't have to parse the string to get the xtype like before, it's faster.

Anyway, things like `xtype`, `ptype`, `ltype` or most common, `alias` should be unified and clarified in next releases, said the dev team.

Problem

What is the difference between xtype and alias used in Sencha? They're both seem to be used as shorthand in different places.

Original source