Develop in style
Now that we're up and running with a Sencha Cmd-powered application, we can start to look at the ways Sencha Cmd can ease our ongoing development process. These range from generating application metadata to compiling theme files.
Here to serve – a website
A standard HTML web page can be run directly from your computer without requiring a web server. The browser just reads the files directly from your local drive. With the increasing popularity of JavaScript-based web applications, browsers have introduced a variety of security restrictions to prevent malicious sites from reading your local filesystem.
This causes issues with Ext JS because when developing, Ext.Loader
will dynamically load and parse the JavaScript files your application depends on from your application directory.
The best way to solve this issue is to simply run your code through a web server as the browser normally expects. Fortunately, to avoid having to configure a full-blown web server on your development...