Sencha Touch 2 native build vs wrapping Sencha Touch 2 in Phonegap - mobile

I know there are a few questions pitting Sencha Touch 2 against Phonegap, and that is not what I mean to do here. I have been planning to build my Webapp using Sencha Touch 2 and wrapping it in Phonegap; but I just found out that Sencha Touch 2 also all allows you to build a native version of your web-app for Android and ios using there command line tool. Why haven't I heard much about this solution? What are the limitations with doing this? And what is better, using Sencha Touch 2's native build feature or going the Sencha Touch 2 + Phonegap route?

I'm guessing that Sencha Touch 2 native packaging will still be using UIWebViews (like PhoneGap) so the performance will be similar. Personally I would stick with PhoneGap/Cordova as it's a more mature product with a larger user base. You can still use the Sencha Touch 2 framework but still bundle/publish the app with xcode.

Related

how to build reponsiveApp example of extjs 5.0.1 using sencha cmd

How to build A RessponsiveApp Example of extjs 5.0.1 using cmd http://dev.sencha.com/ext/5.1.0/examples/responsive-app/index.html
Using Sencha Cmd, you can run sencha generate app to scaffold the basic application architecture.
You would then use various other commands (sencha app build, among others) to compile your app along the way, build your theme, etc.
The responsive design bits however are dependent on YOU -- you have to explicitly tell your app which parts need to be responsive, and more importantly, what they need to do in those situations. Check out the blog post and webinar from Sencha discussing this topic.

Ext Js 5.0.1 Dynamic Localization in sencha architect

How to implement dynamic localization in sencha architect Extjs 5.0. There is no working examples. I found multi-lang js for 5.0 but no idea how to start in sencha architect. Can some once help me?
http://dev.sencha.com/extjs/5.0.0/examples/locale/multi-lang.html
sencha localization extjs 5.0
In this article you can see how to localize our Sencha Touch based application. There are two aspects to this. One, you can see how to localize the Sencha Touch framework related messages, formats, etc. Second, you will see how to localize our application specific messages and formats.

For ExtJS apps, what are the pros and cons of Sencha Cmd, and alternatives for its various purposes?

I've started making changes to our app structure to make full use of the Sencha Cmd minification, theming, packaging, etc. capabilities.
But my manager wants me to consider what are the pros and cons of using Sencha Cmd, and what are the alternatives.
So for minification and obfuscation, rather than use Sencha Cmd, just use YUI Compressor directly.
For theming, is there any alternative, in terms of using the ExtJS 4.2 theming model but not build the theme with Sencha Cmd?
What else does Sencha Cmd offer that is a pro? What are the cons of using Sencha Cmd? What are the alternatives to using Sencha Cmd for the various things that must be done with an ExtJS app?
Finally, can I safely assume Sencha Cmd can be integrated into our existing build processes? We use Maven to compile Java for the back-end. Can Sencha Cmd also be executed in a completely hands-off, automated manner? Does Sencha Cmd itself need to be installed, or can its files just be added to the remote git repository, to remove the need for a dedicated build machine, so anyone can just pull from git and create a build?
Thanks very much in advance!
We are struggling with some of the same questions being a Maven shop as well. Our management has also decided to use the concept of Sencha Cmd Packages which are essentially re-usable libraries of ExtJS components you can build. Think of them as JARS you can version and store in a repository for others to use.
Sencha Cmd makes using packages easy but the hard part was we wanted to use Nexus as our repository manager. I found this post on how to do it...
http://www.ksmpartners.com/2014/03/sencha-package-management-using-sonatype-nexus/
But back to your question on why Sencha Cmd vs something else? Besides doing things the "sencha" way there is not much you coudln't do just with your Maven pom.xml file and some plugins to minify the JS etc. I think the only argument for using Sencha Cmd is that it's the Sencha recommended way and looks like it will be for the future so all the tutorials and future developers you bring on will be going through training using Sencha Cmd.
But I think you could be fine either way, it is really up to your gut.

Sencha app packaging to desktop application

I developed a sencha app and ported it to IOS and Android successfully.I need to build a desktop application from the same.I used sencha's packager and it was a success.Unfortunately it was a trial version.
I used Tide SDK but the sencha list UI is not perfect on scrolling.And store data is not getting sometime.
Can anyone suggest other opensource packagers to make my sencha app to desktop application.
Pls help me.I was looking this for long time.
Thanks in advance.
you can try intel's node-webkit, it is one of the other tools that people are switching to. it's open source.
https://github.com/rogerwang/node-webkit
Absolutely, try out Brackets shell. We use that to create desktop apps on Mac and Windows. The wiki explains how to build your apps nice and simple
https://github.com/adobe/brackets-shell
https://github.com/adobe/brackets-shell/wiki/Building-brackets-shell
have fun

Best program for making app for mobile (android, iphone and others)

i try for a few time now to make app for mobiles with appmobi XDK phoneGap XDK from appmobi, sencha and appcelerator but except iphone where the app works ok in android mobiles doesn't work well. Any other program except these or any tricks for make it work better in android and in others?
any help it will be very important
thanks
Actually i want to avoid that.I want to build for all mobiles together in the same time.That's why i used that programs. I don't known a lot of thinks and i am looking for a simple way to do that. I want a way which i can read about it on internet and i can find thinks because except jquery mobile i can't find for any other library. So did anyone known how i can find the best way that's my question.
thanks for your time and your answer.
Not sure why you're asking for a "program" and then referring to some technologies/tools (Appcelerator, PhoneGap, etc).
Anyways, I've been developing cross-platform mobile applications in the last few months using Appcelerator for almost everything. However, they technology you'll choose also depends on your needs.
There are three kinds of mobile development these days:
Native Mobile Development: Using Objective-C (language) + X-Code for iOS and Java (language) + Android SDK for Android, etc. You can always choose something like Appcelerator if you're targeting multiple platforms, as you mentioned earlier. Good for: Performance, Native capabilities (using the camera, for example). Recommended Tools: Titanium Appcelerator.
Mobile Web Development: If you have only web skills (HTML/CSS/JavaScript) you can always make your web application mobile-compatible, using tools like jQuery Mobile or Sencha Touch. Recommended Tools: jQuery Mobile, Sencha Touch.
Hybrid Mobile Development: Using web technologies for your application (you'll be loading a web page), but using a native application (a web wrapper) for making the application Native (and distributable) across the Play Market or AppStore. Recommended Tools: PhoneGap, Trigger.io, or you can even use Titanium Appcelerator and use a Web View Component
How you should take a decision?
Do you need native capabilities (use the camera, accelerometer, etc)? If you, you need to go either native or hybrid.
How many platforms do you plan to support? If it's only Android and iOS, then you can use either Appcelerator or make it native. If you're planning to support more platforms PhoneGap or a Web Application sounds more reliable.
Do you plan to deliver your application through the AppStore/Play Market? Then you need to make it native/hybrid.
Note/Recommendation: By reading your question I noticed that you're really confused on mobile and programming stuff. Before going so far, you should take some time in reading more about overall development.
Perhaps not exactly a program but what can be quite convinient(based on your application needs) is to make it a webapplication. Then you can use libraries such as Jquery mobile to adapt the website to the mobile platform as well as incorporate technologies only available on smartphones, such as swipe, orientationchange etc. Then you can make a simple Webviewer for androind and iphone which can be made seperately.
You can look at Kendo UI
kendo UI mobile have support for : iOS 3.0+, Android 2.0+ and BlackBerry touchscreen devices.
What i really liked about it is native-like UI experiences for end users automatically on same code base for different OS.
You can check demo , change OS using OS SIMULATOR MODE
I am not associated with Kendo.

Resources