Sencha Ext JS in a Chrome App? - extjs

I'm using the latest version of Sencha Ext JS, version 4.2.2. I would like to build a Chrome App without using a sandbox frame as documented in Build Apps with Sencha Ext JS. Is there a patch/fork available to make Ext JS work in this more secure environment?
Just doing the Hello World with ext-dev.js from ext-4.2.2-commercial.zip, I get these errors.

Related

Onsen UI 2 with React and PhoneGap development environment

I want to develop a hybrid mobile app based on Onsen UI 2, and have selected React as the framework for it.
I'm also using the PhoneGap Build service to create the app files for Android and iOS.
I am having some difficulties understanding how I can get Onsen, React and the PhoneGap CLI to work in harmony in my development environment.
How I did it for now:
I tried downloading some Onsen & React 'hello world' apps to play around with, and I got to the point, where I managed to build the Onsen/Webpack/React-Hot-Reloading-Example and put the bundle.js file in a new/empty PhoneGap project.
From this, I can understand that I need to separately build the react app, and then copy the bundled app into the PhoneGap app folder.
This seems like a little hassle... shouldn't there be an easier way?

How to "watch" sencha build process?

I am working on a Ext JS project and I need to compile JSB3 file using Sencha build. I just wanted to know if there is a way to automate the build process. When I use "watch" Sencha Cmd shows it as unknown command.
I am using Sencha Cmd v6 and Ext Js 4.1.
You have to run sencha app watch in the application root folder. Now when you change anything in your project the build will be run automatically.
The other commands which can be interesting for your are sencha app build production and sencha app build testing
You can also use sencha help SomeCommand and it will print you all the options about that command.
You can learn more at http://docs.sencha.com/cmd/guides/extjs/cmd_app.html#extjs-_-cmd_app_-_development_mode
You looking for this i think
sencha app watch
sencha app refresh
sencha app build
these are cammands use to watch refresh and build a sencha application
for example::
if you are locally and using xampp
C:>cd xampp/htdocs/foldername/applicationname
and then sencha app watch

ExtJS Sencha Build getting ext SDK from remote/CDN location

I use ExtJS 5 and build my application using Sencha Cmd.
I have Sencha app generated inside my maven based webapp.
I would like to host the SDK on some CDN and still be able to use Sencha Cmd "sencha app build" etc. Is this possible? I need to trip down the size of my webapp.
Please guide.
Do not upload this folder to source control at all.
Instead, put a readme file to tell fellow developers (who will want to build the dev version of the app) how to install Sencha ExtJS and re-generate this ext folder on their side using this command:
cd <path_to_your_app_root>
sencha app upgrade <path_to_extjs_root_folder>
Other project stackholders (Testers, management, ...) should use the production version of the app.

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.

Source Code of Ext JS Examples

I saw some examples from a JavaScript library: Ext JS i.e.:
http://dev.sencha.com/deploy/ext-4.0.0/examples/feed-viewer/feed-viewer.html
I have some knowledge about JQuery developed some applications. How can I get sources of that examples to try them myself and what should I download to run them?
They are in the extjs package /ext-4.0.2a/examples/key-feed-viewer.
Download link:
http://www.sencha.com/products/extjs/download/ext-js-4.0.2/204
UPDATE.
Newest versions of Ext js for download are:
For Extjs version 4.2.0 you can download it here
Ext js 5 can download it here ( Ext js 5 has a trial period )

Resources