Scott, Hybrid applications like you are describing can not use the server as the source of the HTML, CSS, and Javascript or apple will reject the app. The code must be included in the app sent to the store. Additionally, the app can not update itself from the web or it will be rejected. All apps submitted to the store must be complete. That is part of the developer agreement.
This is true for PhoneGap as well as the other hybrid app libraries, frameworks, and services. As to reasons for using it you missed one. You don't need to learn Objective-C. There are others as well but they depend on which product you choose to use. Some of these products have much more functionality built in than PhoneGap does. Lee On Apr 29, 10:49 pm, Scott Kallen <[email protected]> wrote: > Ah. OK, Jesse. That makes a ton of sense. > > So, a follow-up if you don't mind -- > > So are the primary advantages to PhoneGap over a completely web-based > solution 1) Saleable through the App store 2) Access to hardware > unavailable through Mobile Safari alone and 3) Performance of a native > app and not tied to connection speeds? > > Thanks again! > > Scott. > > On Apr 29, 2010, at 10:24 PM, Jesse MacFadyen wrote: > > > > > > > Phonegap can work either way, however it is not likely that apple > > will approve your app if it is just a website. > > > The typical iPhone phonegap app has all static ui images, markup, > > js, and css packaged on the phone. JavaScript can then interact with > > restful services via xhr, from servers delivering json or XML data. > > > Sent from my iPhone > > > On 2010-04-29, at 8:03 PM, Scott Kallen <[email protected]> > > wrote: > > >> Hey, folks. > > >> Just from lurking in the group, I'm learning tons so thanks! > > >> We're considering a combination of PhoneGap and JQTouch for our > >> project and there is a question that I'm not sure about and I > >> figure this is the place to ask it. > > >> When you create an app using PhoneGap, does it compile your HTML/JS > >> into it, making it static or does PhoneGap merely act as a > >> (greatly) enhanced browser, allowing you to update your app as > >> needed by changing the code on your server? > > >> Thanks in advance... > > >> Scott. > > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "iPhoneWebDev" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected] > >> . > >> For more options, visit this group > >> athttp://groups.google.com/group/iphonewebdev?hl=en > >> . > > > -- > > You received this message because you are subscribed to the Google > > Groups "iPhoneWebDev" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected] > > . > > For more options, visit this group > > athttp://groups.google.com/group/iphonewebdev?hl=en > > . > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
