Effectively Using app.json File Generated By Sencha Cmd In ExtJS
I have tried searching in the forum, blog, documentation and learning resources but could not find a resource that describes how can we use app.json file in ExtJS 4.2 that was generated by Sencha Cmd. By default it has following JSON bits.
From there, we have no clue what are the other possible attributes that can go in this file and how are they going to affect development and build process. A detailed documentation will be great help.
Or at least a feature request should be added in Sencha Cmd to put various possible configuration options and their explanations in comments at the time of app.json file generation.
The app.js file will contain a skeletal implementation of an Ext.app.Application. You can check out the documentation here on how to configure the application itself.
Cmd will set up the folder structure and a few template files (controller and view) to get you started. For a great guide on how to continue setting up the application using the structure created by Cmd you might check out these guides:
The question was about app.json, not app.js.
Unfortunately there is really no documentation about using app.json with ExtJS.
After the application is generated I'd think you'd just build your app out (either starting with the generated files or with your own created files) and then compile the app. What are you looking to edit via a config file?
Thanks for the reply. I have gone through the MVC guides and other documentation listed above a dozen time and they were all great and very helpful. But as @farion mentioned above that the question was not about app.js but it was about the app.json file found in the root direction of an application generated by Sencha Cmd.
In fact this is the question, how to use that config file? Is this something useful (right now or in near future?) Is it just a redundant file that has no purpose in usual cases? Is it something that is being used when packaging application as native apps? If so then where are further details and documentation about it? :-)
Originally Posted by slemmon
Tags for this Thread