Deploy Sencha 4.2.1 with MVC 4 Web application - asp.net-mvc-4

I am creating a MVC4 web application and i am using sencha 4.2.1 library which i downloaded from sencha website. Library size is 300+ MB so i can not deploy this package to IIS. So please let me know how can i deploy website along with sencha to IIS.
Thanks,
Nishant

You don't need all of those files in your project.
This is the File Structure as described in the ExtJS Sencha tutorials.
For more details visit :
http://docs.sencha.com/extjs/4.2.2/#/guide/application_architecture

You should use Sencha CMD to build a minified single javascript file for deployment purposes.
http://docs.sencha.com/cmd/3.1.2/#!/guide/command

Related

Integrate Ionic Sass Customization in IBM Worklight

I want to integrate Ionic Sass Customization in IBM Worklight hybrid mobile application. can any one help , Not sure what are the dependencies to make this work. Ionic is really cool in customization of themes in IONIC Mobile Apps.
http://learn.ionicframework.com/videos/sass/
Thanks in advance.
Because Worklight/MFP does not support the Cordova CLI and Ionic deeply integrates their CLI with the Cordova CLI, the approach I believe you should take is:
Create a skeleton app in Worklight Studio, integrated with Ionic. You can look at the Starter Application (for MFP 6.3), that also has a version using Ionic.
Once you have that, you'll need to create an app purely with Ionic, and create the theme you like the most
Then you need to copy over the CSS files or their contents, whatever, to the Worklight/MFP project and manually integrate the two (references in the HEAD or the contents injected into the CSS files
Not a nice approach, but since there is no Worklight > Cordova CLI integrate, the process is not nice.

Minify all JavaScript Files in the Sencha App

I have a Sencha Application which contains Models, Controllers, Views etc. I need to minify all models, views, controllers, app Javascript file into a single JavaScript file. Any recommendation of tools on a Mac.
Sencha Cmd has an inbuilt function for this. Open up your command prompt, change into the root directory of your project and run:
sencha app build production
And it will generate a minified version of your app in YourApp/build/production/YourApp.
The answer is indeed sencha app build production
For a step by step here is an excellent blog post from Sencha
http://www.sencha.com/blog/getting-started-with-sencha-touch-2-build-a-weather-utility-app-part-1/
Its a three part blog post, you'll have fun following it, and in the third part it does make a build for production.
Here is a demo of how fast loads when is production build.
http://prosp-anonym111.rhcloud.com/simulador/build/production/reestructura/index.html
best regards

how to Deploy the sencha touch app to iOS app in windows7

I'm using sencha touch 2.2.1
I have doubt to config a sencha app to iOS app in windows7.
I already deployed the sencha touch app to android app its works well. My problem is I don't have MAC-OS. so, can I deploy sencha app to iOS app in windows7 alone with apple-ID, certificate path and key values in sencha config file.
pls anyone tell me thanks in advance...
This should work. Just set up a packager.json file as it is described here and use sencha app build native in your command line to build your native iOS app.
If it does not work you could use the PhoneGap-Cloud-Build-Service. You'll find information about how to set up cordova / phonegap in this video.
You will need to build all your apps in XCode 5 from February 1st which will require a mac.
source: https://developer.apple.com/ios7/
I saw this service yesterday which I haven't looked into myself, but may allow you to compile apps in the cloud using one of their macs, rather than have to buy one yourself at great cost : http://www.macincloud.com/

Packaging a sencha touch2 application on Blackberry10 webworks

How to package a sencha touch application on Blackberry10 webworks?
I am new to blackberry application development please help me out in packaging the application? i dont want to use phonegap as mediator for packaging sencha touch application in BB10
Here are instructions on how to build a Sencha Touch application for BlackBerry 10:
https://developer.blackberry.com/html5/documentation/creating_blackberry_webworks_applications_with_sencha_touch.html
Summary:
Use Sencha SDK to compile your app
Create a config.xml file
(necessary for WebWorks)
Package your application using the
BlackBerry 10 WebWorks SDK.

how to make phonegap build of sencha app to run on blackberry device

I develop a sencha touch application. Its working fine.
Now i want to deploy/ run this application on blackberry simulator.
i found many question related to this but i did not get what to do exactly.
Please someone help me how to do this?
How to make phonegap build of sencha application to run on blackberry simulator.
Thank's in advance.
Follow phonegap's instructions for setting up a blackberry environment.
Build your project and move the entire contents of the built directory into the same folder that phonegap normally puts its index.html.
Follow phonegap's blackberry build instructions.