facebook

Native App with php code?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #326979 Reply

    raptor25
    Member

    I know with a web app, if you include php code, you would need to upload to a server that has php. How would it work when you build a native app because the ipa files are created locally on the iphone. Would you have to link the php files on a remote server or how would that work? Or is it even possible for a native app?
    Thanks
    Rob

    #327016

    Hi Rob,

    If you intend to distribute your app via a public appstore then you native app should query your server for data-only. Then let the app render the data into its UI using JavaScript. This is the same model as the ajax document-centric webapp. It is possible to retrieve full UI screens from a remote server but that will get you banded by the appstore and may cause your users to be suspicious…

    #327039

    raptor25
    Member

    Ok. That makes sense. That’s what I would use it for, to query a database using php code and return values and have it displayed on the native app through Ajax.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Native App with php code?

You must be logged in to post in the forum log in