Sencha CMD for EXT JS (GPL - Version) - extjs

I used the EXT JS 6.2 (GPL) in combination with Sencha CMD 6.5 but encountered various problems.
Which Sencha CMD version do I need (is recommended) in order to properly work with EXT JS (GPL) version?

Related

Ext js and sencha cmd compatibility matrix

I have ext js 6.5 and sencha cmd 6.2. while trying to create an app with ext js sdk it fails. I would like to know which cmd version is compatible with ext js 6.5 sdk.
There is an outdated Cmd Compatibility Matrix in Sencha Cmd Guides. But, as you can observe from it, the minimum cmd version for Ext JS 5.1.0 is 5.1.0, which means that the previous 5.0.1 Cmd version is not working. There were quite some changes introduced in ExtJS 6.5 and it's not a surprise to me that it doesn't work with Cmd 6.2. You can easily upgrade Cmd by running: sencha upgrade.
If you have other projects that rely on older versions of Cmd (theoretically the latest version would be able to handle them), you can switch easily between versions.
First use the sencha which command that will display the active Cmd version.
Then you can use sencha switch --list command that will display all the version installed on your machine. After that you can easily switch to the required version by running sencha switch %version_number%.

Build Extjs 4.2 application without Ext Libraries

Is there is any way to build Extjs 4.2 application without including the Ext libraries. Till now I have used sencha cmd to generate and build my app. But now the Ext libraries are on server side and I have to build my application without including Ext libraries.
Can I do it using Sencha cmd or any other tool?
Kindly help.
I'm not entirely clear on what the problem is (Ext JS library being "on the server") but yes, you can build an Ext JS application without Sencha Cmd (example is for v5.1, but applies to all versions).
In order to use Sencha Cmd, you do need a copy of the SDK locally. I'm not sure why you can't simply copy it to your local machine (it should be checked into your SVN/Git/etc repo...), but you don't need Sencha Cmd to build a Sencha application.

Sencha CMD stable version

When I got into Sencha Touch world I started using Sencha CMD 5 along with Sencha Touch 2.3.1.
I However, I started to find the 5 versions not stable, they are running into many problems.
I am about to release my App and I am in need for a stable version in all aspects (Production, Native and Testing).
Would it be a good idea to use the latest CMD 4.0.4.84? Is it considered stable?
Yes, Sencha CMD 5 was built for Ext JS 5.
It is recommend to use Sencha Cmd 4.0.4.84 for Touch 2.3 projects.

How to know the version of sencha from the code

I got an existing old application and I am trying to customize the same. Since it is an old application built in Ext JS/Sencha, the version of Ext js i see from my web console is 1.1.1.
Ext.version gives 1.1.1 as the result. So how will i know which version of sencha it is ? like sencha 2.3.1 is the latest.
I am new to sencha and hence i am not sure about how to check the version and also how the Ext js version is related to sencha version.
I hope the latest Extjs version is 4.x series and sencha is 2.3.1.
So for my existing application , Ext js version is 1.1.1 and i need to know the sencha version of the same.
Please help.
Sencha is the company behind ExtJS and Sencha Touch. There is no version number for sencha.
If you are working with ExtJS (the desktop framework) the latest version is 4.2.2 and for Sencha Touch (the mobile version of the framework) the latest version is 2.3.1.
The latest version numbers are availible here: http://docs.sencha.com
Ext.version
is always the right attempt to get the version number, no matter if Sencha touch or ExtJS.
For the core you can try the following from the JS console:
Ext.versions.core.version
For other components just replace the word "core" in the previous command with the component name. e.g to get the "extjs" version you would type :
Ext.versions.extjs.version

I cannot find the Sencha Cmd in the sencha-touch-2.0.0-gpl file?

I can not find the Sencha Cmd in the sencha-touch-2.0.0-gpl file and SenchaSDKTools file. Can someone point it out to me, or is there a reason that it is not there?
Sencha Cmd is not provided with the framework. You need to download it separately
Also so you need to know that you Sencha Cmd does not work with Sencha Touch 2.0. It only works with Sencha Touch 2.1.0 and latest versions.
If you really don't want to upgrade to Sencha Touch 2.1 (which I don't recommend) then you need to use Sencha SDK Tools.
Download Sencha Cmd for Sencha Touch > 2.1.0 - Documentation
Download Sencha SDK Tools for Sencha Touch < 2.1.0 - Documentation

Resources