PhoneGap

6,185
-1

Published on

Published in: Technology, Education
0 Comments
12 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,185
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
569
Comments
0
Likes
12
Embeds 0
No embeds

No notes for slide

PhoneGap

  1. 1. What is PhoneGap The PhoneGap History Doncho Minkov Telerik Mobile Development Course mobiledevcourse.telerik.com Technical Trainer http://www.minkov.it
  2. 2. Table of Contents <ul><li>What is PhoneGap </li></ul><ul><li>How does it work? </li></ul><ul><li>PhoneGap + DW </li></ul><ul><li>Pros and Cons </li></ul><ul><li>Conclusion </li></ul>
  3. 3. What is PhoneGap? Multiplatform Development Framework
  4. 4. What is PhoneGap <ul><li>PhoneGap is an open-source mobile development framework </li></ul><ul><ul><li>Developed by Nitobi Software </li></ul></ul><ul><ul><li>Bought by Adobe </li></ul></ul><ul><li>Enables building of mobile device applications using JavaScript , HTML and CSS </li></ul><ul><ul><li>Ruby can be used as well </li></ul></ul><ul><ul><li>Instead of often less-known languages such as Objective-C </li></ul></ul>
  5. 5. PhoneGap Applications <ul><li>The PhoneGap applications are hybrid </li></ul><ul><ul><li>They are neither truly native nor purely web based </li></ul></ul><ul><ul><ul><li>All layout rendering is done via the web view instead of Objective-C </li></ul></ul></ul><ul><ul><ul><li>Much of the functions of HTML5 are supported </li></ul></ul></ul><ul><li>A disadvantage is that hybrid applications do not have full access to the device API </li></ul><ul><ul><li>Camera , compass , accelerometer , etc. </li></ul></ul>
  6. 6. Supported Platforms <ul><li>PhoneGap currently supports development for the following operating systems </li></ul><ul><ul><li>iOS , Android , webOS , Windows Mobile , Symbian OS and BlackBerry , Windows Phone 7 Mango </li></ul></ul><ul><ul><li>Bada support is &quot;coming soon&quot; </li></ul></ul><ul><ul><ul><li>The OS used by the Samsung Wave S8500 </li></ul></ul></ul>
  7. 7. How does it work? <ul><li>Build your app once with web-standards </li></ul><ul><ul><li>Based on HTML5 </li></ul></ul><ul><li>Wrap it up with PhoneGap </li></ul><ul><ul><li>Using the free open source framework or PhoneGap build </li></ul></ul><ul><ul><li>You can access the native APIs </li></ul></ul><ul><li>Deploy to multiple platforms </li></ul><ul><ul><li>Standards-based web technologies to bridge web applications and mobile devices </li></ul></ul>
  8. 8. Means of Development
  9. 9. Means of PhoneGap Development <ul><li>PhoneGap is just a library that you must include in your app </li></ul><ul><ul><li>Couple of JavaScript and xml files </li></ul></ul><ul><li>What is PhoneGap doing? </li></ul><ul><ul><li>PhoneGap generates a out-of-the-browser window that executes the HTML and JavaScript </li></ul></ul><ul><ul><li>Due to a couple of xml and jar/dll files it enables the usage of native APIs </li></ul></ul>
  10. 10. Where Can we Develop? <ul><li>Native IDE for the corresponding OS </li></ul><ul><ul><li>Eclipse, Xcode, Visual Studio, etc. </li></ul></ul><ul><ul><li>Abode launched a new version of Dreamweaver that integrates with PhoneGap </li></ul></ul><ul><ul><ul><li>Build the web site </li></ul></ul></ul><ul><ul><ul><li>Add the mobile SDKs </li></ul></ul></ul><ul><ul><ul><li>Say it is mobile app </li></ul></ul></ul><ul><ul><ul><li>Build and deploy </li></ul></ul></ul><ul><li>In both the concrete OS SDK must be present </li></ul>
  11. 11. Pros and Cons Of PhoneGap Development
  12. 12. Pros of PhoneGap Development <ul><li>HTML5, CSS and JavaScript skills vs. Objective-C, Java and C# </li></ul><ul><li>Single code base for all platforms </li></ul><ul><ul><li>iOS, Android, WP 7 Mango, mobile web </li></ul></ul><ul><li>You can take advantage of distribution and integrated payment </li></ul><ul><ul><li>Via the App Store or Android Market </li></ul></ul>
  13. 13. Cons of PhoneGap Development <ul><li>Poor performance </li></ul><ul><ul><li>If your app is graphically intense, i.e. a game. </li></ul></ul><ul><ul><li>Caching or leveraging some 3 rd party solutions may be implemented with native graphics </li></ul></ul><ul><ul><li>For the most part a native app is much faster/smoother than mobile web app </li></ul></ul>
  14. 14. Cons of PhoneGap Development (2) <ul><li>Lack of pre-built UI widgets, transitions, standard controls, etc. </li></ul><ul><ul><li>Your development time can take longer </li></ul></ul><ul><ul><ul><li>Especially if you want a polished-looking app with a native look and feel </li></ul></ul></ul>
  15. 15. Conclusion <ul><li>PhoneGap is a cross-platform mobile development framework </li></ul><ul><ul><li>Based on HTML5 and JavaScript </li></ul></ul><ul><ul><li>Using web standards </li></ul></ul><ul><li>PhoneGap is useful </li></ul><ul><ul><li>For creation of small apps </li></ul></ul><ul><ul><li>When there is a lack of human resources </li></ul></ul><ul><ul><ul><li>Need a single app deployed on many OS </li></ul></ul></ul><ul><li>Native app developments is always better! </li></ul>
  16. 16. PhoneGap
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×