facebook

Dynamic Pages PHP and ASP?

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

    conradvdp
    Member

    I am reading this post (http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=1147) and the dynamic code is written in PHP. Is ASP an option here? Or any other scripting languages or just PHP?

    -C

    #325875 Reply

    marcus123
    Member

    Hi,
    Do you have a very simple example of connecting to a SQL Server DB or Access DB using asp or asp/ajax?
    I have existing webpages using asp/ajax and want to do a quick test of how I can replicate this using asp or asp/ajax using mobione before I buy it?
    Thanks in advance.

    #325897 Reply

    marcus123
    Member

    Thanks for the reply,
    Yes I have asp pages on the server and I understand that I can use the mobione designer to build and run an asp page on the server but then that isn’t really an iPhone app that is just a we page formatted for the screen size.

    What I want to do is write the iPhone app using something like mobione and port to the iTunes store at the last minute via a Mac.

    So my question is around running the screen on the phone but then pulling data back into it from my Db on the web server – I don’t understand how that works with the .asp page running from the phone….
    Hope I haven’t rambled too much. I would think this is a standard issue for everyone who isn’t just building an iPhone game.

    Thanks

    #325913 Reply

    support-michael
    Keymaster

    @marcus123

    Thanks for the clarification.

    Some thoughts:
    For native app you should think in terms of web services where your app requests app data from web services hosted on your site. Unlike a webapp where the server returns a page containing data and the ui, you app will be mostly responsible for the UI and will request data from the web server via web services. Don’t let the web services topic scare you as they can be very simple if you use REST. Your app will contact the web service hosted on your server and receive back data, no UI. Then your app will programmatically integrate the data into the UI and render it.

    Data returned by your web service is traditionally in format of JSON, XML and even text. It can be HTML as well but that will probably get your app banned from the app store if that is your intended distro mechanism.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Dynamic Pages PHP and ASP?

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