Titanium, phonegap, sencha touch, jquery mobile-clearing up confusion

Source: Internet
Author: User
ArticleDirectory
    • A mobile web app is not the same as a mobile native app
    • Sencha touch and jquery mobile
    • Phonegap and Titanium

There's a lot of buzz with the new mobile Web frameworks and mobile platforms. there's also a lot of confusion and vague terms being thrown around that are causing people to misunderstand what each of these tools do. I hope to clear up some of the confusion with a few brief points.

A mobile web app is not the same as a mobile native app

A lot of people think that titanium and phonegap are in competition with sencha touch and jquery mobile. they aren't the same thing. i'm sure I'm going to get some comments on this but think of a mobile web app as a website. think of it as basecamphq.com or Twitter.com. A mobile web app runs in your browser. almost all of the app's resources are remote, stored on some server somewhere. sure there might be some local storage happening but at the end of the day it's a website application.

A native app runs on your device. all of it's resources are installed locally on your machine. A native app uses platform and language specific API's native to that device. you can't run nsstring in a mobile web app. A native app has access to local resources while a mobile web app cannot.

"So what's the difference between what's out there ?" Here's the difference:

Sencha touch and jquery mobile

These are mobile Web frameworks. you can use these technologies to create web-based, mobile apps. they don't have access to any native API's. both of these projects run in JavaScript. both projects have totally separate ways of tackling similar problems but they are similar in that they are for the mobile Web.

You can use sencha touch and jquery mobileInsideBoth phonegap and titanium. if you decide your HTML/JS is cool as a native app too, you can use either phonegap or titanium to wrap a browser around your app and put it in the app store or marketplace. this is where, I think, the confusion comes. putting your sencha touch or jquery mobile apps in a native wrapper doesn' t make it a native app. it makes it appear as if it is a native app. you might get some extra functionality from phonegap or titanium API's, but it's still not necessarily a 'native 'app. it's a web app running locally on the device. it's a great way to use web technologies inside a native-like area.

Phonegap and Titanium

phonegap and titanium are not similar to sencha touch and jquery mobile. in fact, I wocould go as far and say that phonegap and titanium aren't all that similar. both allow you to distribute native or native-like apps. both don't need to "build support" for sencha touch or jquery mobile. why? Because the devices they support come with browsers. remember, sencha touch and jquery mobile run in the browser. since both phonegap and titanium allow you to run things in a given device's browser, they already have support for sencha touch and jquery mobile.

The biggest difference with phonegap and titanium is what they offer. phonegap serves as a wrapper for the browser. it appears as if it's a native app but it's really an HTML/JavaScript app. titanium can do the exact same thing via "webviews" but titanium takes it a step further by offering a slew of native APIs for cocoa touch outside the browser. the two apps I have in the App Store are 95% non-web based.

In titanium you code in Javascript, using titanium's Unique API. the end result, at the app's runtime, is native performance, native UI's, etc. in simplest terms: You code in JavaScript and it ends up being objective-C (in the case of IOS Apps ).

I'm still skeptical of the "End of native" chant going around. after building apps for the browser and for the device I think that there is a lot of room for both to still exist together. understanding the differences of the technologies out there will help clear that up.

 

Http://beautyindesign.com/blog/titanium-phonegap-sencha-touch-jquery-mobile-clearing-up-confusion/

 

Http://mobile.51cto.com/hot-274040.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.