cherrun
cherrun

Reputation: 2142

Writing iPhone apps with PhoneGap, Appcelerator etc

I was dumbfounded today, when I read that Apple has allowed PhoneGap apps for quite some time now. How does PhoneGap work? Do all HTML5, CSS, and JS get converted into native Objective-C code? Or is it just a container with actual HTML code inside? Wouldn't that be a huge security risk?

Then again I'm wondering, if you can tell PhoneGap apps apart from XCode apps? If they run native code, I guess it should be as smoothly. So what are the limitations and how come not many people use it, or at least I haven't heard of many? After all Javascript is pretty powerful.

Upvotes: 2

Views: 602

Answers (1)

TMB
TMB

Reputation: 4703

PhoneGap does not get converted to native code. Other frameworks take this route.

Your HTML/CSS/JS are wrapped in a native wrapper, depending on the platform. This makes it far easier to port you to different platforms, including iOS, Android, BlackBerry, Palm, and Symbian. In my experience this is not the end of your problems, just a new set of problems.

Upvotes: 2

Related Questions