Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial



I just discovered PhoneGap, which i don't quite understand. Does PhoneGap enable me to just code an app in HTML, CSS and JS, so basically i don't need to learn Objective-C? This almost seems to good to be true, so what is the downside to this?

And if i can only use PhoneGap for some purposes, which purposes can i use it for? Just keep in mind, i have no experience with iOS developing, so i'm still trying to understand all this...

1 Answer

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

If you search for PhoneGap we've had this discussion several times. I guess it's time for me to write a blog post about it. The bottom line is that you can certainly build great applications using web technologies. PhoneGap is a native wrapper around your web app and gives you access to the device. You can use jQuery Mobile for the UI and wrap it using PhoneGap which provides access to several device capabilities.

It all depends on the kind of app you are writing. If you are creating a complex game then of course I recommend you build it natively. If you are writing a simple To Do app then PhoneGap serves really well. I would say 80% of apps can be written using web technologies and PhoneGap. Some features you can't write using PhoneGap would be: OpenGL Games that use the GPU, Turn-By-Turn directions, iCloud, Game Center, Subscriptions, local notifications, background services. The iOS SDK provides a lot of system services and features that are sometimes not available using PhoneGap.

PS. We are releasing a workshop on jQuery Mobile next week. If more people would like me to take the jQuery Mobile app and wrap it using PhoneGap then I might do another workshop on PhoneGap.

I would really appreciate if you did a workshop on PhoneGap, and would be a reason to stay at treehouse, as i have been considering Code School lately...

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

Will certainly look at doing the PhoneGap workshop.