Re: iOS Application influencing a running web app?
Re: iOS Application influencing a running web app?
- Subject: Re: iOS Application influencing a running web app?
- From: Pascal Bourguignon <email@hidden>
- Date: Fri, 23 Sep 2016 16:50:47 +0200
A web application has a bunch of urls, each connected to a different function. Define an url to set a parameter and connect it to the function that sets this parameter. Use this url only in the iOS application. You may want to use some authentication protocol to authorize the parameter setting, but this should be already provided by your web application framework.
--
__Pascal Bourguignon__
> Le 23 sept. 2016 à 16:46, Eric E. Dolecki <email@hidden> a écrit :
>
> Thanks for your reply. I'm not sure I'm following, though. Do you mean to send it query strings? I could make the HTML page of the app a PHP page. If that's what you meant.
>
> Eric
>
>> On Fri, Sep 23, 2016 at 10:42 AM Pascal Bourguignon <email@hidden> wrote:
>> Just write some http app on the laptop, and hit it with requests (urls) from the iOS app; this would be the Q&D way to do it easily and with some level of security (https).
>>
>> Since you already have a web app, you can just add some admin requests to it.
>> --
>> __Pascal Bourguignon__
>>
>> > Le 23 sept. 2016 à 16:27, Eric E. Dolecki <email@hidden> a écrit :
>> >
>> > I am going to have a web application running on a local laptop - which runs
>> > various a prototype of a user experience.
>> >
>> > I've been asked to add an iOS application to the mix, to control parameters
>> > in the running app on the laptop.
>> >
>> > What might be the best way to architect this type of set up (and also
>> > easiest)? Have the web app poll a file for contents - and have the iOS app
>> > talk to a PHP page with POSTs of values and write to that file - and have
>> > my app poll it? Sounds terrible. Some AJAX thing? I'd like to avoid a
>> > database if possible.
>> >
>> > Just throwing this out there. If it's too off-topic, please disregard this.
>> >
>> > Thanks,
>> > Eric
>> > _______________________________________________
>> >
>> > Cocoa-dev mailing list (email@hidden)
>> >
>> > Please do not post admin requests or moderator comments to the list.
>> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> >
>> > Help/Unsubscribe/Update your Subscription:
>> >
>> > This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden